public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <antonio@meshcoding.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Cc: "Martin Hundebøll" <martin@hundeboll.net>
Subject: Re: [B.A.T.M.A.N.] [PATCHv2 12/13] batman-adv: kernel fixes for translation-table.c
Date: Sat, 19 Jul 2014 11:49:37 +0200	[thread overview]
Message-ID: <53CA3F31.1050906@meshcoding.com> (raw)
In-Reply-To: <1405410077-28764-12-git-send-email-martin@hundeboll.net>

[-- Attachment #1: Type: text/plain, Size: 3035 bytes --]



On 15/07/14 09:41, Martin Hundebøll wrote:
> Signed-off-by: Martin Hundebøll <martin@hundeboll.net>

Acked-by: Antonio Quartulli <antonio@meshcoding.com>

> 
> ---
> v2: better description for @bat_priv
> 
>  translation-table.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/translation-table.c b/translation-table.c
> index 5f59e7f..ca0206f 100644
> --- a/translation-table.c
> +++ b/translation-table.c
> @@ -195,7 +195,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
> - * @hash: hash table containing the tt 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
>   *
> @@ -280,7 +280,7 @@ 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
> - * @bat_priv: the bat priv with all the soft interface information
> + * @orig_node: orig_node to change table on
>   * @vid: the VLAN identifier
>   * @v: the amount to sum to the global table size
>   */
> @@ -691,7 +691,7 @@ 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.
> @@ -2339,7 +2339,6 @@ static void batadv_tt_tvlv_generate(struct batadv_priv *bat_priv,
>   * @orig_node: originator for which the CRCs have to be checked
>   * @tt_vlan: pointer to the first tvlv VLAN entry
>   * @num_vlan: number of tvlv VLAN entries
> - * @create: if true, create VLAN objects if not found
>   *
>   * Return true if all the received CRCs match the locally stored ones, false
>   * otherwise
> @@ -3284,13 +3283,12 @@ out:
>   * batadv_tt_update_orig - update global translation table with new tt
>   *  information received via ogms
>   * @bat_priv: the bat priv with all the soft interface information
> - * @orig: the orig_node of the ogm
> - * @tt_vlan: pointer to the first tvlv VLAN entry
> + * @orig_node: the orig_node of the ogm
> + * @tt_buff: pointer to the first tvlv VLAN entry
>   * @tt_num_vlan: number of tvlv VLAN entries
>   * @tt_change: pointer to the first entry in the TT buffer
>   * @tt_num_changes: number of tt changes inside the tt buffer
>   * @ttvn: translation table version number of this changeset
> - * @tt_crc: crc32 checksum of orig node's translation table
>   */
>  static void batadv_tt_update_orig(struct batadv_priv *bat_priv,
>  				  struct batadv_orig_node *orig_node,
> 

-- 
Antonio Quartulli


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

  reply	other threads:[~2014-07-19  9:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15  7:41 [B.A.T.M.A.N.] [PATCHv2 01/13] batman-adv: kernel doc fixes for bat_iv_ogm.c Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 02/13] batman-adv: kernel doc fixes for bridge_loop_avoidance.c Martin Hundebøll
2014-08-11  5:13   ` Marek Lindner
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 03/13] batman-adv: kernel doc fix for distributed-arp-table.h Martin Hundebøll
2014-07-19  9:48   ` Antonio Quartulli
2014-08-11  5:14     ` Marek Lindner
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 04/13] batman-adv: kernel doc fixes for main.{c, h} Martin Hundebøll
2014-08-11  5:18   ` Marek Lindner
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 05/13] batman-adv: kernel doc fix for multicast.h Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 06/13] batman-adv: kernel doc fixes for originator.c Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 07/13] batman-adv: kernel doc fixes for packet.h Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 08/13] batman-adv: kernel doc fix for routing.c Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 09/13] batman-adv: kernel doc fix for send.c Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 10/13] batman-adv: kernel doc fixes for soft-interface.c Martin Hundebøll
2014-07-19  9:51   ` Antonio Quartulli
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 11/13] batman-adv: kernel doc fixes for sysfs.{c, h} Martin Hundebøll
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 12/13] batman-adv: kernel fixes for translation-table.c Martin Hundebøll
2014-07-19  9:49   ` Antonio Quartulli [this message]
2014-07-15  7:41 ` [B.A.T.M.A.N.] [PATCHv2 13/13] batman-adv: kernel doc fixes for types.h Martin Hundebøll
2014-07-19  9:50   ` Antonio Quartulli
2014-08-11  5:11 ` [B.A.T.M.A.N.] [PATCHv2 01/13] batman-adv: kernel doc fixes for bat_iv_ogm.c Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53CA3F31.1050906@meshcoding.com \
    --to=antonio@meshcoding.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=martin@hundeboll.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox