Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ASCIIBytesToPrintString ¶
ASCIIBytesToPrintString converts the buffer b to the closest ASCII string equivalent, substituting '*' for unprintable characters.
func CtIsZero ¶
CtIsZero returns true iff the buffer b is all 0x00, doing the check in constant time.
func EnsureAddrIPPort ¶
EnsureAddrIPPort returns nil iff the address is a raw IP + Port combination.
func ExplicitBzero ¶
func ExplicitBzero(b []byte)
ExplicitBzero explicitly clears out the buffer b, by filling it with 0x00 bytes.
func GetExternalIPv4Address ¶
GetExternalIPv4Address attempts to guess an external IPv4 address by interface enumeration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.