From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@open-mesh.com>,
Antonio Quartulli <antonio@meshcoding.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: send every DHCP packet as bat-unicast
Date: Wed, 13 Nov 2013 14:59:46 +0800 [thread overview]
Message-ID: <11444542.5YKCHnXHBU@diderot> (raw)
In-Reply-To: <1383676268-576-1-git-send-email-antonio@meshcoding.com>
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
On Tuesday 05 November 2013 19:31:08 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> In different situations it is possible that the DHCP server
> or client uses broadcast Ethernet frames to send messages
> to each other. The GW component in batman-adv takes care of
> using bat-unicast packets to bring broadcast DHCP
> Discover/Requests to the "best" server.
>
> On the way back the DHCP server usually sends unicasts,
> but upon client request it may decide to use broadcasts as
> well.
>
> This patch improves the GW component so that it now snoops
> and sends as unicast all the DHCP packets, no matter if they
> were generated by a DHCP server or client.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> distributed-arp-table.c | 4 +-
> gateway_client.c | 171
> +++++++++++++++++++++---------------------------
> gateway_client.h | 4 +-
> send.c | 16 ++++-
> send.h | 10 +--
> soft-interface.c | 76 +++++++++++----------
> types.h | 12 ++++
> 7 files changed, 153 insertions(+), 140 deletions(-)
Applied in revision 2d5b555.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
prev parent reply other threads:[~2013-11-13 6:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 18:31 [B.A.T.M.A.N.] [PATCH] batman-adv: send every DHCP packet as bat-unicast Antonio Quartulli
2013-11-13 6:59 ` Marek Lindner [this message]
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=11444542.5YKCHnXHBU@diderot \
--to=mareklindner@neomailbox.ch \
--cc=antonio@meshcoding.com \
--cc=antonio@open-mesh.com \
--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