BindingUpdate¶
Namespace: inet
class BindingUpdate
(no description)
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 |
||
lifetime |
unsigned int |
in seconds (serialized in RFC 6275 units of 4 seconds) |
sequence |
unsigned int |
|
ackFlag |
bool |
A-Flag (Acknowledge Flag) |
homeRegistrationFlag |
bool |
H-Flag (Home Registration Flag) |
linkLocalAddressCompatibilityFlag |
bool |
L-Flag (Link Local Address Compatibility Flag) |
keyManagementFlag |
bool |
K-Flag (Key Management Flag) Mobility Options not defined |
homeAddressMN |
As BU is supposed to be sent with Home Address Option, therefore i make this part of BU Msg. |
|
bindingAuthorizationData |
int |
28.08.07 - CB |
proxyRegistrationFlag |
bool |
P-flag (RFC 5213 Section 8.1) |
mobileNodeIdentifier |
string |
Mobile Node Identifier option (NAI), RFC 4283 |
homeNetworkPrefix |
Home Network Prefix option, RFC 5213 Section 8.3 |
|
homeNetworkPrefixLength |
uint8_t |
|
handoffIndicator |
uint8_t |
Handoff Indicator option, RFC 5213 Section 8.4 |
accessTechnologyType |
uint8_t |
Access Technology Type option, RFC 5213 Section 8.5 |
timestampValue |
uint64_t |
Timestamp option, RFC 5213 Section 8.8 (0 = ordered by sequence number) |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
class BindingUpdate extends MobilityHeader
{
unsigned int lifetime; // in seconds (serialized in RFC 6275 units of 4 seconds)
unsigned int sequence;
bool ackFlag; //A-Flag (Acknowledge Flag)
bool homeRegistrationFlag; //H-Flag (Home Registration Flag)
bool linkLocalAddressCompatibilityFlag; //L-Flag (Link Local Address Compatibility Flag)
bool keyManagementFlag = false; //K-Flag (Key Management Flag)
//Mobility Options not defined
Ipv6Address homeAddressMN; //As BU is supposed to be sent with Home Address Option, therefore i make this part of BU Msg.
// 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 Binding Update is a Proxy Binding Update (PBU) sent by a Mobile
// Access Gateway on behalf of an unmodified mobile node, and it carries the
// proxy mobility options below. The options are serialized on the wire only
// when the P-flag is set, so plain MIPv6 BUs are byte-identical to before.
//
bool proxyRegistrationFlag = false; // P-flag (RFC 5213 Section 8.1)
string mobileNodeIdentifier; // Mobile Node Identifier option (NAI), RFC 4283
Ipv6Address homeNetworkPrefix; // Home Network Prefix option, RFC 5213 Section 8.3
uint8_t homeNetworkPrefixLength = 0;
uint8_t handoffIndicator = 0; // Handoff Indicator option, RFC 5213 Section 8.4
uint8_t accessTechnologyType = 0; // Access Technology Type option, RFC 5213 Section 8.5
uint64_t timestampValue = 0; // Timestamp option, RFC 5213 Section 8.8 (0 = ordered by sequence number)
}