FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
MPCAP main state data structure. More...
Data Fields | |
char * | file_name |
File name of mpcap output. More... | |
clib_spinlock_t | lock |
spinlock, initialized if flagged MPCAP_FLAG_THREAD_SAFE More... | |
u32 | n_packets_to_capture |
Number of packets to capture. More... | |
mpcap_packet_type_t | packet_type |
Packet type. More... | |
u64 | max_file_size |
Maximum file size. More... | |
u8 * | file_baseva |
Base address. More... | |
u8 * | current_va |
current memory address More... | |
u32 | n_packets_captured |
Number of packets currently captured. More... | |
mpcap_file_header_t * | file_header |
Pointer to file header in svm, for ease of updating. More... | |
u32 | flags |
flags More... | |
u32 | n_mpcap_data_written |
Bytes written. More... | |
u8 * | mpcap_data |
Vector of mpcap data. More... | |
u64 | packets_read |
Packets in mapped mpcap file. More... | |
u32 | min_packet_bytes |
Min/Max Packet bytes. More... | |
u32 | max_packet_bytes |
mpcap_file_header_t* mpcap_main_t::file_header |
clib_spinlock_t mpcap_main_t::lock |
u32 mpcap_main_t::n_packets_captured |
u32 mpcap_main_t::n_packets_to_capture |
mpcap_packet_type_t mpcap_main_t::packet_type |
u64 mpcap_main_t::packets_read |