idp

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DNSRTT ksyncmap.Map

Functions

func CalculateDNSRTT

func CalculateDNSRTT(d map[string]interface{}, r *DnsMsg) float64

func DecodeIDPField

func DecodeIDPField(d map[string]interface{}) error

func IsDNSPacket

func IsDNSPacket(d map[string]interface{}) bool

func ParseDNSPacket

func ParseDNSPacket(d map[string]interface{}, packet gopacket.Packet)

Types

type DnsMsg

type DnsMsg struct {
	TrasactionID uint16
	QueryName    string
	AnswersIP    []string
	AnswersName  []string
	AnswersCount int
	ResponseType string
	ResponseCode int
	OpCode       int
}

func DecodeDNS

func DecodeDNS(packet gopacket.Packet) []*DnsMsg

func (*DnsMsg) String

func (d *DnsMsg) String() string

Jump to

Keyboard shortcuts

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