TInet6HeaderAH Class Reference

#include <ext_hdr.h>

class TInet6HeaderAH

Detailed Description

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 Attribute Documentation

@73

union TInet6HeaderAH::@72@73[protected]

i

iAlign

TUint32 iAlign

Member Function 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]

SetNextHeader ( TInt )

voidSetNextHeader(TIntaNext)[inline]

SetPayloadLength ( TInt )

voidSetPayloadLength(TIntaByte)[inline]

SetReserved ( TInt )

voidSetReserved(TIntaValue)[inline]

SetSPI ( TUint32 )

voidSetSPI(TUint32aSPI)[inline]

SetSequence ( TUint32 )

voidSetSequence(TUint32aSeq)[inline]