diff options
author | Simon Wunderlich <simon@open-mesh.com> | 2013-11-13 13:14:50 -0500 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2014-01-12 08:41:15 -0500 |
commit | f3b3d9018975ffb2680b7c1d37122f9d80301587 (patch) | |
tree | 7bba5d71de0bfae806d91653ef8262f396bc08b3 /net/batman-adv/routing.h | |
parent | ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 (diff) |
batman-adv: add bonding again
With the new interface alternating, the first hop may send packets
in a round robin fashion to it's neighbors because it has multiple
valid routes built by the multi interface optimization. This patch
enables the feature if bonding is selected. Note that unlike the
bonding implemented before, this version is much simpler and may
even enable multi path routing to a certain degree.
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>
Diffstat (limited to 'net/batman-adv/routing.h')
-rw-r--r-- | net/batman-adv/routing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h index 8920d0b1056c..8fa23fcf25f0 100644 --- a/net/batman-adv/routing.h +++ b/net/batman-adv/routing.h | |||
@@ -44,7 +44,7 @@ int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb, | |||
44 | struct batadv_neigh_node * | 44 | struct batadv_neigh_node * |
45 | batadv_find_router(struct batadv_priv *bat_priv, | 45 | batadv_find_router(struct batadv_priv *bat_priv, |
46 | struct batadv_orig_node *orig_node, | 46 | struct batadv_orig_node *orig_node, |
47 | const struct batadv_hard_iface *recv_if); | 47 | struct batadv_hard_iface *recv_if); |
48 | int batadv_window_protected(struct batadv_priv *bat_priv, int32_t seq_num_diff, | 48 | int batadv_window_protected(struct batadv_priv *bat_priv, int32_t seq_num_diff, |
49 | unsigned long *last_reset); | 49 | unsigned long *last_reset); |
50 | 50 | ||