odtone::net::ip::icmp::router_advertisement
// In header: </home/carlos/Projectos/odtone/inc/odtone/net/ip/icmp/icmp.hpp> class router_advertisement : public odtone::net::ip::icmp::header { public: // construct/copy/destruct router_advertisement(); // public member functions uint8 current_hop_limit() const; bool M() const; bool O() const; uint16 lifetime() const; uint32 reachable_time() const; uint32 retrans_timer() const; void current_hop_limit(uint8); void M(bool); void O(bool); void lifetime(uint16); void reachable_time(uint32); void retrans_timer(uint32); // public data members static const uint8 type_value; static const uint8 code_value; };
This class represents an ICMP Router Advertisement packet.
router_advertisement
public member functionsuint8 current_hop_limit() const;
Get the Current Hop Limit field value.
Returns: |
The Current Hop Limit field value. |
bool M() const;
Get the Managed Address Configuration flag value.
Returns: |
The Managed Address Configuration flag value. |
bool O() const;
Get the Other Configuration flag value.
Returns: |
The Other Configuration flag value. |
uint16 lifetime() const;
Get the Lifetime field value.
Returns: |
The Lifetime field value. |
uint32 reachable_time() const;
Get the Reachable Time field value.
Returns: |
The Reachable Time field value. |
uint32 retrans_timer() const;
Get the Retransmission Timer field value.
Returns: |
The Retransmission Timer field value. |
void current_hop_limit(uint8 val);
Set the Current Hop Limit field value.
Parameters: |
|
void M(bool val);
Set the Managed Address Configuration flag value.
Parameters: |
|
void O(bool val);
Set the Other Configuration flag value.
Parameters: |
|
void lifetime(uint16 val);
Set the Lifetime field value.
Parameters: |
|
void reachable_time(uint32 val);
Set the Reachable Time field value.
Parameters: |
|
void retrans_timer(uint32 val);
Set the Retransmission Timer field value.
Parameters: |
|