FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
clib_error_t * | pcap_write (pcap_main_t *pm) |
Write out data to output file. More... | |
clib_error_t * | pcap_read (pcap_main_t *pm) |
Read data from file. More... | |
static void * | pcap_add_packet (pcap_main_t *pm, f64 time_now, u32 n_bytes_in_trace, u32 n_bytes_in_packet) |
Add packet. More... | |
static void | pcap_add_buffer (pcap_main_t *pm, struct vlib_main_t *vm, u32 buffer_index, u32 n_bytes_in_trace) |
Add buffer (vlib_buffer_t) to the trace. More... | |
|
inlinestatic |
Add buffer (vlib_buffer_t) to the trace.
*pm | - pcap_main_t |
*vm | - vlib_main_t |
buffer_index | - u32 |
n_bytes_in_trace | - u32 |
Definition at line 63 of file pcap_funcs.h.
|
inlinestatic |
Add packet.
*pm | - pcap_main_t |
time_now | - f64 |
n_bytes_in_trace | - u32 |
n_bytes_in_packet | - u32 |
Definition at line 37 of file pcap_funcs.h.
clib_error_t* pcap_read | ( | pcap_main_t * | pm | ) |
Read data from file.
Read data from file.
Definition at line 179 of file pcap.c.
clib_error_t* pcap_write | ( | pcap_main_t * | pm | ) |
Write out data to output file.
Write out data to output file.
Definition at line 89 of file pcap.c.