Class: Racket::L4::ICMPv6NeighborAdvertisement
- Inherits:
-
ICMPv6Generic
- Object
- BitStruct
- RacketPart
- ICMPv6Generic
- Racket::L4::ICMPv6NeighborAdvertisement
- Defined in:
- lib/racket/l4/icmpv6.rb
Overview
Constant Summary
Constants inherited from ICMPv6Generic
Racket::L4::ICMPv6Generic::ICMPv6_TYPE_DESTINATION_UNREACHABLE, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_ECHO_REPLY, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_ECHO_REQUEST, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_INFORMATION_REPLY, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_INFORMATION_REQUEST, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_MLD_DONE, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_MLD_QUERY, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_MLD_REPORT, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_NEIGHBOR_ADVERTISEMENT, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_NEIGHBOR_SOLICITATION, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_PACKET_TOO_BIG, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_PARAMETER_PROBLEM, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_REDIRECT, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_ROUTER_ADVERTISEMENT, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_ROUTER_SOLICITATION, Racket::L4::ICMPv6Generic::ICMPv6_TYPE_TIME_EXCEEDED
Instance Attribute Summary
Attributes inherited from RacketPart
Instance Method Summary collapse
-
#initialize(*args) ⇒ ICMPv6NeighborAdvertisement
constructor
A new instance of ICMPv6NeighborAdvertisement.
-
#override=(f) ⇒ Object
set override flag.
-
#router=(f) ⇒ Object
set router flag.
-
#solicited=(f) ⇒ Object
set solicited flag.
Methods inherited from ICMPv6Generic
#add_option, #checksum!, #checksum?, #fix!, #get_options, #slla, #slla=, #tlla, #tlla=
Methods inherited from RacketPart
Constructor Details
#initialize(*args) ⇒ ICMPv6NeighborAdvertisement
Returns a new instance of ICMPv6NeighborAdvertisement.
383 384 385 386 |
# File 'lib/racket/l4/icmpv6.rb', line 383 def initialize(*args) super(*args) self.type = ICMPv6_TYPE_NEIGHBOR_ADVERTISEMENT end |
Instance Method Details
#override=(f) ⇒ Object
set override flag
379 380 381 |
# File 'lib/racket/l4/icmpv6.rb', line 379 def override=(f) self.bigbustedfield = (f << 29) ^ self.bigbustedfield end |
#router=(f) ⇒ Object
set router flag
374 375 376 |
# File 'lib/racket/l4/icmpv6.rb', line 374 def router=(f) self.bigbustedfield = (f << 31) ^ self.bigbustedfield end |
#solicited=(f) ⇒ Object
set solicited flag
369 370 371 |
# File 'lib/racket/l4/icmpv6.rb', line 369 def solicited=(f) self.bigbustedfield = (f << 30) ^ self.bigbustedfield end |