interceptor

package
v0.0.0-...-7cdd189 Latest Latest
Warning

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

Go to latest
Published: May 14, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDevByName

func FindDevByName(name string) (pcap.Interface, error)

FindDevByName parses all devices and returns the one with a name that matches the passed string.

Types

type Interceptor

type Interceptor struct {
	Iface, Filter string
	Snaplen       int
	Verbose       bool
	// contains filtered or unexported fields
}

func (*Interceptor) Cleanup

func (icpr *Interceptor) Cleanup()

func (*Interceptor) Run

func (icpr *Interceptor) Run()

func (*Interceptor) String

func (icpr *Interceptor) String() string

Jump to

Keyboard shortcuts

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