cidr

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

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