Versions in this module Expand all Collapse all v1 v1.1.11 Sep 4, 2015 Changes in this version + type BPFSniffer struct — darwin/amd64 + func NewBPFSniffer(iface string, options *Options) (*BPFSniffer, error) + func (b *BPFSniffer) Close() error + func (b *BPFSniffer) GetReadBufLen() int + func (b *BPFSniffer) ReadPacketData() ([]byte, gopacket.CaptureInfo, error) + type Options struct — darwin/amd64 + BPFDeviceName string + Immediate bool + PreserveLinkAddr bool + Promisc bool + ReadBufLen int + Timeout *syscall.Timeval