TInet6HeaderICMP_NeighborAdv Class Reference

#include <icmp6_hdr.h>

class TInet6HeaderICMP_NeighborAdv : public TInet6HeaderICMP

Inherits from

Detailed Description

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:

Member Function Documentation

HeaderLength ( )

TInt HeaderLength()const [inline]

Reimplemented from TInet6HeaderICMP::HeaderLength()const

Gets the header length.

Note:

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

Returns: Header length.

MaxHeaderLength ( )

TInt MaxHeaderLength()[static, inline]

Reimplemented from TInet6HeaderICMP::MaxHeaderLength()

Gets the maximum header length.

Note:

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

Returns: Maximum header length

MinHeaderLength ( )

TInt MinHeaderLength()[static, inline]

Reimplemented from TInet6HeaderICMP::MinHeaderLength()

Gets the minimum header length.

Returns: Minimum header length

O ( )

TInt O()[inline]

R ( )

TInt R()[inline]

S ( )

TInt S()[inline]

SetO ( TInt )

voidSetO(TIntaValue)[inline]

SetR ( TInt )

voidSetR(TIntaValue)[inline]

SetS ( TInt )

voidSetS(TIntaValue)[inline]

Target ( )

TIp6Addr &Target()const [inline]

Gets the Target Address.

Returns: The target address (reference).