Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketDumper ¶
type PacketDumper struct { BufSize int // Determines kernel perf map allocation. It is rounded up to the nearest multiple of the current page size. SamplerAddress net.IP // contains filtered or unexported fields }
func (*PacketDumper) Packets ¶
func (b *PacketDumper) Packets() chan Packet
func (*PacketDumper) Setup ¶
func (b *PacketDumper) Setup(device string) error
func (*PacketDumper) Start ¶
func (b *PacketDumper) Start() error
func (*PacketDumper) Stop ¶
func (b *PacketDumper) Stop()
Click to show internal directories.
Click to hide internal directories.