NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
rx.h
Go to the documentation of this file.
1
#ifndef NDNDPDK_TGCONSUMER_RX_H
2
#define NDNDPDK_TGCONSUMER_RX_H
3
5
6
#include "
common.h
"
7
8
#include "
../core/running-stat.h
"
9
#include "
../dpdk/thread.h
"
10
#include "
../iface/pktqueue.h
"
11
13
typedef
struct
TgcRxPattern
{
14
uint64_t
nNacks
;
15
RunningStatI
rtt
;
16
uint16_t
prefixLen
;
17
}
TgcRxPattern
;
18
20
typedef
struct
TgcRx
{
21
ThreadCtrl
ctrl
;
22
PktQueue
rxQueue
;
23
uint8_t
runNum
;
24
uint8_t
nPatterns
;
25
TgcRxPattern
pattern
[
TgcMaxPatterns
];
26
}
TgcRx
;
27
28
__attribute__((nonnull))
int
29
TgcRx_Run
(
TgcRx
* cr);
30
31
#endif
// NDNDPDK_TGCONSUMER_RX_H
pktqueue.h
running-stat.h
TgcRx_Run
int TgcRx_Run(TgcRx *cr)
Definition
rx.c:57
PktQueue
Thread-safe packet queue.
Definition
pktqueue.h:23
RunningStatI
Facility to compute mean and variance, with integer min and max.
Definition
running-stat.h:39
TgcRxPattern
Per-pattern information in traffic generator consumer.
Definition
rx.h:13
TgcRxPattern::rtt
RunningStatI rtt
Definition
rx.h:15
TgcRxPattern::prefixLen
uint16_t prefixLen
Definition
rx.h:16
TgcRxPattern::nNacks
uint64_t nNacks
Definition
rx.h:14
TgcRx
Traffic generator consumer RX thread.
Definition
rx.h:20
TgcRx::pattern
TgcRxPattern pattern[TgcMaxPatterns]
Definition
rx.h:25
TgcRx::rxQueue
PktQueue rxQueue
Definition
rx.h:22
TgcRx::ctrl
ThreadCtrl ctrl
Definition
rx.h:21
TgcRx::nPatterns
uint8_t nPatterns
Definition
rx.h:24
TgcRx::runNum
uint8_t runNum
Definition
rx.h:23
ThreadCtrl
Thread load stats and stop flag.
Definition
thread.h:10
common.h
TgcMaxPatterns
@ TgcMaxPatterns
Definition
enum.h:7
thread.h
csrc
tgconsumer
rx.h
Generated by
1.15.0