Staging: batman-adv: send DHCP requests directly to the chosen gw
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 21 Nov 2010 23:56:03 +0000 (00:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 19:09:13 +0000 (11:09 -0800)
commit6c3a42db6ca46204b35f0cdb8abfa9e4771641ef
tree52cc96334f08fd5ee8874bfedffe9e6c7e1f4ac2
parentdfaf9dd3459cac02411cebf418e8469aa0d8ca5d
Staging: batman-adv: send DHCP requests directly to the chosen gw

If the gateway client mode is active batman-adv will send the
broadcasted DHCP requests via unicast to the currently selected best
gateway. Therefore attached clients can profit from batman's knowledge
about the network topology.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/gateway_client.c
drivers/staging/batman-adv/gateway_client.h
drivers/staging/batman-adv/soft-interface.c
drivers/staging/batman-adv/unicast.c