ip

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const HdrLenMax = 60 // bytes
View Source
const HdrLenMin = 20 // bytes

Variables

This section is empty.

Functions

func Receive

func Receive(payload []byte, dev mw.IDevice) psErr.E

func Send

func Send(protoNum mw.ProtocolNumber, payload []byte, src mw.IP, dst mw.IP) psErr.E

func Start

func Start(wg *sync.WaitGroup) psErr.E

func Stop

func Stop()

Types

type PacketID

type PacketID struct {
	// contains filtered or unexported fields
}

func (*PacketID) Next

func (p *PacketID) Next() (id uint16)

Jump to

Keyboard shortcuts

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