Class: PacketGen::Header::ARP
- Inherits:
-
Object
- Object
- PacketGen::Header::ARP
- Defined in:
- lib/pcap2json/packetgen_extensions.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/pcap2json/packetgen_extensions.rb', line 152 def to_h { "hrd" => self.hrd, "pro" => self.pro, "hln" => self.hln, "op" => self.op, "sha" => self.sha, "tha" => self.tha, "tpa" => self.tpa } end |