FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
mpcap.h File Reference
+ Include dependency graph for mpcap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void * mpcap_add_packet (mpcap_main_t *pm, f64 time_now, u32 n_bytes_in_trace, u32 n_bytes_in_packet)
 Add packet. More...
 
static void mpcap_add_buffer (mpcap_main_t *pm, vlib_main_t *vm, f64 time_now, u32 buffer_index, u32 n_bytes_in_trace)
 Add buffer (vlib_buffer_t) to the trace. More...
 

Function Documentation

◆ mpcap_add_buffer()

static void mpcap_add_buffer ( mpcap_main_t pm,
vlib_main_t vm,
f64  time_now,
u32  buffer_index,
u32  n_bytes_in_trace 
)
inlinestatic

Add buffer (vlib_buffer_t) to the trace.

Parameters
*pm- mpcap_main_t
*vm- vlib_main_t
time_now- f64
buffer_index- u32
n_bytes_in_trace- u32

Definition at line 70 of file mpcap.h.

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

◆ mpcap_add_packet()

static void* mpcap_add_packet ( mpcap_main_t pm,
f64  time_now,
u32  n_bytes_in_trace,
u32  n_bytes_in_packet 
)
inlinestatic

Add packet.

Parameters
*pm- mpcap_main_t
time_now- f64
n_bytes_in_trace- u32
n_bytes_in_packet- u32
Returns
Packet Data

Definition at line 34 of file mpcap.h.

+ Here is the caller graph for this function: