| rte_node_ip4_api.h(3) | Library Functions Manual | rte_node_ip4_api.h(3) |
rte_node_ip4_api.h
#include <rte_common.h>
#include <rte_compat.h>
#include <rte_graph.h>
struct rte_node_ip4_reassembly_cfg
enum rte_node_ip4_lookup_next {
RTE_NODE_IP4_LOOKUP_NEXT_REWRITE,
RTE_NODE_IP4_LOOKUP_NEXT_IP4_LOCAL,
RTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP }
enum rte_node_ip4_local_next {
RTE_NODE_IP4_LOCAL_NEXT_UDP4_INPUT,
RTE_NODE_IP4_LOCAL_NEXT_PKT_DROP }
enum rte_node_ip4_reassembly_next {
RTE_NODE_IP4_REASSEMBLY_NEXT_PKT_DROP }
int rte_node_ip4_route_add (uint32_t ip, uint8_t depth,
uint16_t next_hop, enum rte_node_ip4_lookup_next next_node)
int rte_node_ip4_rewrite_add (uint16_t next_hop, uint8_t *rewrite_data,
uint8_t rewrite_len, uint16_t dst_port)
__rte_experimental int rte_node_ip4_reassembly_configure (struct
rte_node_ip4_reassembly_cfg *cfg, uint16_t cnt)
Warning
This API allows to do control path functions of ip4_* nodes like ip4_lookup, ip4_rewrite.
Definition in file rte_node_ip4_api.h.
IP4 lookup next nodes.
Enumerator
Definition at line 30 of file rte_node_ip4_api.h.
IP4 Local next nodes.
Enumerator
Definition at line 42 of file rte_node_ip4_api.h.
IP4 reassembly next nodes.
Enumerator
Definition at line 52 of file rte_node_ip4_api.h.
Add ipv4 route to lookup table.
Parameters
Returns
Add a next hop's rewrite data.
Parameters
Returns
Add reassembly node configuration data.
Parameters
Returns
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |