'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class template opt_link_layer

odtone::net::ip::opt_link_layer

Synopsis

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

template<uint8 TypeValue> 
class opt_link_layer : public odtone::net::ip::option {
public:
  // construct/copy/destruct
  opt_link_layer();
  opt_link_layer& operator=(const link::address_mac &);

  // public static functions
  static self_type * cast(option *);

  // public member functions
  link::address_mac to_mac() const;

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

Description

opt_link_layer public construct/copy/destruct

  1. opt_link_layer();
  2. opt_link_layer& operator=(const link::address_mac & mac);

opt_link_layer public static functions

  1. static self_type * cast(option * opt);

    Convert an IPv6 Options to an template class.

    Returns:

    The pointer of the returning class.

opt_link_layer public member functions

  1. link::address_mac to_mac() const;

PrevUpHomeNext