public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH 1/7] batman-adv: add the VLAN ID attribute to the TT entry
Date: Sat, 4 May 2013 20:39:17 +0800	[thread overview]
Message-ID: <201305042039.17821.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1366727676-23233-2-git-send-email-ordex@autistici.org>

On Tuesday, April 23, 2013 22:34:29 Antonio Quartulli wrote:
>  /**
>   * batadv_send_unicast_skb - send the skb encapsulated in a unicast packet
>   * @bat_priv: the bat priv with all the soft interface information
>   * @skb: the payload to send
> + * @vid: the vid to be used to search the translation table
>   */
>  static inline int batadv_send_skb_unicast(struct batadv_priv *bat_priv,

Returns ?


> @@ -61,14 +63,16 @@ static inline int batadv_send_skb_unicast(struct 
batadv_priv *bat_priv,
>   * @bat_priv: the bat priv with all the soft interface information
>   * @skb: the payload to send
>   * @packet_subtype: the batman 4addr packet subtype to use
> + * @vid: the vid to be used to search the translation table
>   */
>  static inline int batadv_send_skb_4addr_unicast(struct batadv_priv 
*bat_priv,

Returns ?


> +/**
> + * batadv_tt_local_add - add a new client to the local table or update it
> if + * already exists
> + * @soft_iface: netdev struct of the mesh interface
> + * @addr: the mac address of the client to add
> + * @vid: VLAN identifier
> + * @ifindex: index of the interface where the client is connected to
> (useful to + * identify wireless clients)
> + */

Multi-line kernel doc should be indented by a space.


> +/**
> + * batadv_choose_tt - return the index of the tt entry in the hash table
> + * @data: pointer to the tt_common_entry object to map
> + * @size: the size of the hash table
> + */
> +static inline uint32_t batadv_choose_tt(const void *data, uint32_t size)

Returns ?


> +/**
> + * batadv_tt_local_add - add a new client to the local table or update it 
if
> + * already exists
> + * @soft_iface: netdev struct of the mesh interface
> + * @addr: the mac address of the client to add
> + * @vid: VLAN identifier
> + * @ifindex: index of the interface where the client is connected to 
(useful to
> + * identify wireless clients)
> + */

Space indentation in the title ..


> +/**
> + * batadv_tt_global_del - remove a client from the global table
> + * @bat_priv: the bat priv with all the soft interface information
> + * @orig_node: an originator serving this client
> + * @addr: the mac address of the client
> + * @vid: VLAN identifier
> + * @message: a message explaining the reason for deleting the client to 
print
> + * for debugging purpose
> + */
>  static void batadv_tt_global_del(struct batadv_priv *bat_priv,
>                                  struct batadv_orig_node *orig_node,
> -                                const unsigned char *addr,
> +                                const unsigned char *addr, unsigned short 
vid,
>                                  const char *message, bool roaming)

Kernel doc for roaming is missing and a space as well.  :)


Cheers,
Marek

  reply	other threads:[~2013-05-04 12:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 14:34 [B.A.T.M.A.N.] [PATCH 0/7] make the Translation Table component VLAN-aware Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 1/7] batman-adv: add the VLAN ID attribute to the TT entry Antonio Quartulli
2013-05-04 12:39   ` Marek Lindner [this message]
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 2/7] batman-adv: use vid when computing local and global TT CRC Antonio Quartulli
2013-04-23 19:58   ` Marek Lindner
2013-04-23 20:04     ` Antonio Quartulli
2013-05-04 12:12       ` Marek Lindner
2013-05-04 12:17         ` Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 3/7] batman-adv: print the VID together with the TT entries Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 4/7] batman-adv: make the GW component vlan-featured Antonio Quartulli
2013-04-23 14:42   ` Antonio Quartulli
2013-05-04 12:42   ` Marek Lindner
2013-05-04 17:07     ` Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 4/7] batman-adv: make the GW module correctly talk to the new VLAN-TT Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 5/7] batman-adv: make the Distributed ARP Table vlan aware Antonio Quartulli
2013-05-06  3:31   ` Marek Lindner
2013-05-06  6:05     ` Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 6/7] batman-adv: add per VLAN interface attribute framework Antonio Quartulli
2013-04-24 12:31   ` Antonio Quartulli
2013-04-23 14:34 ` [B.A.T.M.A.N.] [PATCH 7/7] batman-adv: make the AP isolation attribute VLAN specific Antonio Quartulli

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=201305042039.17821.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /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