Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit cc7a9c8b3d0d2ae8d9a9894c05fdaa391a6c2723 Author: Linus Lüssing linus.luessing@c0d3.blue Date: Tue Jun 21 18:55:08 2011 +0000
doc: batman-adv/OGM
cc7a9c8b3d0d2ae8d9a9894c05fdaa391a6c2723 batman-adv/OGM.textile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/batman-adv/OGM.textile b/batman-adv/OGM.textile index 1bdedda5..70185358 100644 --- a/batman-adv/OGM.textile +++ b/batman-adv/OGM.textile @@ -42,7 +42,6 @@ An originator list holds all addressable and to a certain degree reachable origi * Originator's Sequence Number: The newest OGM Sequence Number that has been accepted from the given Originator. * Router List: A list of potential routers towards an originator * Selected Router: A router from the Router List which is chosen as the next hop to forward data packets to for the according originator. -* Newest Router ? To be able to directly access the most up to date flags etc.?
h3. 3.2 Router List
@@ -52,12 +51,10 @@ A router list holds all potential routers, routers that might be switched to at * Rebroadcasted: This flag indicates whether the current Router Entry settings have been rebroadcasted yet. * Path TQ: The path TQ towards the originator of the OGM multiplied with the best link TQ at the time of reception. * Router's Sequence Number: The sequence number of the last accepted OGM received via the according router. -* TTL: The TTL of the last accepted OGM received via the according neighbor. -* Flags: The Flags of the last accepted OGM received via the according neighbor. -* Gateway Flags: The Gateway Flags of the last accepted OGM received via the according neighbor. -* TT Num Changes: The TT Num Changes of the last accepted OGM received via the according neighbor. -* TT VN: The TT VN of the last accepted OGM received via the according neighbor. -* TT CRC: The TT CRC of the last accepted OGM received via the according neighbor. +* TTL: The TTL of the last accepted OGM received via the according router. + +As well as other properties of the last accepted OGM received via the according router, like: +* Interval, Flags, Gateway Flags, TT Num Changes, TT VN, TT CRC
h2. 4. Protocol Procedure @@ -70,6 +67,7 @@ Each node periodically (OGM interval) generates a single OGM which is broadcaste
* Packet type: Initialize this field with the OGM packet type. * Version: Set your internal compatibility version. +* Interval: Set to the current OGM interval of this originator. * Sequence number: On first broadcast set the sequence number to an arbitrary value and increment the field by one for each following broadcast. * Originator Address: Set this field to the primary MAC address of this B.A.T.M.A.N. node. * Flags: Indicates certain attributes of this originator. So far 0x01 is reserved for VIS_SERVER (see [[VisAdv]]) @@ -85,6 +83,8 @@ Each node periodically (OGM interval) generates a single OGM which is broadcaste +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Packet Type | Version | TTL | Alignment | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Interval | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Originator Address |