Class: Racket::L4::ICMPEchoRequest
- Inherits:
-
ICMPEcho
- Object
- BitStruct
- RacketPart
- ICMPGeneric
- ICMPEcho
- Racket::L4::ICMPEchoRequest
- Defined in:
- lib/racket/l4/icmp.rb
Overview
ICMP Echo Request
Constant Summary
Constants inherited from ICMPGeneric
Racket::L4::ICMPGeneric::ICMP_TYPE_ADDRESS_MASK_REPLY, Racket::L4::ICMPGeneric::ICMP_TYPE_ADDRESS_MASK_REQUEST, Racket::L4::ICMPGeneric::ICMP_TYPE_DESTINATION_UNREACHABLE, Racket::L4::ICMPGeneric::ICMP_TYPE_ECHO_REPLY, Racket::L4::ICMPGeneric::ICMP_TYPE_ECHO_REQUEST, Racket::L4::ICMPGeneric::ICMP_TYPE_INFO_REPLY, Racket::L4::ICMPGeneric::ICMP_TYPE_INFO_REQUEST, Racket::L4::ICMPGeneric::ICMP_TYPE_MOBILE_IP_ADVERTISEMENT, Racket::L4::ICMPGeneric::ICMP_TYPE_PARAMETER_PROBLEM, Racket::L4::ICMPGeneric::ICMP_TYPE_REDIRECT, Racket::L4::ICMPGeneric::ICMP_TYPE_ROUTER_SOLICITATION, Racket::L4::ICMPGeneric::ICMP_TYPE_SOURCE_QUENCH, Racket::L4::ICMPGeneric::ICMP_TYPE_TIMESTAMP_REPLY, Racket::L4::ICMPGeneric::ICMP_TYPE_TIMESTAMP_REQUEST, Racket::L4::ICMPGeneric::ICMP_TYPE_TIME_EXCEEDED
Instance Attribute Summary
Attributes inherited from RacketPart
Instance Method Summary collapse
-
#initialize(*args) ⇒ ICMPEchoRequest
constructor
A new instance of ICMPEchoRequest.
Methods inherited from ICMPGeneric
Methods inherited from RacketPart
Constructor Details
#initialize(*args) ⇒ ICMPEchoRequest
Returns a new instance of ICMPEchoRequest.
114 115 116 117 118 |
# File 'lib/racket/l4/icmp.rb', line 114 def initialize(*args) super(*args) self.type = 8 self.code = 0 end |