Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfpacketHandle ¶
type AfpacketHandle struct {
// contains filtered or unexported fields
}
func NewAfpacketHandle ¶
func NewAfpacketHandle(netDevice string) (*AfpacketHandle, error)
func (*AfpacketHandle) Close ¶
func (a *AfpacketHandle) Close()
func (*AfpacketHandle) ReadPacketData ¶
func (a *AfpacketHandle) ReadPacketData() (data []byte, ci gopacket.CaptureInfo, err error)
Click to show internal directories.
Click to hide internal directories.