Class: Capp::Packet::EthernetHeader

Inherits:
Struct
  • Object
show all
Defined in:
lib/capp/packet.rb

Overview

802.3 Ethernet header

Instance Attribute Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination



37
38
39
# File 'lib/capp/packet.rb', line 37

def destination
  @destination
end

#sourceObject

Returns the value of attribute source



37
38
39
# File 'lib/capp/packet.rb', line 37

def source
  @source
end

#typeObject

Returns the value of attribute type



37
38
39
# File 'lib/capp/packet.rb', line 37

def type
  @type
end