FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
clib_error_t * | pcap_close (pcap_main_t *pm) |
Write out data to output file. More... | |
clib_error_t * | pcap_write (pcap_main_t *pm) |
Write PCAP 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... | |
|
inlinestatic |
Add packet.
*pm | - pcap_main_t |
time_now | - f64 |
n_bytes_in_trace | - u32 |
n_bytes_in_packet | - u32 |
Definition at line 41 of file pcap_funcs.h.
clib_error_t* pcap_close | ( | pcap_main_t * | pm | ) |
Write out data to output file.
Close the file created by pcap_write function.
Write out data to output file.
Close the file created by pcap_write function.
Definition at line 74 of file pcap.c.
clib_error_t* pcap_read | ( | pcap_main_t * | pm | ) |
Read data from file.
Read data from file.
Definition at line 176 of file pcap.c.
clib_error_t* pcap_write | ( | pcap_main_t * | pm | ) |
Write PCAP file.
Definition at line 89 of file pcap.c.