FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
trace_classify.h File Reference

Use the vpp classifier to decide whether to trace packets. More...

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

Go to the source code of this file.

Functions

static int vnet_is_packet_traced_inline (vlib_buffer_t *b, u32 classify_table_index, int func)
 vnet_is_packet_traced More...
 

Detailed Description

Use the vpp classifier to decide whether to trace packets.

Definition in file trace_classify.h.

Function Documentation

◆ vnet_is_packet_traced_inline()

static int vnet_is_packet_traced_inline ( vlib_buffer_t b,
u32  classify_table_index,
int  func 
)
inlinestatic

vnet_is_packet_traced

Parameters
vlib_buffer_t*b - packet to classify
intfunc - 0 => use classifier w/ supplied table index
u32classify_table_index - classifier table index
Returns
0 => no trace, 1 => trace, -1 => error

Definition at line 34 of file trace_classify.h.

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