FD.io VPP  v19.08.2-294-g37e99c22d
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
 
vlib_node_registration_t flowprobe_walker_node
 (constructor) VLIB_REGISTER_NODE (flowprobe_walker_node) More...
 

Detailed Description

flow-per-packet plugin header file

Definition in file flowprobe.h.

Macro Definition Documentation

◆ FLOW_MAXIMUM_EXPORT_ENTRIES

#define FLOW_MAXIMUM_EXPORT_ENTRIES   (1024)

Definition at line 61 of file flowprobe.h.

◆ FLOWPROBE_LOG2_HASHSIZE

#define FLOWPROBE_LOG2_HASHSIZE   (18)

Definition at line 33 of file flowprobe.h.

◆ FLOWPROBE_TIMER_ACTIVE

#define FLOWPROBE_TIMER_ACTIVE   (15)

Definition at line 31 of file flowprobe.h.

◆ FLOWPROBE_TIMER_PASSIVE

#define FLOWPROBE_TIMER_PASSIVE   120

Definition at line 32 of file flowprobe.h.

Enumeration Type Documentation

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

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

Function Documentation

◆ flowprobe_flush_callback_ip4()

void flowprobe_flush_callback_ip4 ( void  )

Definition at line 880 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flowprobe_flush_callback_ip6()

void flowprobe_flush_callback_ip6 ( 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:

◆ flowprobe_flush_callback_l2()

void flowprobe_flush_callback_l2 ( 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:

◆ format_flowprobe_entry()

u8* format_flowprobe_entry ( u8 s,
va_list *  args 
)

Definition at line 772 of file flowprobe.c.

+ Here is the call graph for this function:

◆ STATIC_ASSERT()

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

flowprobe_main_t flowprobe_main

Definition at line 53 of file flowprobe.c.

◆ flowprobe_walker_node

vlib_node_registration_t flowprobe_walker_node

(constructor) VLIB_REGISTER_NODE (flowprobe_walker_node)

Definition at line 1033 of file node.c.