FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
pcap_main_t Struct Reference

PCAP main state data structure. More...

Data Fields

char * file_name
 File name of pcap output. More...
 
u32 n_packets_to_capture
 Number of packets to capture. More...
 
pcap_packet_type_t packet_type
 Packet type. More...
 
u32 n_packets_captured
 Number of packets currently captured. More...
 
u32 flags
 flags More...
 
int file_descriptor
 File descriptor for reading/writing. More...
 
u32 n_pcap_data_written
 Bytes written. More...
 
u8pcap_data
 Vector of pcap data. More...
 
u8 ** packets_read
 Packets read from file. More...
 
u32 min_packet_bytes
 Min/Max Packet bytes. More...
 
u32 max_packet_bytes
 

Detailed Description

PCAP main state data structure.

Definition at line 124 of file pcap.h.

Field Documentation

int pcap_main_t::file_descriptor

File descriptor for reading/writing.

Definition at line 143 of file pcap.h.

char* pcap_main_t::file_name

File name of pcap output.

Definition at line 127 of file pcap.h.

u32 pcap_main_t::flags

flags

Definition at line 139 of file pcap.h.

u32 pcap_main_t::max_packet_bytes

Definition at line 155 of file pcap.h.

u32 pcap_main_t::min_packet_bytes

Min/Max Packet bytes.

Definition at line 155 of file pcap.h.

u32 pcap_main_t::n_packets_captured

Number of packets currently captured.

Definition at line 136 of file pcap.h.

u32 pcap_main_t::n_packets_to_capture

Number of packets to capture.

Definition at line 130 of file pcap.h.

u32 pcap_main_t::n_pcap_data_written

Bytes written.

Definition at line 146 of file pcap.h.

pcap_packet_type_t pcap_main_t::packet_type

Packet type.

Definition at line 133 of file pcap.h.

u8** pcap_main_t::packets_read

Packets read from file.

Definition at line 152 of file pcap.h.

u8* pcap_main_t::pcap_data

Vector of pcap data.

Definition at line 149 of file pcap.h.


The documentation for this struct was generated from the following file: