netutil

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectServer added in v1.4.1

func ConnectServer(config config.Config) net.Conn

func ExecCmd added in v1.5.6

func ExecCmd(c string, args ...string) string

func GetDestinationKey added in v1.5.3

func GetDestinationKey(packet []byte) string

func GetIPv4Destination added in v1.5.1

func GetIPv4Destination(packet []byte) net.IP

func GetIPv4Source added in v1.5.1

func GetIPv4Source(packet []byte) net.IP

func GetIPv6Destination added in v1.5.1

func GetIPv6Destination(packet []byte) net.IP

func GetIPv6Source added in v1.5.1

func GetIPv6Source(packet []byte) net.IP

func GetLinuxLocalGateway added in v1.5.6

func GetLinuxLocalGateway() string

func GetMacLocalGateway added in v1.5.6

func GetMacLocalGateway() string

func GetPhysicalInterface added in v1.4.2

func GetPhysicalInterface() (name string)

func GetSourceKey added in v1.5.3

func GetSourceKey(packet []byte) string

func IsIPv4 added in v1.5.1

func IsIPv4(packet []byte) bool

func IsIPv6 added in v1.5.1

func IsIPv6(packet []byte) bool

func LookupIP added in v1.4.2

func LookupIP(domain string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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