Documentation ¶
Index ¶
Constants ¶
View Source
const AF_INET = 2
View Source
const AF_INET6 = 10
Variables ¶
This section is empty.
Functions ¶
func PcapsEnabled ¶
func PcapsEnabled(simple config.PcapsConfig) bool
PcapsEnabled checks if the simple config has any bool value set
Types ¶
type Pcap ¶
type Pcap struct {
// contains filtered or unexported fields
}
Pcap is a representation of a pcap file
type PcapCache ¶
type PcapCache struct {
// contains filtered or unexported fields
}
PcapCache is an intermediate LRU cache in between Pcap and Pcaps
type PcapOption ¶ added in v0.11.1
type PcapOption uint32
const (
Filtered PcapOption = 0x1
)
func GetPcapOptions ¶ added in v0.11.1
func GetPcapOptions(c config.PcapsConfig) PcapOption
type PcapType ¶
type PcapType uint
const ( // // 1 (0001): process: 1 pcap file per process (default) // 2 (0010): container: 1 pcap file per container // 4 (0011): command: 1 pcap file per command // 8 (1000): single: 1 single pcap file for all // // or a combination: // // 3 (0011): process + container // 5 (0010): process + command // 6 (0110): container + command // 7 (0111): process + container + command // None PcapType = 0x0 Process PcapType = 0x1 Container PcapType = 0x2 Command PcapType = 0x4 Single PcapType = 0x8 )
Click to show internal directories.
Click to hide internal directories.