iputils

package
v0.9.2-66-g859184ac Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIntToIP

func BigIntToIP(v *big.Int) net.IP

BigIntToIP converts 128 bit integer into a 4 bytes IP address.

func IPToBigInt

func IPToBigInt(ip net.IP) *big.Int

IpToBigInt converts a 4 bytes IP into a 128 bit integer.

func IncreaseIP

func IncreaseIP(ip net.IP) net.IP

Increases IP address numeric value by 1.

func IsUnicastIP

func IsUnicastIP(ip net.IP, mask net.IPMask) bool

IsUnicastIP returns true if the provided IP address and network mask is a unicast address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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