Versions in this module Expand all Collapse all v0 v0.3.0 Mar 21, 2026 Changes in this version + const DNSStatusResolved + const DNSStatusResponseOnly + const DNSStatusTimeout + func DNSResponseCodeString(code layers.DNSResponseCode) string + type DNSAnswer struct + Name string + TTL int64 + Type string + Value string + func ConvertDNSAnswers(answers []layers.DNSResourceRecord) []DNSAnswer + type DNSLog struct + Answers []DNSAnswer + ClientAddr net.IP + ClientPort uint32 + ID uuid.UUID + QueryAt *time.Time + Questions []DNSQuestion + ResponseAt *time.Time + ResponseCode string + ServerAddr net.IP + ServerPort uint32 + Status string + TransactionID uint16 + type DNSQuestion struct + Name string + Type string + func ConvertDNSQuestions(questions []layers.DNSQuestion) []DNSQuestion type Record + DNSLogs []*DNSLog v0.2.0 Mar 21, 2026 Changes in this version type Peer + HWAddr net.HardwareAddr + Names []string + func (x *Peer) UnmarshalJSON(data []byte) error + func (x Peer) MarshalJSON() ([]byte, error) v0.1.0 Mar 20, 2026 Changes in this version + type Flow struct + Dst Peer + DstStat PeerStat + FirstSeenAt time.Time + ID uuid.UUID + LastSeenAt time.Time + Protocol string + Src Peer + SrcStat PeerStat + Status string + func NewFlow(src, dst Peer, proto string, now time.Time, stat PeerStat) *Flow + func (x *Flow) Key() FlowKey + func (x *Flow) Update(src *Peer, now time.Time, stat PeerStat) + type FlowBase struct + type FlowKey uint64 + func CalcFlowKey(p1, p2 *Peer, proto string) FlowKey + type Peer struct + Addr net.IP + Port uint32 + func (x Peer) Equal(y *Peer) bool + type PeerStat struct + Bytes uint64 + Packets uint64 + func (x *PeerStat) Add(y *PeerStat) + type Record struct + FlowLogs []*Flow + type Tick int64