network

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIP

func GetIP(i [2]uint64, family uint16) net.IP

func GetIPv4 added in v0.11.0

func GetIPv4(i uint32) net.IP

func InetFamily

func InetFamily(family uint16) string

func InetFamilyNumber added in v0.11.0

func InetFamilyNumber(family string) (uint16, error)

func InetProtocol

func InetProtocol(proto uint16) string

func InetProtocolNumber added in v0.10.0

func InetProtocolNumber(proto string) (uint16, error)

func InetType

func InetType(ty uint16) string

func SwapByte

func SwapByte(b uint16) uint16

func TcpState added in v0.11.0

func TcpState(state uint8) string

func TcpStateNumber added in v0.11.0

func TcpStateNumber(state string) (uint8, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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