NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1#ifndef NDNDPDK_NDNI_COMMON_H
2#define NDNDPDK_NDNI_COMMON_H
3
5
6#include "../dpdk/cryptodev.h"
7#include "../dpdk/mbuf.h"
8#include "an.h"
9#include "enum.h"
10
11typedef struct Packet Packet;
12typedef struct PInterest PInterest;
13typedef struct PData PData;
14typedef struct PNack PNack;
15
17typedef struct PacketMempools {
18 struct rte_mempool* packet;
19 struct rte_mempool* indirect;
20 struct rte_mempool* header;
22
42
43#endif // NDNDPDK_NDNI_COMMON_H
struct Packet Packet
Definition common.h:11
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