* [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions
@ 2015-11-17 8:40 Antonio Quartulli
2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions Antonio Quartulli
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Antonio Quartulli @ 2015-11-17 8:40 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Antonio Quartulli
Cc: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---
net/batman-adv/distributed-arp-table.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index 9daccdc..193ea33 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -738,6 +738,8 @@ static void batadv_dat_hash_free(struct batadv_priv *bat_priv)
/**
* batadv_dat_init - initialise the DAT internals
* @bat_priv: the bat priv with all the soft interface information
+ *
+ * Return: 0 in case of success, a negative error code otherwise
*/
int batadv_dat_init(struct batadv_priv *bat_priv)
{
@@ -776,6 +778,8 @@ void batadv_dat_free(struct batadv_priv *bat_priv)
* batadv_dat_cache_seq_print_text - print the local DAT hash table
* @seq: seq file to print on
* @offset: not used
+ *
+ * Return: always 0
*/
int batadv_dat_cache_seq_print_text(struct seq_file *seq, void *offset)
{
--
2.6.3
^ permalink raw reply related [flat|nested] 6+ messages in thread* [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions 2015-11-17 8:40 [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Antonio Quartulli @ 2015-11-17 8:40 ` Antonio Quartulli 2015-11-18 8:54 ` Marek Lindner 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv Antonio Quartulli 2015-11-18 8:52 ` [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Marek Lindner 2 siblings, 1 reply; 6+ messages in thread From: Antonio Quartulli @ 2015-11-17 8:40 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Antonio Quartulli Cc: Sven Eckelmann <sven@narfation.org> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> --- net/batman-adv/translation-table.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 92af58b..cd40fbc 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -69,9 +69,13 @@ static void batadv_tt_global_del(struct batadv_priv *bat_priv, bool roaming); /** - * batadv_compare_tt + * batadv_compare_tt - check if two TT entries are the same + * @node: the list element pointer of the first TT entry + * @data2: pointer to the tt_common_entry of the second TT entry * - * Return: 1 if they are the same mac addr and vid + * Compare the MAC address and the VLAN ID of the two TT entries and check if + * they are the same TT client. + * Return: 1 if the two TT clients are the same, 0 otherwise */ static int batadv_compare_tt(const struct hlist_node *node, const void *data2) { @@ -221,6 +225,7 @@ batadv_tt_global_entry_free_ref(struct batadv_tt_global_entry *tt_global_entry) /** * batadv_tt_global_hash_count - count the number of orig entries + * @bat_priv: the bat priv with all the soft interface information * @addr: the mac address of the client to count entries for * @vid: VLAN identifier * @@ -303,8 +308,9 @@ static void batadv_tt_local_size_dec(struct batadv_priv *bat_priv, } /** - * batadv_tt_global_size_mod - change the size by v of the local table - * identified by vid + * batadv_tt_global_size_mod - change the size by v of the global table + * for orig_node identified by vid + * @orig_node: the originator for which the table has to be modified * @vid: the VLAN identifier * @v: the amount to sum to the global table size */ @@ -723,7 +729,6 @@ out: * function reserves the amount of space needed to send the entire global TT * table. In case of success the value is updated with the real amount of * reserved bytes - * Allocate the needed amount of memory for the entire TT TVLV and write its * header made up by one tvlv_tt_data object and a series of tvlv_tt_vlan_data * objects, one per active VLAN served by the originator node. @@ -1245,9 +1250,12 @@ static void batadv_tt_changes_list_free(struct batadv_priv *bat_priv) } /** - * batadv_tt_global_orig_entry_find + * batadv_tt_global_orig_entry_find - find a TT orig_list_entry + * @entry: the TT global entry where the orig_list_entry has to be + * extracted from + * @orig_node: the originator for which the orig_list_entry has to be found * - * retrieves the orig_tt_list_entry belonging to orig_node from the + * retrieve the orig_tt_list_entry belonging to orig_node from the * batadv_tt_global_entry list * * Return: it with an increased refcounter, NULL if not found @@ -1276,7 +1284,10 @@ batadv_tt_global_orig_entry_find(const struct batadv_tt_global_entry *entry, } /** - * batadv_tt_global_entry_has_orig + * batadv_tt_global_entry_has_orig - check if a TT global entry is also handled + * by a given originator + * @entry: the TT global entry to check + * @orig_node: the originator to search in the list * * find out if an orig_node is already in the list of a tt_global_entry. * @@ -2521,6 +2532,8 @@ static void batadv_tt_global_update_crc(struct batadv_priv *bat_priv, * @num_vlan: number of tvlv VLAN entries * @full_table: ask for the entire translation table if true, while only for the * last TT diff otherwise + * + * Return: true if the TT Request was sent, false otherwise */ static int batadv_send_tt_request(struct batadv_priv *bat_priv, struct batadv_orig_node *dst_orig_node, @@ -3064,7 +3077,9 @@ static void batadv_tt_roam_purge(struct batadv_priv *bat_priv) } /** - * batadv_tt_check_roam_count + * batadv_tt_check_roam_count - check if a client has roamed too frequently + * @bat_priv: the bat priv with all the soft interface information + * @client: mac address of the roaming client * * This function checks whether the client already reached the * maximum number of possible roaming phases. In this case the ROAMING_ADV -- 2.6.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions Antonio Quartulli @ 2015-11-18 8:54 ` Marek Lindner 0 siblings, 0 replies; 6+ messages in thread From: Marek Lindner @ 2015-11-18 8:54 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Antonio Quartulli [-- Attachment #1: Type: text/plain, Size: 346 bytes --] On Tuesday, November 17, 2015 16:40:52 Antonio Quartulli wrote: > Cc: Sven Eckelmann <sven@narfation.org> > Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> > --- > net/batman-adv/translation-table.c | 33 ++++++++++++++++++++++++--------- > 1 file changed, 24 insertions(+), 9 deletions(-) Applied in revision dbc613c. Thanks, Marek [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv 2015-11-17 8:40 [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Antonio Quartulli 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions Antonio Quartulli @ 2015-11-17 8:40 ` Antonio Quartulli 2015-11-18 8:58 ` Marek Lindner 2015-11-18 8:52 ` [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Marek Lindner 2 siblings, 1 reply; 6+ messages in thread From: Antonio Quartulli @ 2015-11-17 8:40 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Antonio Quartulli Cc: Sven Eckelmann <sven@narfation.org> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> --- net/batman-adv/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 7f7a0f1..5e8c8df 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -772,6 +772,9 @@ struct batadv_softif_vlan { * @orig_interval: OGM broadcast interval in milliseconds * @hop_penalty: penalty which will be applied to an OGM's tq-field on every hop * @log_level: configured log level (see batadv_dbg_level) + * @isolation_mark: the skb->mark value used to match packets for AP isolation + * @isolation_mark_mask: bitmask identifying the bits in skb->mark to be used + * for the isolation mark * @bcast_seqno: last sent broadcast packet sequence number * @bcast_queue_left: number of remaining buffered broadcast packet slots * @batman_queue_left: number of remaining OGM packet slots -- 2.6.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv Antonio Quartulli @ 2015-11-18 8:58 ` Marek Lindner 0 siblings, 0 replies; 6+ messages in thread From: Marek Lindner @ 2015-11-18 8:58 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Antonio Quartulli [-- Attachment #1: Type: text/plain, Size: 286 bytes --] On Tuesday, November 17, 2015 16:40:53 Antonio Quartulli wrote: > Cc: Sven Eckelmann <sven@narfation.org> > Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> > --- > net/batman-adv/types.h | 3 +++ > 1 file changed, 3 insertions(+) Applied in revision 6b9ec9f. Thanks, Marek [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions 2015-11-17 8:40 [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Antonio Quartulli 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions Antonio Quartulli 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv Antonio Quartulli @ 2015-11-18 8:52 ` Marek Lindner 2 siblings, 0 replies; 6+ messages in thread From: Marek Lindner @ 2015-11-18 8:52 UTC (permalink / raw) To: b.a.t.m.a.n; +Cc: Antonio Quartulli [-- Attachment #1: Type: text/plain, Size: 303 bytes --] On Tuesday, November 17, 2015 16:40:51 Antonio Quartulli wrote: > Cc: Sven Eckelmann <sven@narfation.org> > Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> > --- > net/batman-adv/distributed-arp-table.c | 4 ++++ > 1 file changed, 4 insertions(+) Applied in revision 53aa898. Thanks, Marek [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-11-18 8:58 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-11-17 8:40 [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Antonio Quartulli 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: fix kerneldoc for TT functions Antonio Quartulli 2015-11-18 8:54 ` Marek Lindner 2015-11-17 8:40 ` [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: add kernel doc for AP isolation attributes in bat_priv Antonio Quartulli 2015-11-18 8:58 ` Marek Lindner 2015-11-18 8:52 ` [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: fix kerneldoc for DAT functions Marek Lindner
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.