FD.io VPP  v21.06
Vector Packet Processing
pcap_classify.h File Reference

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

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

Go to the source code of this file.

Functions

static_always_inline int vnet_is_packet_pcaped (vnet_pcap_t *pp, vlib_buffer_t *b, u32 sw_if_index)
 vnet_is_packet_pcaped More...
 

Detailed Description

Use the vpp classifier to decide whether to capture packets.

Definition in file pcap_classify.h.

Function Documentation

◆ vnet_is_packet_pcaped()

static_always_inline int vnet_is_packet_pcaped ( vnet_pcap_t pp,
vlib_buffer_t b,
u32  sw_if_index 
)

vnet_is_packet_pcaped

Parameters
vlib_buffer_t*b - packet to capture
Returns
0 => no capture, 1 => capture

Definition at line 32 of file pcap_classify.h.

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