get

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSAnswers

func DNSAnswers(packet gopacket.Packet) []string

func DNSDomains added in v0.3.1

func DNSDomains(packet gopacket.Packet) []string

func DNSQuestions

func DNSQuestions(packet gopacket.Packet) []string

func DstIP added in v0.9.0

func DstIP(packet gopacket.Packet) (netip.Addr, bool)

func DstPort added in v0.9.0

func DstPort(packet gopacket.Packet) (uint16, bool)

func Proto added in v0.9.0

func Proto(packet gopacket.Packet) (layers.IPProtocol, bool)

func Ptr

func Ptr[T any](val T) *T

func ReversedDomain added in v0.3.0

func ReversedDomain(domain string) string

func SrcIP added in v0.5.0

func SrcIP(packet gopacket.Packet) (netip.Addr, bool)

func SrcPort added in v0.9.0

func SrcPort(packet gopacket.Packet) (uint16, bool)

func Subnet added in v0.3.0

func Subnet(str string) (netip.Prefix, bool)

func Subnets added in v0.3.0

func Subnets(strs []string) ([]netip.Prefix, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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