Documentation
¶
Index ¶
- func DNSAnswers(packet gopacket.Packet) []string
- func DNSDomains(packet gopacket.Packet) []string
- func DNSQuestions(packet gopacket.Packet) []string
- func DstIP(packet gopacket.Packet) (netip.Addr, bool)
- func DstPort(packet gopacket.Packet) (uint16, bool)
- func Proto(packet gopacket.Packet) (layers.IPProtocol, bool)
- func Ptr[T any](val T) *T
- func ReversedDomain(domain string) string
- func SrcIP(packet gopacket.Packet) (netip.Addr, bool)
- func SrcPort(packet gopacket.Packet) (uint16, bool)
- func Subnet(str string) (netip.Prefix, bool)
- func Subnets(strs []string) ([]netip.Prefix, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNSAnswers ¶
func DNSDomains ¶ added in v0.3.1
func DNSQuestions ¶
func ReversedDomain ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.