cidr

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Overview

Package cidr provides common functions useful when working with Classless Inter-Domain Routing (CIDR)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastAddress

func BroadcastAddress(ipNet *net.IPNet) net.IP

BroadcastAddress returns the last IP address of an IP network

func NetworkAddress

func NetworkAddress(ipNet *net.IPNet) net.IP

NetworkAddress teturns the first IP address of an IP network

Types

This section is empty.

Jump to

Keyboard shortcuts

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