conn

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

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

Go to latest
Published: Sep 25, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServeIf

func NewServeIf(ifIndex int, p *ipv4.PacketConn) *serveIfConn

Function only exists to support deprecated dhcp4/ServeIf DO NOT USE

func NewUDP4BoundListener

func NewUDP4BoundListener(interfaceName, laddr string) (pc net.PacketConn, e error)

func NewUDP4FilterListener

func NewUDP4FilterListener(interfaceName, laddr string) (c *serveIfConn, e error)

Creates listener on all interfaces and then filters packets not received by interfaceName

Types

This section is empty.

Jump to

Keyboard shortcuts

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