From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 13 Nov 2013 14:59:46 +0800 Message-ID: <11444542.5YKCHnXHBU@diderot> In-Reply-To: <1383676268-576-1-git-send-email-antonio@meshcoding.com> References: <1383676268-576-1-git-send-email-antonio@meshcoding.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1547116.eAikKqMtxP"; micalg="pgp-sha1"; protocol="application/pgp-signature" Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: send every DHCP packet as bat-unicast Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Antonio Quartulli , Antonio Quartulli --nextPart1547116.eAikKqMtxP Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday 05 November 2013 19:31:08 Antonio Quartulli wrote: > From: Antonio Quartulli > > 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 > --- > 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 --nextPart1547116.eAikKqMtxP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJSgyNiAAoJEFNVTo/uthzAzrYH/RQl4PRMrIEdFgmg67vK9mRr ADQt07S/gRWUI0LpyHGy6FiLPvYyaDJpesZqJ2Mh29HPo7VQQHSqFuDtGZMcPelw 356mMHKRaFyKqiDzWU817Chdq5kjAW29OBrjCAFmrdmKevcMqsuJRncnnD3qkmi5 tbgtRvMnpKT4cU/WKbVK+EEJJ1oBuQkuUHBA7/Lu7VJmEl8mkixpGCh3wEXlY2Ls vSU+tYXP3SQrP4nVFVPWxXGDHaRHxW0qEqcUG5IjqW9nwDpjxSNAvbKS1vpDPyyH tBk2WzJESxj+7XW+1eRjFngxr1hRoBu/PC6VkBlZf9Sc7pCJVxhmhtzhzenEims= =1bSa -----END PGP SIGNATURE----- --nextPart1547116.eAikKqMtxP--