diff options
author | Sven Eckelmann <sven@narfation.org> | 2015-10-31 14:29:29 +0300 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-02 07:40:31 +0300 |
commit | 7afcbbef6471130a1eb586fea0f5c06609b8341f (patch) | |
tree | 8ec74e3fa80fd8d79138299b7b6dfb98251307ab /net/batman-adv/bitarray.h | |
parent | 62fe710f6e2fdf4c337763bc0774cb3232fa2139 (diff) | |
download | linux-7afcbbef6471130a1eb586fea0f5c06609b8341f.tar.xz |
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/bitarray.h')
-rw-r--r-- | net/batman-adv/bitarray.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/batman-adv/bitarray.h b/net/batman-adv/bitarray.h index cf2aeb0831a4..2b64d7a1bc9b 100644 --- a/net/batman-adv/bitarray.h +++ b/net/batman-adv/bitarray.h @@ -25,7 +25,11 @@ #include <linux/types.h> /** - * batadv_test_bit + * batadv_test_bit - check if bit is set in the current window + * + * @seq_bits: pointer to the sequence number receive packet + * @last_seqno: latest sequence number in seq_bits + * @curr_seqno: sequence number to test for * * Return: 1 if the corresponding bit in the given seq_bits indicates true * and curr_seqno is within range of last_seqno. Otherwise returns 0. @@ -51,11 +55,6 @@ static inline void batadv_set_bit(unsigned long *seq_bits, s32 n) set_bit(n, seq_bits); /* turn the position on */ } -/** - * batadv_bit_get_packet - receive and process one packet - * - * Return: 1 if received seq_num is considered new, 0 if old - */ int batadv_bit_get_packet(void *priv, unsigned long *seq_bits, s32 seq_num_diff, int set_mark); |