DPDK
24.11.4
Toggle main menu visibility
Loading...
Searching...
No Matches
rte_node_ip6_api.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(C) 2023 Marvell.
3
*/
4
5
#ifndef __INCLUDE_RTE_NODE_IP6_API_H__
6
#define __INCLUDE_RTE_NODE_IP6_API_H__
7
18
#include <
rte_common.h
>
19
#include <rte_compat.h>
20
#include <
rte_ip6.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
29
enum
rte_node_ip6_lookup_next
{
30
RTE_NODE_IP6_LOOKUP_NEXT_REWRITE
,
32
RTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP
,
34
};
35
51
__rte_experimental
52
int
rte_node_ip6_route_add
(
const
struct
rte_ipv6_addr
*ip, uint8_t depth, uint16_t next_hop,
53
enum
rte_node_ip6_lookup_next
next_node);
54
70
__rte_experimental
71
int
rte_node_ip6_rewrite_add
(uint16_t next_hop, uint8_t *rewrite_data,
72
uint8_t rewrite_len, uint16_t dst_port);
73
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* __INCLUDE_RTE_NODE_IP6_API_H__ */
rte_common.h
rte_ip6.h
rte_node_ip6_route_add
__rte_experimental int rte_node_ip6_route_add(const struct rte_ipv6_addr *ip, uint8_t depth, uint16_t next_hop, enum rte_node_ip6_lookup_next next_node)
rte_node_ip6_lookup_next
rte_node_ip6_lookup_next
Definition
rte_node_ip6_api.h:29
RTE_NODE_IP6_LOOKUP_NEXT_REWRITE
@ RTE_NODE_IP6_LOOKUP_NEXT_REWRITE
Definition
rte_node_ip6_api.h:30
RTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP
@ RTE_NODE_IP6_LOOKUP_NEXT_PKT_DROP
Definition
rte_node_ip6_api.h:32
rte_node_ip6_rewrite_add
__rte_experimental int rte_node_ip6_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data, uint8_t rewrite_len, uint16_t dst_port)
rte_ipv6_addr
Definition
rte_ip6.h:53
lib
node
rte_node_ip6_api.h
Generated by
1.17.0