'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class opt_prefix_info

odtone::net::ip::opt_prefix_info

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/ip/icmp/icmp_options.hpp>


class opt_prefix_info : public odtone::net::ip::option {
public:
  // types
  typedef prefix_v6::bytes_type bytes_type;

  // construct/copy/destruct
  opt_prefix_info();

  // public member functions
  prefix_v6 prefix() const;
  uint8 plength() const;
  bool L() const;
  bool A() const;
  void valid_lifetime(uint32);
  void prefered_lifetime(uint32);
  void prefix(const prefix_v6 &);
  void L(bool);
  void A(bool);

  // public data members
  static const uint8 type_value;
  static const size_t static_size;
};

Description

opt_prefix_info public construct/copy/destruct

  1. opt_prefix_info();

opt_prefix_info public member functions

  1. prefix_v6 prefix() const;
  2. uint8 plength() const;
  3. bool L() const;
  4. bool A() const;
  5. void valid_lifetime(uint32 val);
  6. void prefered_lifetime(uint32 val);
  7. void prefix(const prefix_v6 & val);
  8. void L(bool val);
  9. void A(bool val);

PrevUpHomeNext