summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2015-10-31 12:29:29 +0100
committerAntonio Quartulli <a@unstable.cc>2016-02-02 12:40:31 +0800
commit7afcbbef6471130a1eb586fea0f5c06609b8341f (patch)
tree8ec74e3fa80fd8d79138299b7b6dfb98251307ab /net/batman-adv/routing.c
parent62fe710f6e2fdf4c337763bc0774cb3232fa2139 (diff)
downloadop-kernel-dev-7afcbbef6471130a1eb586fea0f5c06609b8341f.zip
op-kernel-dev-7afcbbef6471130a1eb586fea0f5c06609b8341f.tar.gz
batman-adv: Fix kerneldoc of main functions
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r--net/batman-adv/routing.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index bcaa787..1fb1be3 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -141,8 +141,13 @@ out:
}
/**
- * batadv_window_protected checks whether the host restarted and is in the
+ * batadv_window_protected - checks whether the host restarted and is in the
* protection time.
+ * @bat_priv: the bat priv with all the soft interface information
+ * @seq_num_diff: difference between the current/received sequence number and
+ * the last sequence number
+ * @last_reset: jiffies timestamp of the last reset, will be updated when reset
+ * is detected
*
* Return:
* 0 if the packet is to be accepted.
OpenPOWER on IntegriCloud