Rerr¶
Namespace: inet::aodv
class Rerr
Represents an AODV Route Error
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Base packet for AODV Control Packets |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
packetType |
packet type, stored in one byte |
|
noDeleteFlag |
bool |
No delete flag; set when a node has performed a local repair of a link, and upstream nodes should not delete the route. |
reserved |
uint16_t |
Sent as 0; ignored on reception. |
unreachableNodes |
The unreachable destinations included in the message; MUST be at least 1. |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Represents an AODV Route Error
//
class Rerr extends AodvControlPacket
{
// chunkLength = B(4 + N * (4+4)) or B(4 + N * (4+16))
// packetType = RERR or RERR_IPv6
bool noDeleteFlag; // No delete flag; set when a node has performed a local repair of a link, and upstream nodes should not delete the route.
uint16_t reserved = 0; // Sent as 0; ignored on reception.
UnreachableNode unreachableNodes[]; // The unreachable destinations included in the message; MUST be at least 1.
}