CNDP  22.08.0
eth_node_api.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2021-2022 Intel Corporation
3  * Copyright (c) 2020 Marvell International Ltd.
4  */
5 
6 #ifndef __INCLUDE_ETH_NODE_API_H__
7 #define __INCLUDE_ETH_NODE_API_H__
8 
16 #include <cne_common.h>
17 #include <mempool.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
27  uint16_t port_id;
28 };
29 
43 CNDP_API int cnet_eth_node_config(struct pkt_eth_node_config *cfg, uint16_t cnt);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* __INCLUDE_ETH_NODE_API_H__ */
CNDP_API int cnet_eth_node_config(struct pkt_eth_node_config *cfg, uint16_t cnt)