| Class | Racket::L4::ICMPv6NeighborAdvertisement |
| In: |
lib/racket/l4/icmpv6.rb
(CVS)
|
| Parent: | ICMPv6Generic |
| address | for solicited adverts, the target address field in the solicitation that prompted this. for unsolicited adverts, the address whose link-layer address has changed | |
| bigbustedfield | normally this would be router (1), solicited (1), override(1) and reserved (2), however a bit-struct byte boundary bug bites us here | |
| payload |
# File lib/racket/l4/icmpv6.rb, line 383 def initialize(*args) super(*args) self.type = ICMPv6_TYPE_NEIGHBOR_ADVERTISEMENT end
set override flag
# File lib/racket/l4/icmpv6.rb, line 379 def override=(f) self.bigbustedfield = (f << 29) ^ self.bigbustedfield end
set router flag
# File lib/racket/l4/icmpv6.rb, line 374 def router=(f) self.bigbustedfield = (f << 31) ^ self.bigbustedfield end