FD.io VPP
v18.01-8-g0eacf49
Vector Packet Processing
|
flow-per-packet plugin header file More...
Go to the source code of this file.
Data Structures | |
struct | flowprobe_protocol_context_t |
struct | flowprobe_key_t |
struct | timestamp_nsec_t |
struct | flowprobe_entry_t |
struct | flowprobe_main_t |
Macros | |
#define | FLOWPROBE_TIMER_ACTIVE (15) |
#define | FLOWPROBE_TIMER_PASSIVE 120 |
#define | FLOWPROBE_LOG2_HASHSIZE (18) |
#define | FLOW_MAXIMUM_EXPORT_ENTRIES (1024) |
Enumerations | |
enum | flowprobe_record_t { FLOW_RECORD_L2 = 1 << 0, FLOW_RECORD_L3 = 1 << 1, FLOW_RECORD_L4 = 1 << 2, FLOW_RECORD_L2_IP4 = 1 << 3, FLOW_RECORD_L2_IP6 = 1 << 4, FLOW_N_RECORDS = 1 << 5 } |
enum | flowprobe_variant_t { FLOW_VARIANT_IP4, FLOW_VARIANT_IP6, FLOW_VARIANT_L2, FLOW_VARIANT_L2_IP4, FLOW_VARIANT_L2_IP6, FLOW_N_VARIANTS } |
Functions | |
STATIC_ASSERT (sizeof(flowprobe_variant_t)==1,"flowprobe_variant_t is expected to be 1 byte, ""revisit padding in flowprobe_key_t") | |
void | flowprobe_flush_callback_ip4 (void) |
void | flowprobe_flush_callback_ip6 (void) |
void | flowprobe_flush_callback_l2 (void) |
u8 * | format_flowprobe_entry (u8 *s, va_list *args) |
Variables | |
flowprobe_main_t | flowprobe_main |
flow-per-packet plugin header file
Definition in file flowprobe.h.
#define FLOW_MAXIMUM_EXPORT_ENTRIES (1024) |
Definition at line 61 of file flowprobe.h.
#define FLOWPROBE_LOG2_HASHSIZE (18) |
Definition at line 33 of file flowprobe.h.
#define FLOWPROBE_TIMER_ACTIVE (15) |
Definition at line 31 of file flowprobe.h.
#define FLOWPROBE_TIMER_PASSIVE 120 |
Definition at line 32 of file flowprobe.h.
enum flowprobe_record_t |
Enumerator | |
---|---|
FLOW_RECORD_L2 | |
FLOW_RECORD_L3 | |
FLOW_RECORD_L4 | |
FLOW_RECORD_L2_IP4 | |
FLOW_RECORD_L2_IP6 | |
FLOW_N_RECORDS |
Definition at line 35 of file flowprobe.h.
enum flowprobe_variant_t |
Enumerator | |
---|---|
FLOW_VARIANT_IP4 | |
FLOW_VARIANT_IP6 | |
FLOW_VARIANT_L2 | |
FLOW_VARIANT_L2_IP4 | |
FLOW_VARIANT_L2_IP6 | |
FLOW_N_VARIANTS |
Definition at line 46 of file flowprobe.h.
void flowprobe_flush_callback_ip4 | ( | void | ) |
void flowprobe_flush_callback_ip6 | ( | void | ) |
void flowprobe_flush_callback_l2 | ( | void | ) |
STATIC_ASSERT | ( | sizeof(flowprobe_variant_t) | = =1 , |
"flowprobe_variant_t is expected to be 1 | byte, | ||
""revisit padding in flowprobe_key_t" | |||
) |
flowprobe_main_t flowprobe_main |
Definition at line 53 of file flowprobe.c.