NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs
common.h File Reference
#include "../dpdk/cryptodev.h"
#include "../dpdk/mbuf.h"
#include "an.h"
#include "enum.h"

Go to the source code of this file.

Data Structures

struct  PacketMempools
 Mempools for packet modification. More...
 
struct  PacketTxAlign
 mbuf alignment requirements for encoding or packet modification. More...
 

Typedefs

typedef struct Packet Packet
 
typedef struct PInterest PInterest
 
typedef struct PData PData
 
typedef struct PNack PNack
 
typedef struct PacketMempools PacketMempools
 Mempools for packet modification. More...
 
typedef struct PacketTxAlign PacketTxAlign
 mbuf alignment requirements for encoding or packet modification. More...
 

Typedef Documentation

◆ Packet

typedef struct Packet Packet

◆ PacketMempools

Mempools for packet modification.

◆ PacketTxAlign

typedef struct PacketTxAlign PacketTxAlign

mbuf alignment requirements for encoding or packet modification.

If linearize is set to true, encoders should output direct mbufs, copying payload when necessary. Each mbuf should have at least RTE_PKTMBUF_HEADROOM+LpHeaderHeadroom headroom and its data_len cannot exceed fragmentPayloadSize . FaceTx will prepend NDNLPv2 headers to each mbuf and transmit it as a NDNLPv2 fragment.

If linearize is set to false, encoders may use a mix of direct and indirect mbufs with arbitrary boundaries. FaceTx will perform fragmentation as needed. fragmentPayloadSize is ignored.

◆ PData

typedef struct PData PData

◆ PInterest

typedef struct PInterest PInterest

◆ PNack

typedef struct PNack PNack