FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
flowprobe.h File Reference

flow-per-packet plugin header file More...

+ Include dependency graph for flowprobe.h:
+ This graph shows which files directly or indirectly include this file:

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)
 
u8format_flowprobe_entry (u8 *s, va_list *args)
 

Variables

flowprobe_main_t flowprobe_main
 

Detailed Description

flow-per-packet plugin header file

Definition in file flowprobe.h.

Macro Definition Documentation

#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.

Enumeration Type Documentation

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.

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.

Function Documentation

void flowprobe_flush_callback_ip4 ( void  )

Definition at line 886 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void flowprobe_flush_callback_ip6 ( void  )

Definition at line 892 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void flowprobe_flush_callback_l2 ( void  )

Definition at line 898 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_flowprobe_entry ( u8 s,
va_list *  args 
)

Definition at line 763 of file flowprobe.c.

+ Here is the call graph for this function:

STATIC_ASSERT ( sizeof(flowprobe_variant_t = =1,
"flowprobe_variant_t is expected to be 1  byte,
""revisit padding in flowprobe_key_t  
)

Variable Documentation

flowprobe_main_t flowprobe_main

Definition at line 53 of file flowprobe.c.