Class: Capp::Packet::EthernetHeader
- Inherits:
-
Struct
- Object
- Struct
- Capp::Packet::EthernetHeader
- Defined in:
- lib/capp/packet.rb
Overview
802.3 Ethernet header
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#source ⇒ Object
Returns the value of attribute source.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination
37 38 39 |
# File 'lib/capp/packet.rb', line 37 def destination @destination end |
#source ⇒ Object
Returns the value of attribute source
37 38 39 |
# File 'lib/capp/packet.rb', line 37 def source @source end |
#type ⇒ Object
Returns the value of attribute type
37 38 39 |
# File 'lib/capp/packet.rb', line 37 def type @type end |