On Thursday, 25 June 2020 15:22:46 CEST Rahul Bothra wrote:
I was going through the Internet Draft for B.A.T.M.A.N, and wanted to confirm if the bits 10 to 15 in the OGM packet are supposed to be all zeroes always?
Please don't implement the legacy draft which was never finished. This is really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really, really outdated.
But the batmand layer 3 compat version 5 handled these as reserved flags. So it would have been a good idea at that time not to leave them in a random state and just set them to 0. This would have allowed announcements of additional features in the future.
See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/ include/uapi/linux/batadv_packet.h for the B.A.T.M.A.N. IV and B.A.T.M.A.N. V layer 2 packet definitions.
Kind regards, Sven