cidr

package
v0.0.0-...-30cfb5d Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpV4Str

func IpV4Str(ipaddress uint32) string

Types

type CidrBlock

type CidrBlock struct {
	// contains filtered or unexported fields
}

func NewCidr

func NewCidr(cidr string) (*CidrBlock, error)

func (*CidrBlock) GetBroadcastAddress

func (cb *CidrBlock) GetBroadcastAddress() string

func (*CidrBlock) GetCidr

func (cb *CidrBlock) GetCidr() string

func (*CidrBlock) GetNetworkAddress

func (cb *CidrBlock) GetNetworkAddress() string

func (*CidrBlock) Print

func (cb *CidrBlock) Print() int

Jump to

Keyboard shortcuts

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