NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "../core/urcu.h"
#include "../iface/faceid.h"
#include "../vendor/pcg_basic.h"
#include "enum.h"
#include <urcu-pointer.h>
Go to the source code of this file.
Data Structures | |
struct | PdumpSource |
Packet dump source. More... | |
struct | PdumpSourceRef |
RCU-protected pointer to PdumpSource. More... | |
struct | PdumpFaceSource |
Packet dump from a face on RX or TX direction. More... | |
struct | PdumpEthPortUnmatchedCtx |
Packet dump for unmatched frames on an Ethernet port, contextual information. More... | |
Typedefs | |
typedef struct PdumpSource | PdumpSource |
typedef bool(* | PdumpSource_Filter) (PdumpSource *s, struct rte_mbuf *pkt) |
typedef struct PdumpSourceRef | PdumpSourceRef |
RCU-protected pointer to PdumpSource. More... | |
typedef struct PdumpFaceSource | PdumpFaceSource |
Packet dump from a face on RX or TX direction. More... | |
typedef struct PdumpEthPortUnmatchedCtx | PdumpEthPortUnmatchedCtx |
Packet dump for unmatched frames on an Ethernet port, contextual information. More... | |
Functions | |
void | PdumpSource_Process (PdumpSource *s, struct rte_mbuf **pkts, uint16_t count) |
Submit packets for potential dumping. More... | |
PdumpSource * | PdumpSourceRef_Set (PdumpSourceRef *ref, PdumpSource *s) |
Assign or clear PdumpSource in PdumpSourceRef. More... | |
bool | PdumpFaceSource_Filter (PdumpSource *s, struct rte_mbuf *pkt) |
Perform name filtering to determine whether to capture a packet. More... | |
Variables | |
PdumpSourceRef | gPdumpEthPortSources [RTE_MAX_ETHPORTS] |
typedef struct PdumpEthPortUnmatchedCtx PdumpEthPortUnmatchedCtx |
Packet dump for unmatched frames on an Ethernet port, contextual information.
typedef struct PdumpFaceSource PdumpFaceSource |
Packet dump from a face on RX or TX direction.
typedef struct PdumpSource PdumpSource |
typedef bool(* PdumpSource_Filter) (PdumpSource *s, struct rte_mbuf *pkt) |
typedef struct PdumpSourceRef PdumpSourceRef |
RCU-protected pointer to PdumpSource.
bool PdumpFaceSource_Filter | ( | PdumpSource * | s, |
struct rte_mbuf * | pkt | ||
) |
Perform name filtering to determine whether to capture a packet.
pkt | packet positioned at NDNLPv2 header. |
void PdumpSource_Process | ( | PdumpSource * | s, |
struct rte_mbuf ** | pkts, | ||
uint16_t | count | ||
) |
Submit packets for potential dumping.
PdumpSource* PdumpSourceRef_Set | ( | PdumpSourceRef * | ref, |
PdumpSource * | s | ||
) |
Assign or clear PdumpSource in PdumpSourceRef.
|
extern |