Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPcapSource ¶
func WithBufferSize ¶
func WithBufferSize(size int) option
func WithPromisc ¶
func WithPromisc(promisc bool) option
func WithSnaplen ¶
func WithSnaplen(len int) option
Types ¶
type PcapSource ¶
type PcapSource struct {
// contains filtered or unexported fields
}
func NewDefaultPcapSource ¶
func NewDefaultPcapSource() *PcapSource
Click to show internal directories.
Click to hide internal directories.