#include <icmp6_hdr.h>
class TInet6HeaderICMP_Redirect : public TInet6HeaderICMP |
Public Member Functions | |
---|---|
TIp6Addr & | Destination() |
TInt | HeaderLength() |
TInt | MaxHeaderLength() |
TInt | MinHeaderLength() |
TIp6Addr & | Target() |
Inherited Attributes | |
---|---|
TInet6HeaderICMP::@51 | |
TInet6HeaderICMP::i | |
TInet6HeaderICMP::iAlign |
Redirect Message Format (RFC-2461) 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Code | Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + + | | + Target Address + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + + | | + Destination Address + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Options ... +-+-+-+-+-+-+-+-+-+-+-+-
Above is longer thant what is declared in the base class i-member. The user must verify the sufficient length of the packet, when using this.
TIp6Addr & | Destination | ( | ) | const [inline] |
Gets the Destination Address.
Returns: The destination address (reference).
TInt | HeaderLength | ( | ) | const [inline] |
Reimplemented from TInet6HeaderICMP::HeaderLength()const
Gets the header length.
This length is not the true length of the ICMP header. This only covers the fixed part.
Returns: Header length.
TInt | MaxHeaderLength | ( | ) | [static, inline] |
Reimplemented from TInet6HeaderICMP::MaxHeaderLength()
Gets the maximum header length.
This length is not the true length of the ICMP header. This only covers the fixed part.
Returns: Maximum header length
TInt | MinHeaderLength | ( | ) | [static, inline] |
Reimplemented from TInet6HeaderICMP::MinHeaderLength()
Gets the minimum header length.
Returns: Minimum header length