Method: PacketFu::Octets#o1

Defined in:
lib/packetfu/protos/ip/header.rb

#o1Object

Returns the value for the first octet



77
78
79
# File 'lib/packetfu/protos/ip/header.rb', line 77

def o1
  (self.to_i >> 24) & 0xff
end