Blog
Community
Development
Documentation
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
26
struct
pkt_eth_node_config
{
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__ */
cne_common.h
cnet_eth_node_config
CNDP_API int cnet_eth_node_config(struct pkt_eth_node_config *cfg, uint16_t cnt)
mempool.h
pkt_eth_node_config
Definition:
eth_node_api.h:26
pkt_eth_node_config::port_id
uint16_t port_id
Definition:
eth_node_api.h:27
lib
cnet
eth
eth_node_api.h
Generated by
1.9.1