addr

package
v0.0.0-...-feac1bc Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMask

func CheckMask(n *net.IPNet) error

func NetEqual

func NetEqual(n1, n2 *net.IPNet) bool

func NetIntersect

func NetIntersect(n1, n2 *net.IPNet) bool

func ReadIPv4

func ReadIPv4(buf []byte, offset int) net.IP

func ReadIPv4Mask

func ReadIPv4Mask(buf []byte, offset int) net.IPMask

func WriteIPv4

func WriteIPv4(buf []byte, offset int, ipaddr net.IP)

func WriteIPv4Mask

func WriteIPv4Mask(buf []byte, offset int, ipaddr net.IPMask)

Types

This section is empty.

Jump to

Keyboard shortcuts

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