NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
common.h
Go to the documentation of this file.
1 #ifndef NDNDPDK_NDNI_COMMON_H
2 #define NDNDPDK_NDNI_COMMON_H
3 
6 #include "../dpdk/cryptodev.h"
7 #include "../dpdk/mbuf.h"
8 #include "an.h"
9 #include "enum.h"
10 
11 typedef struct Packet Packet;
12 typedef struct PInterest PInterest;
13 typedef struct PData PData;
14 typedef struct PNack PNack;
15 
17 typedef struct PacketMempools {
18  struct rte_mempool* packet;
19  struct rte_mempool* indirect;
20  struct rte_mempool* header;
22 
35 typedef struct PacketTxAlign {
38 
40  bool linearize;
42 
43 #endif // NDNDPDK_NDNI_COMMON_H
struct PacketMempools PacketMempools
Mempools for packet modification.
struct Packet Packet
Definition: common.h:11
struct PacketTxAlign PacketTxAlign
mbuf alignment requirements for encoding or packet modification.
Parsed Data packet.
Definition: data.h:9
Parsed Interest packet.
Definition: interest.h:9
Parsed Nack packet.
Definition: nack.h:19
Mempools for packet modification.
Definition: common.h:17
struct rte_mempool * header
Definition: common.h:20
struct rte_mempool * packet
Definition: common.h:18
struct rte_mempool * indirect
Definition: common.h:19
mbuf alignment requirements for encoding or packet modification.
Definition: common.h:35
uint16_t fragmentPayloadSize
Max payload size per fragment.
Definition: common.h:37
bool linearize
Whether packet must be linearized into contiguous mbufs.
Definition: common.h:40