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)

voidSetHeaderLength(TIntaLength)[inline]

Parameters

TInt aLength

SetNextHeader(TInt)

voidSetNextHeader(TIntaNext)[inline]

Parameters

TInt aNext

SetPayloadLength(TInt)

voidSetPayloadLength(TIntaByte)[inline]

Parameters

TInt aByte

SetReserved(TInt)

voidSetReserved(TIntaValue)[inline]

Parameters

TInt aValue

SetSPI(TUint32)

voidSetSPI(TUint32aSPI)[inline]

Parameters

TUint32 aSPI

SetSequence(TUint32)

voidSetSequence(TUint32aSeq)[inline]

Parameters

TUint32 aSeq

Member Data Documentation

union TInet6HeaderAH::@48 @49

union TInet6HeaderAH::@48@49[protected]

TUint8 i

TUint8 i

TUint32 iAlign

TUint32 iAlign