| class TInet6HeaderICMP_Redirect : public TInet6HeaderICMP |
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.
KInet6OptionICMP_TargetLink
KInet6OptionICMP_Redirect
| Public Member Functions | |
|---|---|
| TIp6Addr & | Destination () |
| TInt | HeaderLength () |
| TInt | MaxHeaderLength () |
| TInt | MinHeaderLength () |
| TIp6Addr & | Target () |
| Inherited Attributes | |
|---|---|
| TInet6HeaderICMP::@51 | |
| TInet6HeaderICMP::i | |
| TInet6HeaderICMP::iAlign | |
| TInt | HeaderLength | ( | ) | const [inline] |
Gets the header length.
This length is not the true length of the ICMP header. This only covers the fixed part.
| TInt | MaxHeaderLength | ( | ) | [static, inline] |
Gets the maximum header length.
This length is not the true length of the ICMP header. This only covers the fixed part.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.