ipsubnet: github.com/brotherpowers/ipsubnet Index | Files

package ipsubnet

import "github.com/brotherpowers/ipsubnet"

Index

Package Files

hostPortion.go ip.go ipPortion.go networkInfo.go networkPortion.go subnetPortion.go

type Ip Uses

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

func SubnetCalculator Uses

func SubnetCalculator(ip string, networkSize int) *Ip

func (*Ip) GetBroadcastAddress Uses

func (s *Ip) GetBroadcastAddress() string

func (*Ip) GetHostPortion Uses

func (s *Ip) GetHostPortion() string

func (*Ip) GetHostPortionBinary Uses

func (s *Ip) GetHostPortionBinary() string

func (*Ip) GetHostPortionHex Uses

func (s *Ip) GetHostPortionHex() string

func (*Ip) GetHostPortionQuards Uses

func (s *Ip) GetHostPortionQuards() []int

func (*Ip) GetIPAddress Uses

func (s *Ip) GetIPAddress() string

func (*Ip) GetIPAddressBinary Uses

func (s *Ip) GetIPAddressBinary() string

func (*Ip) GetIPAddressHex Uses

func (s *Ip) GetIPAddressHex() string

func (*Ip) GetIPAddressQuads Uses

func (s *Ip) GetIPAddressQuads() []int

func (*Ip) GetIPAddressRange Uses

func (s *Ip) GetIPAddressRange() []string

func (*Ip) GetNetworkPortion Uses

func (s *Ip) GetNetworkPortion() string

func (*Ip) GetNetworkPortionBinary Uses

func (s *Ip) GetNetworkPortionBinary() string

func (*Ip) GetNetworkPortionHex Uses

func (s *Ip) GetNetworkPortionHex() string

func (*Ip) GetNetworkPortionQuards Uses

func (s *Ip) GetNetworkPortionQuards() []int

func (*Ip) GetNetworkSize Uses

func (s *Ip) GetNetworkSize() int

func (*Ip) GetNumberAddressableHosts Uses

func (s *Ip) GetNumberAddressableHosts() int

func (*Ip) GetNumberIPAddresses Uses

func (s *Ip) GetNumberIPAddresses() int

func (*Ip) GetSubnetMask Uses

func (s *Ip) GetSubnetMask() string

func (*Ip) GetSubnetMaskBinary Uses

func (s *Ip) GetSubnetMaskBinary() string

func (*Ip) GetSubnetMaskHex Uses

func (s *Ip) GetSubnetMaskHex() string

func (*Ip) GetSubnetMaskQuards Uses

func (s *Ip) GetSubnetMaskQuards() []int

Package ipsubnet imports 3 packages (graph). Updated 2017-09-21. Refresh now. Tools for package owners.