Documentation
¶
Index ¶
- func AatoBytes(ips []string) []byte
- func AtoBytes(ip string) []byte
- func Atoi(ip string) uint32
- func BytesToA(ip []byte) string
- func GetBroadcast(ip string, maskBits uint) string
- func GetFirstIPv4(ip, mask string) string
- func GetIPv4NetmaskBits(mask string) int
- func GetVeryFirstIPv4(ip, mask string) string
- func IsIPGreaterEqual(ip0, ip1 string) bool
- func IsIPv4(ip string) bool
- func IsIPv4Netmask(mask string) bool
- func IsSameSubnet(ip0, ip1, mask string) bool
- func IsTCPAddrOccupied(addr string) bool
- func ItoBytes(ip uint32) []byte
- func Itoa(ip uint32) string
- func ParseBroadcast(ip, netmask string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBroadcast ¶
func GetFirstIPv4 ¶
func GetIPv4NetmaskBits ¶
func GetVeryFirstIPv4 ¶
func IsIPGreaterEqual ¶
func IsIPv4Netmask ¶
func IsSameSubnet ¶
func IsTCPAddrOccupied ¶
func ParseBroadcast ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.