odtone::net::ip::icmp6_ra_packet
// In header: </home/carlos/Projectos/odtone/inc/odtone/net/ip/icmp/icmp6_ra_packet.hpp> class icmp6_ra_packet { public: // types typedef odtone::ip::icmp::router_advertisement header; typedef std::vector< boost::asio::const_buffers_1 > const_buffers; // construct/copy/destruct icmp6_ra_packet(); icmp6_ra_packet(uint8, uint16, uint32, uint32); // public member functions void operator()(uint8, uint16, uint32, uint32); template<typename Option> Option * add_option(); template<typename Option> Option * add_option(size_t); void notify(const ipv6_packet::pseudo_header &); size_t size() const; const_buffers cbuffer() const; // public data members static const uint8 ipv6_next_header; };
icmp6_ra_packet
public member functionsvoid operator()(uint8 current_hop_limit, uint16 lifetime, uint32 reachable_time, uint32 retrans_timer);
template<typename Option> Option * add_option();
template<typename Option> Option * add_option(size_t len);
void notify(const ipv6_packet::pseudo_header & ph);
size_t size() const;
const_buffers cbuffer() const;