Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit 67f669814c055ff38e10b5b183ef52be0f4972d5 Author: Marek Lindner mareklindner@neomailbox.ch Date: Sun May 22 20:48:35 2011 +0000
doc: batman-adv/Client-announcement
67f669814c055ff38e10b5b183ef52be0f4972d5 batman-adv/Client-announcement.textile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/batman-adv/Client-announcement.textile b/batman-adv/Client-announcement.textile index 0c1e6cd9..2b707b8f 100644 --- a/batman-adv/Client-announcement.textile +++ b/batman-adv/Client-announcement.textile @@ -55,14 +55,13 @@ node correctly handle the appended buffer.
In case of unavailability of the last OGM transtable buffer the node will answer with the full table.
-h2. TT_REQUEST forwarding: +h2. Table request forwarding:
To reduce the overhead of the table request operations, each node on the path of a TT_REQUEST message will inspect the contents and decide whether it has the correct information to answer the request directly without forwarding the TT_REQUEST any further. The ttvn and the crc16 checksum contained in the request message provide sufficient means to verify if it matches with the locally available information. If they match the node can directly reply to the request (with the full table of the destination's translation table or the changeset of the last ttvn if possible). If something didn't match, the node will forward the packet to the nexthop in the path to the destination.
-h2. TT consistency: +h2. Computing the crc16 checksum:
-The tt_crc field has been added to the struct orig_node. This field is computed for a generic originator O as "the xor of all the crc16 value on -each tt_global_entry->addr field of those entries pointing to O". +The crc16 checksum field which is sent along with the ttvn field in the OGM is computed for a generic originator O as "the xor of all the crc16 value on each tt_global_entry->addr field of those entries pointing to O".
**Pseudocode**: <pre><code>tt_global_crc(orig_node O) {