Documentation ¶
Index ¶
Constants ¶
View Source
const BPFFilter = "udp port 53"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher captures packets and logs stats to statsd.
func (*Watcher) HandlePacket ¶
HandlePacket handles a single packet.
Click to show internal directories.
Click to hide internal directories.