File: rte_node_pkt_cls_api.h

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (39 lines) | stat: -rw-r--r-- 799 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(C) 2025 Marvell.
 */

#ifndef __INCLUDE_RTE_NODE_PKT_CLS_API_H__
#define __INCLUDE_RTE_NODE_PKT_CLS_API_H__

/**
 * @file rte_node_pkt_cls_api.h
 *
 * @warning
 * @b EXPERIMENTAL:
 * All functions in this file may be changed or removed without prior notice.
 *
 * This API allows to do control path functions of pkt_cls node.
 */

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Packet classification (pkt_cls) next nodes.
 */

enum rte_node_pkt_cls_next {
	RTE_NODE_PKT_CLS_NEXT_PKT_DROP,
	RTE_NODE_PKT_CLS_NEXT_IP4_LOOKUP,
	RTE_NODE_PKT_CLS_NEXT_IP6_LOOKUP,
	RTE_NODE_PKT_CLS_NEXT_IP4_LOOKUP_FIB,
	RTE_NODE_PKT_CLS_NEXT_IP6_LOOKUP_FIB,
	RTE_NODE_PKT_CLS_NEXT_MAX,
};

#ifdef __cplusplus
}
#endif

#endif /* __INCLUDE_RTE_NODE_PKT_CLS_API_H__ */