public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
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 1/3] batman-adv: Remove old fragmentation code
Date: Wed, 15 May 2013 09:07:35 +0200	[thread overview]
Message-ID: <20130515070735.GA3350@ritirata.org> (raw)
In-Reply-To: <1368476582-19220-2-git-send-email-martin@hundeboll.net>

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

Hi,

On Mon, May 13, 2013 at 10:23:00PM +0200, Martin Hundebøll wrote:

[...]

> +/**
> + * batadv_send_skb_prepare_unicast - encapsulate an skb with a unicast header
> + * @skb: the skb containing the payload to encapsulate
> + * @orig_node: the destination node
> + *
> + * Returns false if the payload could not be encapsulated or true otherwise
> + */
> +static bool batadv_send_skb_prepare_unicast(struct sk_buff *skb,
> +					    struct batadv_orig_node *orig_node)
> +{
> +	size_t uni_size = sizeof(struct batadv_unicast_packet);

a blank line here is needed

> +	return batadv_send_skb_push_fill_unicast(skb, uni_size, orig_node);
> +}

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-05-15  7:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 20:22 [B.A.T.M.A.N.] [PATCHv2 0/3] Fragmentation version 2 Martin Hundebøll
2013-05-13 20:23 ` [B.A.T.M.A.N.] [PATCHv2 1/3] batman-adv: Remove old fragmentation code Martin Hundebøll
2013-05-15  7:07   ` Antonio Quartulli [this message]
2013-05-13 20:23 ` [B.A.T.M.A.N.] [PATCHv2 2/3] batman-adv: Receive fragmented packets and merge Martin Hundebøll
2013-05-15  7:22   ` Antonio Quartulli
2013-05-13 20:23 ` [B.A.T.M.A.N.] [PATCHv2 3/3] batman-adv: Fragment and send skbs larger than mtu Martin Hundebøll
2013-05-15  7:27   ` 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=20130515070735.GA3350@ritirata.org \
    --to=ordex@autistici.org \
    --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