batman-adv: make the TT CRC logic VLAN specific
This change allows nodes to handle the TT table on a per-VLAN basis. This is needed because nodes may have to store only some of the global entries advertised by another node. In this scenario such nodes would re-create only a partial global table and would not be able to compute a correct CRC anymore. This patch splits the logic and introduces one CRC per VLAN. In this way a node fetching only some entries belonging to some VLANs is still able to compute the needed CRCs and still check the table correctness. With this patch the shape of the TVLV-TT is changed too because now a node needs to advertise all the CRCs of all the VLANs that it is wired to. The debug output of the local Translation Table now shows the CRC along with each entry since there is not a common value for the entire table anymore. Signed-off-by:Antonio Quartulli <antonio@open-mesh.com> Signed-off-by:
Marek Lindner <lindner_marek@yahoo.de>
parent
a70a9aa9
-
mentioned in commit 6620d5e5
-
mentioned in commit ee5ab610
-
mentioned in commit 39c8ee0f
-
mentioned in commit 664ea109
-
mentioned in commit f4d59337
-
mentioned in commit 086d27b5
-
mentioned in commit 9de1caa1
-
mentioned in commit 3d40b47b
-
mentioned in commit 47dd44d0
-
mentioned in commit d1168e0d
-
mentioned in commit 4d5a2d6b
-
mentioned in commit 692858d9
-
mentioned in commit a726d01d
-
mentioned in commit fb59ed1a
-
mentioned in commit 778a8e67
-
mentioned in commit 73fb6df4
-
mentioned in commit 9d42bcb8
Please register or sign in to comment