netutil

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 9 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 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 GetPhysicalInterface added in v1.4.2

func GetPhysicalInterface() (name string, gateway string, network 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