Class: Capp::Packet::ARPHeader
- Inherits:
-
Struct
- Object
- Struct
- Capp::Packet::ARPHeader
- Defined in:
- lib/capp/packet.rb
Overview
ARP header. See RFC 826
Instance Attribute Summary collapse
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#sender_hardware_address ⇒ Object
(also: #sha)
Returns the value of attribute sender_hardware_address.
-
#sender_protocol_address ⇒ Object
(also: #spa)
Returns the value of attribute sender_protocol_address.
-
#target_hardware_address ⇒ Object
(also: #tha)
Returns the value of attribute target_hardware_address.
-
#target_protocol_address ⇒ Object
(also: #tpa)
Returns the value of attribute target_protocol_address.
Instance Attribute Details
#hardware ⇒ Object
Returns the value of attribute hardware
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def hardware @hardware end |
#operation ⇒ Object
Returns the value of attribute operation
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def operation @operation end |
#protocol ⇒ Object
Returns the value of attribute protocol
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def protocol @protocol end |
#sender_hardware_address ⇒ Object Also known as: sha
Returns the value of attribute sender_hardware_address
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def sender_hardware_address @sender_hardware_address end |
#sender_protocol_address ⇒ Object Also known as: spa
Returns the value of attribute sender_protocol_address
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def sender_protocol_address @sender_protocol_address end |
#target_hardware_address ⇒ Object Also known as: tha
Returns the value of attribute target_hardware_address
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def target_hardware_address @target_hardware_address end |
#target_protocol_address ⇒ Object Also known as: tpa
Returns the value of attribute target_protocol_address
25 26 27 |
# File 'lib/capp/packet.rb', line 25 def target_protocol_address @target_protocol_address end |