IPsecEspHeader¶
Namespace: inet::ipsec
class IPsecEspHeader
IPsec ESP header (RFC 4303).
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
||
spi |
uint32_t |
security parameters index |
sequenceNumber |
uint32_t |
|
icvBytes |
unsigned int |
non-existent field, coded in SPI |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// IPsec ESP header (RFC 4303).
//
class IPsecEspHeader extends FieldsChunk
{
chunkLength = B(ESP_FIXED_HEADER_BYTES);
uint32_t spi; // security parameters index
uint32_t sequenceNumber;
unsigned int icvBytes; // non-existent field, coded in SPI
}
File: src/inet/networklayer/ipsec/IPsecEncapsulatingSecurityPayload.msg