Namespace inet
EigrpMessage
classGeneral structure of EIGRP message with header
Extends
| Name | Type | Description |
|---|---|---|
| FieldsChunk | (unknown -- not in documented files) |
Fields
| Name | Type | Description |
|---|---|---|
| chunkLength | ||
| version | char |
Version of EIGRP header |
| opcode | int8_t |
Type of message |
| init | bool |
flags |
| cr | bool |
Conditionally Received |
| rs | bool |
Reset |
| eot | bool |
End of table |
| seqNum | int |
Sequence number |
| ackNum | int |
Acknowledgement number |
| vrid | uint16_t |
Virtual Router ID |
| asNum | uint16_t |
Autonomous system number |
Packet operations (observed)
| action | module |
|---|---|
| peekAtFront | EigrpRtp, EigrpRtp6, EigrpIpv4Pdm, EigrpIpv6Pdm |
Source code
// General structure of EIGRP message with header class EigrpMessage extends FieldsChunk { chunkLength = B(4); char version = 2; // Version of EIGRP header int8_t opcode; // Type of message // flags bool init; // Initialization - establishment of neighborship bool cr; // Conditionally Received bool rs; // Reset bool eot; // End of table int seqNum; // Sequence number int ackNum; // Acknowledgement number uint16_t vrid; // Virtual Router ID uint16_t asNum; // Autonomous system number } // EIGRP Hello messageFile: src/inet/routing/eigrp/messages/EigrpMessage.msg