BindingAcknowledgement¶
Namespace: inet
class BindingAcknowledgement
==================Defining Binding Acknowledgement Message===================
Usage diagram¶
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 |
||
mobilityHeaderType |
||
status |
||
sequenceNumber |
unsigned int |
|
lifetime |
unsigned int |
in seconds (serialized in RFC 6275 units of 4 seconds) |
keyManagementFlag |
bool |
K-Flag (Key Management Flag) Mobility Options not defined |
bindingAuthorizationData |
int |
28.08.07 - CB |
proxyRegistrationFlag |
bool |
P-flag (RFC 5213 Section 8.1) |
mobileNodeIdentifier |
string |
Mobile Node Identifier option (NAI), echoed back |
homeNetworkPrefix |
Home Network Prefix option (assigned/confirmed) |
|
homeNetworkPrefixLength |
uint8_t |
|
timestampValue |
uint64_t |
Timestamp option, RFC 5213 Section 8.8 |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//==================Defining Binding Acknowledgement Message===================
class BindingAcknowledgement extends MobilityHeader
{
BaStatus status;
unsigned int sequenceNumber;
unsigned int lifetime; // in seconds (serialized in RFC 6275 units of 4 seconds)
bool keyManagementFlag = false;//K-Flag (Key Management Flag)
//Mobility Options not defined
// for CN communication; value different from 0 shows that it is used
int bindingAuthorizationData = 0; // 28.08.07 - CB
//
// Proxy Mobile IPv6 (RFC 5213). When proxyRegistrationFlag (the P-flag) is
// set, this is a Proxy Binding Acknowledgement (PBA) and carries the proxy
// mobility options below (only serialized when the P-flag is set, so plain
// MIPv6 BAs are byte-identical to before).
//
bool proxyRegistrationFlag = false; // P-flag (RFC 5213 Section 8.1)
string mobileNodeIdentifier; // Mobile Node Identifier option (NAI), echoed back
Ipv6Address homeNetworkPrefix; // Home Network Prefix option (assigned/confirmed)
uint8_t homeNetworkPrefixLength = 0;
uint64_t timestampValue = 0; // Timestamp option, RFC 5213 Section 8.8
}