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
ndni
nack.h
Go to the documentation of this file.
1
#ifndef NDNDPDK_NDNI_NACK_H
2
#define NDNDPDK_NDNI_NACK_H
3
6
#include "
interest.h
"
7
#include "
lp.h
"
8
10
static
inline
NackReason
11
NackReason_GetMin(
NackReason
a,
NackReason
b) {
12
return
RTE_MIN(a, b);
13
}
14
15
__attribute__((returns_nonnull))
const
char
*
16
NackReason_ToString
(
NackReason
reason);
17
19
typedef
struct
PNack
{
20
LpL3
lpl3
;
21
PInterest
interest
;
22
}
PNack
;
23
33
__attribute__((nonnull))
Packet
*
34
Nack_FromInterest
(
Packet
* npkt,
NackReason
reason,
PacketMempools
* mp,
PacketTxAlign
align);
35
36
#endif
// NDNDPDK_NDNI_NACK_H
interest.h
lp.h
PNack
struct PNack PNack
Parsed Nack packet.
NackReason_ToString
const char * NackReason_ToString(NackReason reason)
Definition:
nack.c:5
Nack_FromInterest
Packet * Nack_FromInterest(Packet *npkt, NackReason reason, PacketMempools *mp, PacketTxAlign align)
Turn an Interest into a Nack.
Definition:
nack.c:21
NackReason
NackReason
Definition:
an.h:69
Packet
struct Packet Packet
Definition:
common.h:11
LpL3
NDNLPv2 layer 3 fields.
Definition:
lp.h:56
PInterest
Parsed Interest packet.
Definition:
interest.h:9
PNack
Parsed Nack packet.
Definition:
nack.h:19
PNack::interest
PInterest interest
Definition:
nack.h:21
PNack::lpl3
LpL3 lpl3
Definition:
nack.h:20
PacketMempools
Mempools for packet modification.
Definition:
common.h:17
PacketTxAlign
mbuf alignment requirements for encoding or packet modification.
Definition:
common.h:35
Generated by
1.9.1