TInet6HeaderAH Class Reference

class TInet6HeaderAH

IPsec Authentication Header.

The function parameters and return values are in host order, except SPI, which is always in network byte order.
        Extract from RFC-2402

    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Next Header   |  Payload Len  |          RESERVED             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                 Security Parameters Index (SPI)               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    Sequence Number Field                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   +                Authentication Data (variable)                 |
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       

Member Functions Documentation

DataLength()

TInt DataLength ( ) const [inline]

EndPtr()

TUint8 * EndPtr ( ) [inline]

HeaderLength()

TInt HeaderLength ( ) const [inline]

ICV()

TPtr8 ICV ( ) [inline]

MaxHeaderLength()

TInt MaxHeaderLength ( ) [static, inline]

MinHeaderLength()

TInt MinHeaderLength ( ) [static, inline]

NextHeader()

TInt NextHeader ( ) const [inline]

PayloadLength()

TInt PayloadLength ( ) const [inline]

SPI()

TUint32 SPI ( ) const [inline]

Sequence()

TUint32 Sequence ( ) const [inline]

SetHeaderLength(TInt)

void SetHeaderLength ( TInt aLength ) [inline]

Parameters

TInt aLength

SetNextHeader(TInt)

void SetNextHeader ( TInt aNext ) [inline]

Parameters

TInt aNext

SetPayloadLength(TInt)

void SetPayloadLength ( TInt aByte ) [inline]

Parameters

TInt aByte

SetReserved(TInt)

void SetReserved ( TInt aValue ) [inline]

Parameters

TInt aValue

SetSPI(TUint32)

void SetSPI ( TUint32 aSPI ) [inline]

Parameters

TUint32 aSPI

SetSequence(TUint32)

void SetSequence ( TUint32 aSeq ) [inline]

Parameters

TUint32 aSeq

Member Data Documentation

union TInet6HeaderAH::@48 @49

union TInet6HeaderAH::@48 @49 [protected]

TUint8 i

TUint8 i

TUint32 iAlign

TUint32 iAlign