Class: Capp::Packet::ICMPHeader
- Inherits:
-
Struct
- Object
- Struct
- Capp::Packet::ICMPHeader
- Defined in:
- lib/capp/packet.rb
Overview
ICMP header. See RFC 792
Instance Attribute Summary collapse
-
#checksum ⇒ Object
Returns the value of attribute checksum.
-
#code ⇒ Object
Returns the value of attribute code.
-
#data ⇒ Object
Returns the value of attribute data.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#checksum ⇒ Object
Returns the value of attribute checksum
42 43 44 |
# File 'lib/capp/packet.rb', line 42 def checksum @checksum end |
#code ⇒ Object
Returns the value of attribute code
42 43 44 |
# File 'lib/capp/packet.rb', line 42 def code @code end |
#data ⇒ Object
Returns the value of attribute data
42 43 44 |
# File 'lib/capp/packet.rb', line 42 def data @data end |
#type ⇒ Object
Returns the value of attribute type
42 43 44 |
# File 'lib/capp/packet.rb', line 42 def type @type end |