net

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nipsv4

func Nipsv4(cidr *net.IPNet) (uint64, error)

Nipsv4 computes the number of IP addresses in the given IPv4 CIDR.

func Nipsv6

func Nipsv6(cidr *net.IPNet) (*big.Int, error)

Nipsv6 computes the number of IP addresses in the given IPv6 CIDR.

Types

This section is empty.

Jump to

Keyboard shortcuts

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