iface

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByIP

func ByIP(ip net.IP) (*net.Interface, error)

ByIP returns the interface that has ip.

Types

type DropReason

type DropReason int

DropReason is the reason why a packet was dropped.

const (
	DropReasonNone DropReason = iota
	DropReasonError
	DropReasonARPReply
	DropReasonMessageType
	DropReasonNoSourceLL
	DropReasonEthernetDestination
	DropReasonAnnounceIP
	DropReasonNotLeader
)

Various reasons why a packet was dropped.

Jump to

Keyboard shortcuts

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