utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfInterfaceExists

func CheckIfInterfaceExists(iface string) error

CheckIfInterfaceExists is ...

func InStrings

func InStrings(ss []string, val string) bool

InStrings check the []string contains the given element

func InterfaceAddresses

func InterfaceAddresses(interfaceName string) (addresses []string)

InterfaceAddresses is ...

func ProcessPorts

func ProcessPorts(transport gopacket.Flow) (srcPort, dstPort int)

ProcessPorts is ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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