NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
pit.h
Go to the documentation of this file.
1#ifndef NDNDPDK_STRATEGYAPI_PIT_H
2#define NDNDPDK_STRATEGYAPI_PIT_H
3
5
6#include "../pcct/pit-const.h"
7#include "common.h"
8
9typedef struct SgPitDn {
11 char a_[4];
13} __rte_cache_aligned SgPitDn;
14
15typedef struct SgPitUp {
16 char a_[4];
18 char b_[1];
19 uint8_t nack;
20
23 uint16_t nTx;
24} __rte_cache_aligned SgPitUp;
25
27
35
41
42#endif // NDNDPDK_STRATEGYAPI_PIT_H
uint16_t FaceID
Numeric face identifier.
Definition faceid.h:13
@ PitMaxExtUps
Definition pit-const.h:10
@ PitMaxExtDns
Definition pit-const.h:9
@ PitMaxUps
Definition pit-const.h:8
@ PitScratchSize
Definition pit-const.h:11
@ PitMaxDns
Definition pit-const.h:7
Definition pit.h:9
TscTime expiry
Definition pit.h:10
char a_[4]
Definition pit.h:11
FaceID face
Definition pit.h:12
Definition pit.h:36
SgPitUp ups[PitMaxExtUps]
Definition pit.h:38
SgPitDn dns[PitMaxExtDns]
Definition pit.h:37
SgPitEntryExt * next
Definition pit.h:39
Definition pit.h:28
SgPitUp ups[PitMaxUps]
Definition pit.h:32
uint64_t scratch[PitScratchSize/8]
Definition pit.h:33
uint8_t a_[56]
Definition pit.h:29
SgPitEntryExt * ext
Definition pit.h:30
SgPitDn dns[PitMaxDns]
Definition pit.h:31
Definition pit.h:15
char b_[1]
Definition pit.h:18
uint16_t nTx
Definition pit.h:23
char a_[4]
Definition pit.h:16
FaceID face
Definition pit.h:17
uint8_t nack
Definition pit.h:19
TscTime lastTx
Definition pit.h:21
TscDuration suppress
Definition pit.h:22
int64_t TscDuration
Duration in TscTime unit.
Definition tsc.h:12
uint64_t TscTime
TSC clock time point.
Definition tsc.h:9