DPDK  24.07.0
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 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include <rte_common.h>
23 #include <rte_compat.h>
24 
33 };
34 
50 __rte_experimental
51 int rte_node_ip6_route_add(const uint8_t *ip, uint8_t depth, uint16_t next_hop,
52  enum rte_node_ip6_lookup_next next_node);
53 
69 __rte_experimental
70 int rte_node_ip6_rewrite_add(uint16_t next_hop, uint8_t *rewrite_data,
71  uint8_t rewrite_len, uint16_t dst_port);
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif /* __INCLUDE_RTE_NODE_IP6_API_H__ */
__rte_experimental int rte_node_ip6_route_add(const uint8_t *ip, uint8_t depth, uint16_t next_hop, enum rte_node_ip6_lookup_next next_node)
__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_node_ip6_lookup_next