Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyscallGetSocketSendQueueSize ¶
SyscallGetSocketSendQueueSize returns the current size of the send queue on the specified socket.
Types ¶
type PcapHandle ¶
type PcapHandle interface { gopacket.PacketDataSource LinkType() layers.LinkType WritePacketData(data []byte) error Close() }
PcapHandle contains a subset of *pcap.Handle methods.
func OpenPcap ¶
func OpenPcap(device, bpfFilter string) (PcapHandle, error)
OpenPcap creates and activates a PCAP handle.
Click to show internal directories.
Click to hide internal directories.