#include "input-demux.h"
#include "reassembler.h"
#include "../core/urcu.h"
#include "../pdump/source.h"
#include <urcu/rcuhlist.h>
Go to the source code of this file.
◆ Face_RxInputFunc
Process a burst of received L2 frames.
Default implementation for NDN traffic is FaceRx_Input
.
◆ Face_TxBurstFunc
typedef uint16_t(* Face_TxBurstFunc) (Face *face, struct rte_mbuf **pkts, uint16_t nPkts) |
Transmit a burst of L2 frames.
- Parameters
-
- Returns
- successfully queued frames.
- Postcondition
- FaceImpl owns queued frames, but does not own remaining frames.
◆ Face_TxLoopFunc
typedef uint16_t(* Face_TxLoopFunc) (Face *face, int txThread) |
Transfer a burst of L3 packets from outputQueue to Face_TxBurstFunc
.
Default implementations are TxLoop_Transfer_Linear
and TxLoop_Transfer_Chained
. This function should perform fragmentation and hrlog submission as necessary.
◆ FaceImpl
Face details.
Fields in this struct are meant to be accessed in RX and TX threads, but not in forwarding/producer/consumer threads.
◆ FaceRxInputCtx
Face_RxInputFunc
inputs and outputs.
◆ FaceRxThread
Face RX per-thread information.
◆ FaceTxThread
Face TX per-thread information.
◆ anonymous enum
Enumerator |
---|
FaceRxThread_cntNOctets | FaceRxThread.nFrames[cntNOctets] is nOctets counter.
|
◆ gFaces
Static array of all faces.