TInet6HeaderICMP_NeighborAdv Class Reference

class TInet6HeaderICMP_NeighborAdv : public TInet6HeaderICMP
ICMPv6 Neighbour Advertisement layout.
        Neighbor Advertisement Message Format (from 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             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|R|S|O|                     Reserved                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
+                                                               +
|                                                               |
+                       Target Address                          +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Options ...
+-+-+-+-+-+-+-+-+-+-+-+-
       
Note:

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.

Valid options:
  • KInet6OptionICMP_TargetLink

Inherits from

Member Functions Documentation

HeaderLength()

TInt HeaderLength ( ) const [inline]

Gets the header length.

Note:

This length is not the true length of the ICMP header. This only covers the fixed part.

MaxHeaderLength()

TInt MaxHeaderLength ( ) [static, inline]

Gets the maximum header length.

Note:

This length is not the true length of the ICMP header. This only covers the fixed part.

MinHeaderLength()

TInt MinHeaderLength ( ) [static, inline]

Gets the minimum header length.

O()

TInt O ( ) [inline]

R()

TInt R ( ) [inline]

S()

TInt S ( ) [inline]

SetO(TInt)

void SetO ( TInt aValue ) [inline]

Parameters

TInt aValue

SetR(TInt)

void SetR ( TInt aValue ) [inline]

Parameters

TInt aValue

SetS(TInt)

void SetS ( TInt aValue ) [inline]

Parameters

TInt aValue

Target()

TIp6Addr & Target ( ) const [inline]

Gets the Target Address.