CNDP 22.08.0
Loading...
Searching...
No Matches
cnet_node_names.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2022 Intel Corporation
3 */
4
5#ifndef __CNET_NODE_NAMES_H
6#define __CNET_NODE_NAMES_H
7
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17/*
18 * Names of all the graph nodes in the CNET stack to eliminate unnecessary
19 * constant strings that need to be managed by the developer in all of the
20 * node files.
21 */
22#define ARP_REQUEST_NODE_NAME "arp_request"
23#define CHNL_CALLBACK_NODE_NAME "chnl_callback"
24#define CHNL_RECV_NODE_NAME "chnl_recv"
25#define CHNL_SEND_NODE_NAME "chnl_send"
26#define ETH_RX_NODE_NAME "eth_rx"
27#define ETH_TX_NODE_NAME "eth_tx"
28#define GTPU_INPUT_NODE_NAME "gtpu_input"
29#define IP4_FORWARD_NODE_NAME "ip4_forward"
30#define IP4_INPUT_NODE_NAME "ip4_input"
31#define IP4_OUTPUT_NODE_NAME "ip4_output"
32#define IP4_PROTO_NODE_NAME "ip4_proto"
33#define KERNEL_RECV_NODE_NAME "kernel_recv"
34#define NULL_NODE_NAME "null"
35#define PKT_DROP_NODE_NAME "pkt_drop"
36#define PTYPE_NODE_NAME "ptype"
37#define PUNT_KERNEL_NODE_NAME "punt_kernel"
38#define TCP_INPUT_NODE_NAME "tcp_input"
39#define TCP_OUTPUT_NODE_NAME "tcp_output"
40#define UDP_INPUT_NODE_NAME "udp_input"
41#define UDP_OUTPUT_NODE_NAME "udp_output"
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* __CNET_NODE_NAMES_H */