NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
input-demux.h File Reference
#include "../ndt/ndt.h"
#include "faceid.h"
#include "pktqueue.h"

Go to the source code of this file.

Data Structures

struct  InputDemuxDest
 Destination of input packet demultiplexer. More...
struct  InputDemux
 Input packet demultiplexer for a single packet type. More...

Typedefs

typedef enum __rte_packed_begin InputDemuxAct InputDemuxAct
 Input demultiplexer dispatch method.
typedef struct InputDemuxDest InputDemuxDest
 Destination of input packet demultiplexer.
typedef struct InputDemux InputDemux
 Input packet demultiplexer for a single packet type.
typedef uint64_t(* InputDemux_DispatchFunc) (InputDemux *demux, Packet **npkts, uint16_t count)
typedef InputDemux InputDemuxes[PktMax - 1]
 InputDemuxes for Interest, Data, Nack.

Functions

NdtQuerierInputDemux_SetDispatchByNdt (InputDemux *demux)
void InputDemux_SetDispatchDiv (InputDemux *demux, uint32_t nDest, bool byGenericHash)
void InputDemux_SetDispatchByToken (InputDemux *demux, uint8_t offset)

Variables

 InputDemuxActDrop
 InputDemuxActRoundrobinDiv
 InputDemuxActRoundrobinMask
 InputDemuxActGenericHashDiv
 InputDemuxActGenericHashMask
 InputDemuxActByNdt
 InputDemuxActByToken
const InputDemux_DispatchFunc InputDemux_DispatchJmp []

Typedef Documentation

◆ InputDemux

typedef struct InputDemux InputDemux

Input packet demultiplexer for a single packet type.

◆ InputDemux_DispatchFunc

typedef uint64_t(* InputDemux_DispatchFunc) (InputDemux *demux, Packet **npkts, uint16_t count)

◆ InputDemuxAct

enum __rte_packed_begin InputDemuxAct

Input demultiplexer dispatch method.

◆ InputDemuxDest

typedef struct InputDemuxDest InputDemuxDest

Destination of input packet demultiplexer.

◆ InputDemuxes

typedef InputDemux InputDemuxes[PktMax - 1]

InputDemuxes for Interest, Data, Nack.

Function Documentation

◆ InputDemux_SetDispatchByNdt()

NdtQuerier * InputDemux_SetDispatchByNdt ( InputDemux * demux)

◆ InputDemux_SetDispatchByToken()

void InputDemux_SetDispatchByToken ( InputDemux * demux,
uint8_t offset )

◆ InputDemux_SetDispatchDiv()

void InputDemux_SetDispatchDiv ( InputDemux * demux,
uint32_t nDest,
bool byGenericHash )

Variable Documentation

◆ InputDemux_DispatchJmp

const InputDemux_DispatchFunc InputDemux_DispatchJmp[]
extern

◆ InputDemuxActByNdt

InputDemuxActByNdt

◆ InputDemuxActByToken

InputDemuxActByToken

◆ InputDemuxActDrop

InputDemuxActDrop

◆ InputDemuxActGenericHashDiv

InputDemuxActGenericHashDiv

◆ InputDemuxActGenericHashMask

InputDemuxActGenericHashMask

◆ InputDemuxActRoundrobinDiv

InputDemuxActRoundrobinDiv

◆ InputDemuxActRoundrobinMask

InputDemuxActRoundrobinMask