'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class icmp6_ra_packet

odtone::net::ip::icmp6_ra_packet

Synopsis

// 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;
};

Description

icmp6_ra_packet public construct/copy/destruct

  1. icmp6_ra_packet();
  2. icmp6_ra_packet(uint8 current_hop_limit, uint16 lifetime, 
                    uint32 reachable_time, uint32 retrans_timer);

icmp6_ra_packet public member functions

  1. void operator()(uint8 current_hop_limit, uint16 lifetime, 
                    uint32 reachable_time, uint32 retrans_timer);
  2. template<typename Option> Option * add_option();
  3. template<typename Option> Option * add_option(size_t len);
  4. void notify(const ipv6_packet::pseudo_header & ph);
  5. size_t size() const;
  6. const_buffers cbuffer() const;

PrevUpHomeNext