odtone::net::ip::icmp::neighbor_advertisement
// In header: </home/carlos/Projectos/odtone/inc/odtone/net/ip/icmp/icmp.hpp> class neighbor_advertisement : public odtone::net::ip::icmp::header { public: // construct/copy/destruct neighbor_advertisement(); // public member functions void target(const address_v6::bytes_type &); bool R() const; bool S() const; bool O() const; const address_v6::bytes_type & target() const; void R(bool); void S(bool); void O(bool); // public data members static const uint8 type_value; static const uint8 code_value; };
This class represents an ICMP Neighbor Advertisement packet.
neighbor_advertisement
public member functionsvoid target(const address_v6::bytes_type & addr);
Set the Target address field value.
Parameters: |
|
bool R() const;
Get the Router flag value.
Returns: |
The Router flag value. |
bool S() const;
Get the Solicited flag value.
Returns: |
The Solicited flag value. |
bool O() const;
Get the Override flag value.
Returns: |
The Override flag value. |
const address_v6::bytes_type & target() const;
Get the Target address field value.
Returns: |
The Target Address field value. |
void R(bool val);
Set the Router flag value.
Parameters: |
|
void S(bool val);
Set the Solicited flag value.
Parameters: |
|
void O(bool val);
Set the Override flag value.
Parameters: |
|