#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.
◆ PdumpEthPortUnmatchedCtx
| typedef struct PdumpEthPortUnmatchedCtx PdumpEthPortUnmatchedCtx |
Packet dump for unmatched frames on an Ethernet port, contextual information.
◆ PdumpFaceSource
| typedef struct PdumpFaceSource PdumpFaceSource |
Packet dump from a face on RX or TX direction.
◆ PdumpSource
| typedef struct PdumpSource PdumpSource |
◆ PdumpSource_Filter
| typedef bool(* PdumpSource_Filter) (PdumpSource *s, struct rte_mbuf *pkt) |
◆ PdumpSourceRef
| typedef struct PdumpSourceRef PdumpSourceRef |
RCU-protected pointer to PdumpSource.
◆ PdumpFaceSource_Filter()
| bool PdumpFaceSource_Filter |
( |
PdumpSource * | s, |
|
|
struct rte_mbuf * | pkt ) |
Perform name filtering to determine whether to capture a packet.
- Parameters
-
| pkt | packet positioned at NDNLPv2 header. |
- Returns
- whether to capture the packet.
◆ PdumpSource_Process()
| void PdumpSource_Process |
( |
PdumpSource * | s, |
|
|
struct rte_mbuf ** | pkts, |
|
|
uint16_t | count ) |
Submit packets for potential dumping.
◆ PdumpSourceRef_Set()
Assign or clear PdumpSource in PdumpSourceRef.
- Returns
- old pointer value.
◆ gPdumpEthPortSources