internal

package
v0.0.0-...-10788ea Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClangEndian string

Clang is set to either "el" or "eb" depending on the host's endianness.

View Source
var NativeEndian binary.ByteOrder

NativeEndian is set to either binary.BigEndian or binary.LittleEndian, depending on the host's endianness.

Functions

func IPToInt

func IPToInt(ip net.IP) uint32

IPToInt converts net.IP to IPv4 number

func IntToIP

func IntToIP(ipNum uint32) net.IP

intToIP converts IPv4 number to net.IP

func StringToIPv4

func StringToIPv4(ipStr string) (net.IP, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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