TInet6HeaderESP Class Reference
IPsec Encapsulating Security Payload Packet Format.
The function parameters and return values are in host order (except SPI, which is always in network byte order)
RFC-2406
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ----
| Security Parameters Index (SPI) | ^Auth.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Cov-
| Sequence Number | |erage
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ----
| Payload Data* (variable) | | ^
~ ~ | |
| | |Conf.
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Cov-
| | Padding (0-255 bytes) | |erage*
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |
| | Pad Length | Next Header | v v
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ------
| Authentication Data (variable) |
~ ~
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This only defines the fixed portion of the ESP, 8 bytes).
Protected Attributes
|
union TInet6HeaderESP::@50
|
@51
|
Member Functions Documentation
HeaderLength()
TInt
|
HeaderLength
|
(
|
)
|
const [inline]
|
MaxHeaderLength()
TInt
|
MaxHeaderLength
|
(
|
)
|
[static, inline]
|
MinHeaderLength()
TInt
|
MinHeaderLength
|
(
|
)
|
[static, inline]
|
Sequence()
TUint32
|
Sequence
|
(
|
)
|
const [inline]
|
SetSPI(TUint32)
void
|
SetSPI
|
(
|
TUint32
|
aSPI
|
)
|
[inline]
|
SetSequence(TUint32)
void
|
SetSequence
|
(
|
TUint32
|
aSeq
|
)
|
[inline]
|
Member Data Documentation
union TInet6HeaderESP::@50 @51
union TInet6HeaderESP::@50
|
@51
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.