Namespace inet::ospfv3
Ospfv3HelloPacket
classOSPFv3 hello packet
Extends
Name | Type | Description |
---|---|---|
Ospfv3Packet | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
type | ||
interfaceID | uint32_t |
32 bits |
routerPriority | char |
8 bits |
options | Ospfv3Options |
24 bits |
helloInterval | uint16_t |
[sec] 16 bits |
deadInterval | uint16_t |
[sec] 16 bits //TODO rename to routerDeadInterval |
designatedRouterID | Ipv4Address |
32 bits |
backupDesignatedRouterID | Ipv4Address |
32 bits |
neighborID | Ipv4Address[] |
N*32 bits |
Packet operations (observed)
action | module |
---|---|
insertAtBack | Ospfv3Process |
peekAtFront | Ospfv3Process |
Source code
// // OSPFv3 hello packet // class Ospfv3HelloPacket extends Ospfv3Packet { type = ospf::HELLO_PACKET; uint32_t interfaceID; // 32 bits char routerPriority; // 8 bits Ospfv3Options options; // 24 bits uint16_t helloInterval; // [sec] 16 bits uint16_t deadInterval; // [sec] 16 bits //TODO rename to routerDeadInterval Ipv4Address designatedRouterID; // 32 bits Ipv4Address backupDesignatedRouterID; // 32 bits Ipv4Address neighborID[]; // N*32 bits } // // LSAs // //struct OSPFv3LSAType //{ // bool uBit; //controls action the router should take when it recieves unknown LSA Function Code // bool s1Bit; // bool s2Bit; // uint16_t lsaFunctionCode; //}File: src/inet/routing/ospfv3/Ospfv3Packet.msg