NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Go to the source code of this file.
Data Structures | |
struct | PitUp |
A PIT upstream record. More... | |
Macros | |
#define | PIT_UP_MAX_REJ_NONCES 6 |
Typedefs | |
typedef struct PitEntry | PitEntry |
typedef struct PitUp | PitUp |
A PIT upstream record. More... | |
Functions | |
bool | PitUp_ChooseNonce (PitUp *up, PitEntry *entry, TscTime now, uint32_t *nonce) |
Choose a nonce for TX Interest. More... | |
void | PitUp_RecordTx (PitUp *up, PitEntry *entry, TscTime now, uint32_t nonce, const PitSuppressConfig *suppressCfg) |
Record Interest transmission. More... | |
#define PIT_UP_MAX_REJ_NONCES 6 |
Choose a nonce for TX Interest.
[in,out] | nonce | initial suggested nonce suggestion, usually from RX Interest or Nack; final nonce selection. |
true | a valid nonce is found. |
false | all DN nonces have been rejected. |
void PitUp_RecordTx | ( | PitUp * | up, |
PitEntry * | entry, | ||
TscTime | now, | ||
uint32_t | nonce, | ||
const PitSuppressConfig * | suppressCfg | ||
) |
Record Interest transmission.
now | time used for calculating InterestLifetime. |
nonce | nonce of TX Interest. |