]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: add seqno maximum age and protection start flag parameters
authorSimon Wunderlich <simon@open-mesh.com>
Mon, 23 Nov 2015 18:57:22 +0000 (19:57 +0100)
committerAntonio Quartulli <a@unstable.cc>
Wed, 10 Feb 2016 15:23:57 +0000 (23:23 +0800)
commit4cbde4775455a3ab8ec474549caab9c7d192c271
tree0a017bb5c39f36af77c9bd9c2922788e23daee8f
parent3e139f98248c5f862b1c6935e255f273382d3e46
batman-adv: add seqno maximum age and protection start flag parameters

To allow future use of the window protected function with different
maximum sequence numbers, add a parameter to set this value which
was previously hardcoded. Another parameter added for future use is a
flag to return whether the protection window has started.

While at it, also fix the kerneldoc.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/main.h
net/batman-adv/routing.c
net/batman-adv/routing.h