DPDK 25.03.0-rc0
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#include <rte_common.h>
19#include <rte_compat.h>
20
21#include <rte_graph.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
33 RTE_NODE_IP4_LOOKUP_NEXT_IP4_LOCAL,
37};
38
47};
48
55};
56
62 struct rte_ip_frag_tbl *tbl;
68};
69
85int 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
103int 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:41
rte_node_ip4_local_next
@ RTE_NODE_IP4_LOCAL_NEXT_PKT_DROP
@ RTE_NODE_IP4_LOCAL_NEXT_UDP4_INPUT
__rte_experimental int rte_node_ip4_reassembly_configure(struct rte_node_ip4_reassembly_cfg *cfg, uint16_t cnt)
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_node_ip4_lookup_next
@ RTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP
@ RTE_NODE_IP4_LOOKUP_NEXT_REWRITE
rte_node_ip4_reassembly_next
@ RTE_NODE_IP4_REASSEMBLY_NEXT_PKT_DROP
int rte_node_ip4_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data, uint8_t rewrite_len, uint16_t dst_port)
struct rte_ip_frag_tbl * tbl
struct rte_ip_frag_death_row * dr