Class: HiddenHippo::Packets::Dns

Inherits:
Packet
  • Object
show all
Defined in:
lib/hidden_hippo/packets/dns.rb

Instance Method Summary collapse

Methods inherited from Packet

field, fields, filter, #mac_dest, #mac_src, parse, tshark_fields

Instance Method Details

#request?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/hidden_hippo/packets/dns.rb', line 18

def request?
  !response?
end

#response?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/hidden_hippo/packets/dns.rb', line 14

def response?
  response
end