pcap

package
v0.0.0-...-3c6cc5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EscapeIP   = "-1.-1.-1.-1"
	EscapePort = "-1"
)

Variables

This section is empty.

Functions

func ListAvailableInterfaces

func ListAvailableInterfaces() (toPrint string)

func NewWorker

func NewWorker(packetInput chan gopacket.Packet, options opt.Options) *worker

func StartListen

func StartListen(device, filter string, snaplen int, promiscuous bool, options opt.Options)

func StopListen

func StopListen()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL