NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Functions
roundrobin.c File Reference
#include "api.h"

Data Structures

struct  FibEntryInfo
 

Typedefs

typedef struct FibEntryInfo FibEntryInfo
 

Functions

SUBROUTINE uint64_t RxInterest (SgCtx *ctx)
 
uint64_t SgMain (SgCtx *ctx)
 The strategy dataplane program. More...
 

Detailed Description

The roundrobin strategy uses each nexthop sequentially for Interests under the same FIB entry. If the chosen nexthop is unusable (face down, supression, etc), packet is lost. Initial and retransmitted Interests are treated the same.

Typedef Documentation

◆ FibEntryInfo

typedef struct FibEntryInfo FibEntryInfo

Function Documentation

◆ RxInterest()

SUBROUTINE uint64_t RxInterest ( SgCtx ctx)

◆ SgMain()

uint64_t SgMain ( SgCtx ctx)

The strategy dataplane program.

Returns
status code, ignored but may appear in logs.

Every strategy must implement this function.