NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
SgCtx Struct Reference

Context of strategy invocation. More...

#include <api.h>

Data Fields

const SgGlobal * global
 Global static parameters.
TscTime now
 Packet arrival time or current time.
SgEvent eventKind
 Why strategy is triggered.
SgFibNexthopFilter nhFlt
 A bitmask filter on which FIB nexthops should be used.
const SgPacket * pkt
 Incoming packet.
const SgFibEntry * fibEntry
 FIB entry.
SgFibEntryDyn * fibEntryDyn
 FIB entry dynamic area.
SgPitEntry * pitEntry
 PIT entry.

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: