Class: Capp::Packet::UDPHeader
- Inherits:
-
Struct
- Object
- Struct
- Capp::Packet::UDPHeader
- Defined in:
- lib/capp/packet.rb
Overview
UDP header. See RFC 768
Instance Attribute Summary collapse
-
#checksum ⇒ Object
Returns the value of attribute checksum.
-
#destination_port ⇒ Object
(also: #destination)
Returns the value of attribute destination_port.
-
#length ⇒ Object
Returns the value of attribute length.
-
#source_port ⇒ Object
(also: #source)
Returns the value of attribute source_port.
Instance Attribute Details
#checksum ⇒ Object
Returns the value of attribute checksum
130 131 132 |
# File 'lib/capp/packet.rb', line 130 def checksum @checksum end |
#destination_port ⇒ Object Also known as: destination
Returns the value of attribute destination_port
130 131 132 |
# File 'lib/capp/packet.rb', line 130 def destination_port @destination_port end |
#length ⇒ Object
Returns the value of attribute length
130 131 132 |
# File 'lib/capp/packet.rb', line 130 def length @length end |
#source_port ⇒ Object Also known as: source
Returns the value of attribute source_port
130 131 132 |
# File 'lib/capp/packet.rb', line 130 def source_port @source_port end |