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
pcct
cs.h
Go to the documentation of this file.
1
#ifndef NDNDPDK_PCCT_CS_H
2
#define NDNDPDK_PCCT_CS_H
3
6
#include "
cs-arc.h
"
7
#include "
pcct.h
"
8
#include "
pit-result.h
"
9
11
__attribute__((nonnull)) uint32_t
12
Cs_GetCapacity
(
Cs
* cs,
CsListID
l);
13
15
__attribute__((nonnull)) uint32_t
16
Cs_CountEntries
(
Cs
* cs,
CsListID
l);
17
25
__attribute__((nonnull))
void
26
Cs_Insert
(
Cs
* cs,
Packet
* npkt,
PitFindResult
pitFound);
27
33
__attribute__((nonnull))
CsEntry
*
34
Cs_MatchInterest
(
Cs
* cs,
CsEntry
* entry,
Packet
* interestNpkt);
35
40
__attribute__((nonnull))
void
41
Cs_Erase
(
Cs
* cs,
CsEntry
* entry);
42
43
#endif
// NDNDPDK_PCCT_CS_H
cs-arc.h
CsListID
CsListID
Definition:
cs-enum.h:18
Cs_Insert
void Cs_Insert(Cs *cs, Packet *npkt, PitFindResult pitFound)
Insert a CS entry.
Definition:
cs.c:233
Cs_GetCapacity
uint32_t Cs_GetCapacity(Cs *cs, CsListID l)
Get capacity in number of entries.
Definition:
cs.c:86
Cs_MatchInterest
CsEntry * Cs_MatchInterest(Cs *cs, CsEntry *entry, Packet *interestNpkt)
Determine whether the CS entry matches an Interest during PIT insertion.
Definition:
cs.c:278
Cs_Erase
void Cs_Erase(Cs *cs, CsEntry *entry)
Erase a CS entry.
Definition:
cs.c:340
Cs_CountEntries
uint32_t Cs_CountEntries(Cs *cs, CsListID l)
Get number of entries.
Definition:
cs.c:94
Packet
struct Packet Packet
Definition:
common.h:11
pcct.h
pit-result.h
CsEntry
A CS entry.
Definition:
cs-entry.h:22
Cs
The Content Store (CS).
Definition:
cs-struct.h:63
PitFindResult
Result of PIT find.
Definition:
pit-result.h:37
Generated by
1.9.1