iputil

package
v0.0.0-...-456f7df Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchIPAddress

func FetchIPAddress(d map[string]interface{}, mode string) (net.IP, bool)

func FetchPort

func FetchPort(d map[string]interface{}, mode string) uint16

func IsPrivateIP

func IsPrivateIP(ip net.IP) bool

Types

type FlowInfo

type FlowInfo struct {
	IPAddress_A    net.IP
	Hash_A         uint32
	Hash_B         uint32
	Hash_A_Mod     uint32
	Hash_B_Mod     uint32
	Port_A         uint16
	IPAddress_B    net.IP
	Port_B         uint16
	FlowID         string
	FlowIDWithPort string
	Direction      bool
}

Jump to

Keyboard shortcuts

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