Directories ¶
Path | Synopsis |
---|---|
Package capture provides the high level / central interface definitions for all slimcap capture sources and core structures.
|
Package capture provides the high level / central interface definitions for all slimcap capture sources and core structures. |
afpacket/afpacket
Package afpacket implements a capture.Source that allows reading network packets from Linux network interfaces via the AF_PACKET mechanism.
|
Package afpacket implements a capture.Source that allows reading network packets from Linux network interfaces via the AF_PACKET mechanism. |
afpacket/afring
Package afring implements a capture.Source and a capture.SourceZeroCopy that allows reading network packets from Linux network interfaces via the AF_PACKET / TPacket ring buffer mechanism.
|
Package afring implements a capture.Source and a capture.SourceZeroCopy that allows reading network packets from Linux network interfaces via the AF_PACKET / TPacket ring buffer mechanism. |
afpacket/socket
Package socket implements AF_PACKET sockets / file descriptors (both for `afring` and plain `afpacket` modes).
|
Package socket implements AF_PACKET sockets / file descriptors (both for `afring` and plain `afpacket` modes). |
pcap
Package pcap allows reading / parsing pcap files (compressed and uncompressed) and implement the capture.Source interface.
|
Package pcap allows reading / parsing pcap files (compressed and uncompressed) and implement the capture.Source interface. |
Package event provides access to system-level event file descriptors that act as semaphores and notification mechanism to facilitate AF_PACKET network traffic capture.
|
Package event provides access to system-level event file descriptors that act as semaphores and notification mechanism to facilitate AF_PACKET network traffic capture. |
examples
|
|
dump
Package dump provides a simple packet dump tool that will simply consume up to a certain number of network packets from the provided interface and then exit.
|
Package dump provides a simple packet dump tool that will simply consume up to a certain number of network packets from the provided interface and then exit. |
pcap
Package pcap provides a simple packet dump tool that will simply consume up to a certain number of previously captured network packets from the provided pcap file, optionally log them and then exit.
|
Package pcap provides a simple packet dump tool that will simply consume up to a certain number of previously captured network packets from the provided pcap file, optionally log them and then exit. |
trace
Package trace provides a comprehensive tool that supports various common use cases when interacting with the `slimcap` module, including plain and ring-buffer AF_PACKET capture on multiple interfaces, zero-copy mode (if requested) and optional logging and profiling.
|
Package trace provides a comprehensive tool that supports various common use cases when interacting with the `slimcap` module, including plain and ring-buffer AF_PACKET capture on multiple interfaces, zero-copy mode (if requested) and optional logging and profiling. |
Package link provides access to network interfaces and their parameters, such as link type and flags.
|
Package link provides access to network interfaces and their parameters, such as link type and flags. |
Click to show internal directories.
Click to hide internal directories.