NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
face-tx.c File Reference
#include "face-impl.h"
#include "../core/logger.h"
#include "../ndni/tlv-decoder.h"

Functions

 N_LOG_INIT (FaceTx)
uint16_t FaceTx_LinearOne (Face *face, int txThread, Packet *npkt, struct rte_mbuf *frames[LpMaxFragments])
 FaceTx_OutputFunc for PacketTxAlign.linearize==true with single-segment packet.
uint16_t FaceTx_ChainedOne (Face *face, int txThread, Packet *npkt, struct rte_mbuf *frames[LpMaxFragments])
 FaceTx_OutputFunc for PacketTxAlign.linearize==false with single-segment packet.
uint16_t FaceTx_LinearFrag (Face *face, int txThread, Packet *npkt, struct rte_mbuf *frames[LpMaxFragments])
 FaceTx_OutputFunc for PacketTxAlign.linearize==true with multi-segment packet.
uint16_t FaceTx_ChainedFrag (Face *face, int txThread, Packet *npkt, struct rte_mbuf *frames[LpMaxFragments])
 FaceTx_OutputFunc for PacketTxAlign.linearize==false with multi-segment packet.
 STATIC_ASSERT_FUNC_TYPE (FaceTx_OutputFunc, FaceTx_LinearOne)
 STATIC_ASSERT_FUNC_TYPE (FaceTx_OutputFunc, FaceTx_LinearFrag)
 STATIC_ASSERT_FUNC_TYPE (FaceTx_OutputFunc, FaceTx_ChainedOne)
 STATIC_ASSERT_FUNC_TYPE (FaceTx_OutputFunc, FaceTx_ChainedFrag)

Function Documentation

◆ FaceTx_ChainedFrag()

uint16_t FaceTx_ChainedFrag ( Face * face,
int txThread,
Packet * npkt,
struct rte_mbuf * frames[LpMaxFragments] )

FaceTx_OutputFunc for PacketTxAlign.linearize==false with multi-segment packet.

◆ FaceTx_ChainedOne()

uint16_t FaceTx_ChainedOne ( Face * face,
int txThread,
Packet * npkt,
struct rte_mbuf * frames[LpMaxFragments] )

FaceTx_OutputFunc for PacketTxAlign.linearize==false with single-segment packet.

◆ FaceTx_LinearFrag()

uint16_t FaceTx_LinearFrag ( Face * face,
int txThread,
Packet * npkt,
struct rte_mbuf * frames[LpMaxFragments] )

FaceTx_OutputFunc for PacketTxAlign.linearize==true with multi-segment packet.

◆ FaceTx_LinearOne()

uint16_t FaceTx_LinearOne ( Face * face,
int txThread,
Packet * npkt,
struct rte_mbuf * frames[LpMaxFragments] )

FaceTx_OutputFunc for PacketTxAlign.linearize==true with single-segment packet.

◆ N_LOG_INIT()

N_LOG_INIT ( FaceTx )

◆ STATIC_ASSERT_FUNC_TYPE() [1/4]

STATIC_ASSERT_FUNC_TYPE ( FaceTx_OutputFunc ,
FaceTx_ChainedFrag  )

◆ STATIC_ASSERT_FUNC_TYPE() [2/4]

STATIC_ASSERT_FUNC_TYPE ( FaceTx_OutputFunc ,
FaceTx_ChainedOne  )

◆ STATIC_ASSERT_FUNC_TYPE() [3/4]

STATIC_ASSERT_FUNC_TYPE ( FaceTx_OutputFunc ,
FaceTx_LinearFrag  )

◆ STATIC_ASSERT_FUNC_TYPE() [4/4]

STATIC_ASSERT_FUNC_TYPE ( FaceTx_OutputFunc ,
FaceTx_LinearOne  )