Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct {
segments.BaseSegment
Method string // required, default is "pcap", one of the available capture methods "pcapgo|pcap|pfring|file"
Source string // required, the name of the source to capture from, depending on the method an interface or file name is required
Filter string // optional, a BPF filter which is applied when using a libpcap-based method
ActiveTimeout string // optional, default is 30m
InactiveTimeout string // optional, default is 15s
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.