Class: FFI::Packets::Icmp::Hdr::Msg::RtrAdvert
- Inherits:
-
Struct
- Object
- Struct
- FFI::Packets::Icmp::Hdr::Msg::RtrAdvert
- Includes:
- DRY::NetStructHelper
- Defined in:
- lib/ffi/packets/icmp.rb
Overview
Router advertisement message data structure, RFC 1256
struct icmp_msg_rtradvert {
uint8_t icmp_num_addrs; /* # of address / pref pairs */
uint8_t icmp_wpa; /* words / address == 2 */
uint16_t icmp_lifetime; /* route lifetime in seconds */
struct icmp_msg_rtr_data {
uint32_t icmp_void;
uint32_t icmp_pref; /* router preference (usu 0) */
} icmp_rtr __flexarr; /* variable # of routers */
};
Defined Under Namespace
Classes: RtrData