DPDK  24.03.0
rte_node_ip4_api.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2020 Marvell International Ltd.
3  */
4 
5 #ifndef __INCLUDE_RTE_NODE_IP4_API_H__
6 #define __INCLUDE_RTE_NODE_IP4_API_H__
7 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include <rte_common.h>
23 #include <rte_compat.h>
24 
25 #include <rte_graph.h>
26 
33  RTE_NODE_IP4_LOOKUP_NEXT_IP4_LOCAL,
37 };
38 
47 };
48 
55 };
56 
62  struct rte_ip_frag_tbl *tbl;
68 };
69 
85 int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop,
86  enum rte_node_ip4_lookup_next next_node);
87 
103 int rte_node_ip4_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data,
104  uint8_t rewrite_len, uint16_t dst_port);
105 
117 __rte_experimental
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
124 #endif /* __INCLUDE_RTE_NODE_IP4_API_H__ */
uint32_t rte_node_t
Definition: rte_graph.h:40
int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop, enum rte_node_ip4_lookup_next next_node)
__rte_experimental int rte_node_ip4_reassembly_configure(struct rte_node_ip4_reassembly_cfg *cfg, uint16_t cnt)
struct rte_ip_frag_death_row * dr
rte_node_ip4_lookup_next
rte_node_ip4_local_next
struct rte_ip_frag_tbl * tbl
rte_node_ip4_reassembly_next
int rte_node_ip4_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data, uint8_t rewrite_len, uint16_t dst_port)