1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
5 #ifndef __INCLUDE_RTE_NODE_IP4_API_H__
6 #define __INCLUDE_RTE_NODE_IP4_API_H__
9 * @file rte_node_ip4_api.h
12 * @b EXPERIMENTAL: this API may change without prior notice
14 * This API allows to do control path functions of ip4_* nodes
15 * like ip4_lookup, ip4_rewrite.
22 #include <rte_common.h>
25 * IP4 lookup next nodes.
27 enum rte_node_ip4_lookup_next {
28 RTE_NODE_IP4_LOOKUP_NEXT_REWRITE,
30 RTE_NODE_IP4_LOOKUP_NEXT_PKT_DROP,
31 /**< Packet drop node. */
32 RTE_NODE_IP4_LOOKUP_NEXT_MAX,
33 /**< Number of next nodes of lookup node. */
40 #endif /* __INCLUDE_RTE_NODE_IP4_API_H__ */