cidr

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package cidr contains functions that deal with classless reverse zones in the DNS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse

func Reverse(nets []string) []string

Reverse return the reverse zones that are authoritative for each net in ns.

func Split added in v1.8.5

func Split(n *net.IPNet) []string

Split returns a slice of non-overlapping subnets that in union equal the subnet n, and where each subnet falls on a reverse name segment boundary. for ipv4 this is any multiple of 8 bits (/8, /16, /24 or /32) for ipv6 this is any multiple of 4 bits

Types

This section is empty.

Jump to

Keyboard shortcuts

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