IPsecEspTrailer¶
Namespace: inet::ipsec
class IPsecEspTrailer
IPsec ESP trailer (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 |
||
padLength |
uint8_t |
|
nextHeader |
uint8_t |
IP Protocol number defined by IANA (4 = IPv4; 41 IPv6; 6 = TCP) |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// IPsec ESP trailer (RFC 4303).
//
class IPsecEspTrailer extends FieldsChunk
{
chunkLength = B(ESP_FIXED_PAYLOAD_TRAILER_BYTES);
uint8_t padLength;
uint8_t nextHeader; // IP Protocol number defined by IANA (4 = IPv4; 41 IPv6; 6 = TCP)
}
File: src/inet/networklayer/ipsec/IPsecEncapsulatingSecurityPayload.msg