]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: split out router from orig_node
authorSimon Wunderlich <simon@open-mesh.com>
Wed, 13 Nov 2013 18:14:47 +0000 (19:14 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sun, 12 Jan 2014 13:41:11 +0000 (14:41 +0100)
commitb650eeb94253ca8d7f123b613ebcd5b29de32a6a
treecc3e4200c1f1ff0b27f370c451b6a36493b74d79
parent7d4aa37f4ef7fe17f481e80cb81e573ca296a323
batman-adv: split out router from orig_node

For the network wide multi interface optimization there are different
routers for each outgoing interface (outgoing from the OGM perspective,
incoming for payload traffic). To reflect this, change the router and
associated data to a list of routers.

While at it, rename batadv_orig_node_get_router() to
batadv_orig_router_get() to follow the new naming scheme.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/gateway_client.c
net/batman-adv/icmp_socket.c
net/batman-adv/network-coding.c
net/batman-adv/originator.c
net/batman-adv/originator.h
net/batman-adv/routing.c
net/batman-adv/routing.h
net/batman-adv/translation-table.c
net/batman-adv/types.h