'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Class neighbor_solicitation

odtone::net::ip::icmp::neighbor_solicitation

Synopsis

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



class neighbor_solicitation : public odtone::net::ip::icmp::header {
public:
  // construct/copy/destruct
  neighbor_solicitation();

  // public member functions
  void target(const address_v6::bytes_type &);
  const address_v6::bytes_type & target() const;

  // public data members
  static const uint8 type_value;
  static const uint8 code_value;
};

Description

This class represents an ICMP Neighbor Solicitation packet.

neighbor_solicitation public construct/copy/destruct

  1. neighbor_solicitation();

    Construct an empty ICMP Neighbor Solicitation packet.

neighbor_solicitation public member functions

  1. void target(const address_v6::bytes_type & addr);

    Set the Target address field value.

    Parameters:

    addr

    The Target Address field value.

  2. const address_v6::bytes_type & target() const;

    Get the Target address field value.

    Returns:

    The Target Address field value.

neighbor_solicitation public public data members

  1. static const uint8 type_value;

    ICMP Neighbor Solicitation type.

  2. static const uint8 code_value;

    ICMP Neighbor Solicitation type.


PrevUpHomeNext