get

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 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 DNSItems added in v0.3.0

func DNSItems(packet gopacket.Packet) []string

func DNSQuestions

func DNSQuestions(packet gopacket.Packet) []string

func PacketSrcIP

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

func Ptr

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

func ReversedDomain added in v0.3.0

func ReversedDomain(domain string) string

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