# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Callback provides a custom callback function which is called for each captured packet.
Comment can be used to add a custom comment to the PCAPng file.
Filename writes all captured packets in PCAPng format to a new or existing file with the provided filename.
FilterExpression is a libpcap filter expression
The filter expression consists of one or more primitives.
FilterInstructions allows filtering the captured packets by providing a compiled BPF filter program.
FilterInterface is a filter callback to limit the interfaces which will be recorded.
FilterPackets is a callback to filter packets within the Go application rather via BPF in the kernel.
ListenAddr opens a UNIX, UDP or TCP socket which serves a PCAPng trace.
LogKeys captures encryption keys from applications started via Gont and embeds them into PCAPng files
This is achieved by passing the SSLKEYLOGFILE environment variable to each process started via Run().
Pipename writes all captured packets in PCAPng format to a newly created named pipe.
Promiscuous enables capturing of all packets.
SnapshotLength defines the PCAP snapshot length.