subnet

package
v2.1.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package subnet contains functions for finding available subnets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAvailableClassC

func FindAvailableClassC() (*net.IPNet, error)

FindAvailableClassC returns the first class C subnet CIDR in the address ranges reserved for private (non-routed) use that isn't in use by an existing network interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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