API Reference Manual  1.45.0
api/abi-default/packet_io_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Linaro Limited
3  * Copyright (c) 2020-2023 Nokia
4  */
5 
12 #ifndef ODP_ABI_PACKET_IO_TYPES_H_
13 #define ODP_ABI_PACKET_IO_TYPES_H_
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <odp/api/std_types.h>
20 
22 typedef struct { char dummy; } _odp_abi_pktio_t;
23 
25 typedef struct { char dummy; } _odp_abi_lso_profile_t;
26 
33 
35 typedef struct odp_pktin_queue_t {
37  int index;
39 
41 typedef struct odp_pktout_queue_t {
43  int index;
45 
46 #define ODP_PKTIO_INVALID ((odp_pktio_t)0)
47 #define ODP_LSO_PROFILE_INVALID ((odp_lso_profile_t)0)
48 
49 #define ODP_PKTIO_MAX_INDEX 63
50 
51 #define ODP_PKTIO_MACADDR_MAXSIZE 16
52 
53 #define ODP_PKTIN_NO_WAIT 0
54 
55 #define ODP_PKTIN_MAX_QUEUES 64
56 
57 #define ODP_PKTOUT_MAX_QUEUES 64
58 
59 #define ODP_PKTIO_STATS_EXTRA_NAME_LEN 64
60 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif
Standard C language types and definitions for ODP.
_odp_abi_lso_profile_t * odp_lso_profile_t
LSO profile handle.
struct odp_pktin_queue_t odp_pktin_queue_t
Direct packet input queue handle.
_odp_abi_pktio_t * odp_pktio_t
Packet IO handle.
struct odp_pktout_queue_t odp_pktout_queue_t
Direct packet output queue handle.