NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
SgCtx Struct Reference

Context of strategy invocation. More...

#include <api.h>

Data Fields

const SgGlobalglobal
 Global static parameters. More...
 
TscTime now
 Packet arrival time or current time. More...
 
SgEvent eventKind
 Why strategy is triggered. More...
 
SgFibNexthopFilter nhFlt
 A bitmask filter on which FIB nexthops should be used. More...
 
const SgPacketpkt
 Incoming packet. More...
 
const SgFibEntryfibEntry
 FIB entry. More...
 
SgFibEntryDynfibEntryDyn
 FIB entry dynamic area. More...
 
SgPitEntrypitEntry
 PIT entry. More...
 

Detailed Description

Context of strategy invocation.

Field Documentation

◆ eventKind

SgEvent SgCtx::eventKind

Why strategy is triggered.

◆ fibEntry

const SgFibEntry* SgCtx::fibEntry

FIB entry.

◆ fibEntryDyn

SgFibEntryDyn* SgCtx::fibEntryDyn

FIB entry dynamic area.

◆ global

const SgGlobal* SgCtx::global

Global static parameters.

◆ nhFlt

SgFibNexthopFilter SgCtx::nhFlt

A bitmask filter on which FIB nexthops should be used.

◆ now

TscTime SgCtx::now

Packet arrival time or current time.

◆ pitEntry

SgPitEntry* SgCtx::pitEntry

PIT entry.

◆ pkt

const SgPacket* SgCtx::pkt

Incoming packet.

Precondition
eventKind is SGEVT_DATA or SGEVT_NACK.

The documentation for this struct was generated from the following file: