NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "common.h"
Go to the source code of this file.
Data Structures | |
struct | PktQueue |
Thread-safe packet queue. More... | |
struct | PktQueuePopResult |
Packet queue pop result. More... | |
Typedefs | |
typedef enum PktQueuePopAct | PktQueuePopAct |
Packet queue dequeue method. More... | |
typedef struct PktQueue | PktQueue |
Thread-safe packet queue. More... | |
typedef struct PktQueuePopResult | PktQueuePopResult |
Packet queue pop result. More... | |
typedef PktQueuePopResult(* | PktQueue_PopFunc) (PktQueue *q, struct rte_mbuf *pkts[], uint32_t count, TscTime now) |
Enumerations | |
enum | PktQueuePopAct { PktQueuePopActPlain , PktQueuePopActDelay , PktQueuePopActCoDel } |
Packet queue dequeue method. More... | |
Variables | |
const PktQueue_PopFunc | PktQueue_PopJmp [] |
Thread-safe packet queue.
It can operate in one of these modes:
q->target
after it's received. PktQueuePopResult.drop
is set according to CoDel algorithm. typedef PktQueuePopResult(* PktQueue_PopFunc) (PktQueue *q, struct rte_mbuf *pkts[], uint32_t count, TscTime now) |
typedef enum PktQueuePopAct PktQueuePopAct |
Packet queue dequeue method.
typedef struct PktQueuePopResult PktQueuePopResult |
Packet queue pop result.
enum PktQueuePopAct |
|
extern |