Wireshark  4.3.0
The Wireshark network protocol analyzer
Public Attributes | List of all members
_capture_src Struct Reference

Public Attributes

guint32 received
 
guint32 dropped
 
guint32 flushed
 
pcap_t * pcap_h
 
gboolean pcap_err
 
guint interface_id
 
guint idb_id
 
GThread * tid
 
int snaplen
 
int linktype
 
gboolean ts_nsec
 
gboolean from_cap_pipe
 
gboolean from_cap_socket
 
gboolean from_pcapng
 
union {
   pcap_pipe_info_t   pcap
 
   pcapng_pipe_info_t   pcapng
 
cap_pipe_info
 
int cap_pipe_fd
 
gboolean cap_pipe_modified
 
char * cap_pipe_databuf
 
size_t cap_pipe_databuf_size
 
guint cap_pipe_max_pkt_size
 
size_t cap_pipe_bytes_to_read
 
size_t cap_pipe_bytes_read
 
int(* cap_pipe_dispatch )(struct _loop_data *, struct _capture_src *, char *, size_t)
 
cap_pipe_state_t cap_pipe_state
 
cap_pipe_err_t cap_pipe_err
 

Member Data Documentation

◆ cap_pipe_bytes_read

size_t _capture_src::cap_pipe_bytes_read

Used by cap_pipe_dispatch

◆ cap_pipe_bytes_to_read

size_t _capture_src::cap_pipe_bytes_to_read

Used by cap_pipe_dispatch

◆ cap_pipe_databuf

char* _capture_src::cap_pipe_databuf

Pointer to the data buffer we've allocated

◆ cap_pipe_databuf_size

size_t _capture_src::cap_pipe_databuf_size

Current size of the data buffer

◆ cap_pipe_fd

int _capture_src::cap_pipe_fd

the file descriptor of the capture pipe

◆ cap_pipe_max_pkt_size

guint _capture_src::cap_pipe_max_pkt_size

Maximum packet size allowed

◆ cap_pipe_modified

gboolean _capture_src::cap_pipe_modified

TRUE if data in the pipe uses modified pcap headers

◆ from_cap_pipe

gboolean _capture_src::from_cap_pipe

TRUE if we are capturing data from a capture pipe

◆ from_cap_socket

gboolean _capture_src::from_cap_socket

TRUE if we're capturing from socket

◆ from_pcapng

gboolean _capture_src::from_pcapng

TRUE if we're capturing from pcapng format

◆ idb_id

guint _capture_src::idb_id

If from_pcapng is false, the output IDB interface ID. Otherwise the mapping in src_iface_to_global is used.

◆ pcap

pcap_pipe_info_t _capture_src::pcap

Pcap info when capturing from a pipe

◆ pcapng

pcapng_pipe_info_t _capture_src::pcapng

Pcapng info when capturing from a pipe

◆ ts_nsec

gboolean _capture_src::ts_nsec

TRUE if we're using nanosecond precision. capture pipe (unix only "input file")


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