class

Filament::Dissect::Layer7::DnsDissector

Inherits Filament::Dissect::Dissector < Reference < Object

Class methods

read_name(data : Bytes, offset : Int32, base_offset : Int32 = 0) : Tuple(String, Int32)

Resolves a compressed or uncompressed domain name starting at byte offset Returns tuple of {resolved_string, bytes_consumed_at_primary_offset}

Source
type_to_s(rtype : UInt16) : String

Resolves type code to human readable mnemonic

Source

Instance methods

dissect(data : Bytes, offset : UInt32) : DissectResult
Source
name
Source
protocol
Source