Class PacketFu::EthNic
In: lib/packetfu/eth.rb
Parent: Struct.new(:n0, :n1, :n2)

EthNic is the Network Interface Controler portion of a MAC address, used in EthHeader.

Header Definition

 Fixnum :n1
 Fixnum :n2
 Fixnum :n3

Methods

new   read   to_s  

Public Class methods

EthNic does not enjoy StructFu typing.

Public Instance methods

Reads a string to populate the object.

Returns the object in string form.

[Validate]