NDN-DPDK
High-Speed Named Data Networking Forwarder
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Functions
_
b
c
d
e
f
h
i
l
m
n
p
r
s
t
u
Variables
_
b
c
d
e
f
g
i
l
m
p
r
s
t
v
w
Typedefs
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
Enumerator
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Macros
a
b
c
d
f
h
i
l
m
n
p
r
s
t
u
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
csrc
strategyapi
pit.h
Go to the documentation of this file.
1
#ifndef NDNDPDK_STRATEGYAPI_PIT_H
2
#define NDNDPDK_STRATEGYAPI_PIT_H
3
6
#include "../pcct/pit-const.h"
7
#include "
common.h
"
8
9
typedef
struct
SgPitDn
{
10
TscTime
expiry
;
11
char
a_
[4];
12
FaceID
face
;
13
} __rte_cache_aligned
SgPitDn
;
14
15
typedef
struct
SgPitUp
{
16
char
a_
[4];
17
FaceID
face
;
18
char
b_
[1];
19
uint8_t
nack
;
20
21
TscTime
lastTx
;
22
TscDuration
suppress
;
23
uint16_t
nTx
;
24
} __rte_cache_aligned
SgPitUp
;
25
26
typedef
struct
SgPitEntryExt
SgPitEntryExt
;
27
28
typedef
struct
SgPitEntry
{
29
uint8_t
a_
[56];
30
SgPitEntryExt
*
ext
;
31
SgPitDn
dns
[
PitMaxDns
];
32
SgPitUp
ups
[
PitMaxUps
];
33
uint64_t
scratch
[
PitScratchSize
/ 8];
34
}
SgPitEntry
;
35
36
struct
SgPitEntryExt
{
37
SgPitDn
dns
[
PitMaxExtDns
];
38
SgPitUp
ups
[
PitMaxExtUps
];
39
SgPitEntryExt
*
next
;
40
};
41
42
#endif
// NDNDPDK_STRATEGYAPI_PIT_H
FaceID
uint16_t FaceID
Numeric face identifier.
Definition:
faceid.h:13
PitMaxExtUps
@ PitMaxExtUps
Definition:
pit-const.h:10
PitMaxExtDns
@ PitMaxExtDns
Definition:
pit-const.h:9
PitMaxUps
@ PitMaxUps
Definition:
pit-const.h:8
PitScratchSize
@ PitScratchSize
Definition:
pit-const.h:11
PitMaxDns
@ PitMaxDns
Definition:
pit-const.h:7
SgPitUp
struct SgPitUp SgPitUp
SgPitEntry
struct SgPitEntry SgPitEntry
SgPitDn
struct SgPitDn SgPitDn
SgPitDn
Definition:
pit.h:9
SgPitDn::expiry
TscTime expiry
Definition:
pit.h:10
SgPitDn::a_
char a_[4]
Definition:
pit.h:11
SgPitDn::face
FaceID face
Definition:
pit.h:12
SgPitEntryExt
Definition:
pit.h:36
SgPitEntryExt::ups
SgPitUp ups[PitMaxExtUps]
Definition:
pit.h:38
SgPitEntryExt::dns
SgPitDn dns[PitMaxExtDns]
Definition:
pit.h:37
SgPitEntryExt::next
SgPitEntryExt * next
Definition:
pit.h:39
SgPitEntry
Definition:
pit.h:28
SgPitEntry::ups
SgPitUp ups[PitMaxUps]
Definition:
pit.h:32
SgPitEntry::scratch
uint64_t scratch[PitScratchSize/8]
Definition:
pit.h:33
SgPitEntry::a_
uint8_t a_[56]
Definition:
pit.h:29
SgPitEntry::ext
SgPitEntryExt * ext
Definition:
pit.h:30
SgPitEntry::dns
SgPitDn dns[PitMaxDns]
Definition:
pit.h:31
SgPitUp
Definition:
pit.h:15
SgPitUp::b_
char b_[1]
Definition:
pit.h:18
SgPitUp::nTx
uint16_t nTx
Definition:
pit.h:23
SgPitUp::a_
char a_[4]
Definition:
pit.h:16
SgPitUp::face
FaceID face
Definition:
pit.h:17
SgPitUp::nack
uint8_t nack
Definition:
pit.h:19
SgPitUp::lastTx
TscTime lastTx
Definition:
pit.h:21
SgPitUp::suppress
TscDuration suppress
Definition:
pit.h:22
common.h
TscDuration
int64_t TscDuration
Duration in TscTime unit.
Definition:
tsc.h:12
TscTime
uint64_t TscTime
TSC clock time point.
Definition:
tsc.h:9
Generated by
1.9.1