IPsecAuthenticationHeader

Namespace: inet::ipsec

class IPsecAuthenticationHeader

IPsec AH header (RFC 4302).

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

mirror IPsecEspHeader; without this a FieldsChunk has length 0 and insertAtFront() rejects it as empty

nextHeader

uint8_t

IP Protocol number defined by IANA (4 = IPv4; 41 = IPv6; 6 = TCP)

payloadLength

uint8_t

reserved

uint16_t

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 AH header (RFC 4302).
//
class IPsecAuthenticationHeader extends FieldsChunk
{
    chunkLength = B(IP_AH_HEADER_BYTES); // mirror IPsecEspHeader; without this a FieldsChunk has length 0 and insertAtFront() rejects it as empty
    uint8_t nextHeader; // IP Protocol number defined by IANA (4 = IPv4; 41 = IPv6; 6 = TCP)
    uint8_t payloadLength;
    uint16_t reserved;
    uint32_t spi; // security parameters index
    uint32_t sequenceNumber;
    unsigned int icvBytes; // non-existent field, coded in SPI
}

File: src/inet/networklayer/ipsec/IPsecAuthenticationHeader.msg