Documentation ¶
Index ¶
- Variables
- func AddressesFromCIDR(cidr string, out chan string, quit chan int) error
- func GetUint16Bytes(v int) (elen []byte)
- func IPv42UInt(ips string) (uint32, error)
- func RandomBytes(numBytes int) (randomBytes []byte)
- func RandomGrease() (grease []byte)
- func UInt2IPv4(ipi uint32) string
- func ValidPort(port int) (valid bool)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddressesFromCIDR ¶
AddressesFromCIDR parses a CIDR and writes individual IPs to a channel
func GetUint16Bytes ¶
GetUint16Bytes return 16-bit (BE) version of the input
func RandomBytes ¶
func RandomGrease ¶
func RandomGrease() (grease []byte)
RandomGrease returns a randomly chosen "grease" value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.