Rerr

Rerr

class

C++ definition

Represents an AODV Route Error

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
AodvControlPacket class

Base packet for AODV Control Packets

Fields

Name Type Description
noDeleteFlag bool

chunkLength = B(4 + N * (4+4)) or B(4 + N * (4+16)) packetType = RERR or RERR_IPv6

reserved uint16_t

Sent as 0; ignored on reception.

unreachableNodes UnreachableNode[]

The unreachable destinations included in the message; MUST be at least 1.

packetType AodvControlPacketType

packet type, stored in one byte

id int
mutable bool
complete bool
correct bool
properlyRepresented bool
chunkLength b
rawBin string[]
rawHex string[]
regionTags SharingRegionTagSet::TagBaseRegionTag[]

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.
}

File: src/inet/routing/aodv/AodvControlPackets.msg