Re: [B.A.T.M.A.N.] 2012.2 OGMs over ethernet issue?

2012-07-08 Thread Simon Wunderlich
Hey Guido, On Sat, Jul 07, 2012 at 12:37:24AM -0300, Guido Iribarren wrote: Hello again nice folks, I updated today another segment of the network with just 4 nodes, to batman-adv 2012.2 (the one i compiled yesterday with simon patches for blaII, marek stability fixes, and debug log enabled ,

[B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Use BIT(x) macro to calculate bit positions

2012-07-08 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@narfation.org --- bat_iv_ogm.c | 12 +++- main.h | 18 +- packet.h | 30 +++--- 3 files changed, 31 insertions(+), 29 deletions(-) diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c index e877af8..e7fcb54

[B.A.T.M.A.N.] [PATCH 2/2] batctl: Use BIT(x) macro to calculate bit positions

2012-07-08 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@narfation.org --- main.h |1 + packet.h | 30 +++--- sys.c|8 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/main.h b/main.h index 4c8b60b..34ac4f5 100644 --- a/main.h +++ b/main.h @@ -34,5 +34,6

[B.A.T.M.A.N.] [PATCH] batman-adv: Don't break statements after assignment operator

2012-07-08 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@narfation.org --- This patch assumes that Split batadv_priv in sub-structures for features was accepted bat_iv_ogm.c| 39 +-- bridge_loop_avoidance.c |7 +++ send.c |8

[B.A.T.M.A.N.] [PATCH] batman-adv: Reduce accumulated length of simple statements

2012-07-08 Thread Sven Eckelmann
Signed-off-by: Sven Eckelmann s...@narfation.org --- bat_iv_ogm.c| 41 ++--- bridge_loop_avoidance.c |3 +-- gateway_client.c| 21 + routing.c |3 +-- translation-table.c | 10 ++

[B.A.T.M.A.N.] [PATCH] batman-adv: Add wrapper to look up neighbor and send skb

2012-07-08 Thread Martin Hundebøll
By adding batadv_send_skb_to_orig() in send.c, we can remove duplicate code that looks up the next hop and then calls batadv_send_skb_packet(). Furthermore, this prepares the upcoming new implementation of fragmentation, which requires the next hop to route packets. Please note that this doesn't

[B.A.T.M.A.N.] [PATCHv2] batman-adv: Add wrapper to look up neighbor and send skb

2012-07-08 Thread Martin Hundebøll
By adding batadv_send_skb_to_orig() in send.c, we can remove duplicate code that looks up the next hop and then calls batadv_send_skb_packet(). Furthermore, this prepares the upcoming new implementation of fragmentation, which requires the next hop to route packets. Please note that this doesn't

[B.A.T.M.A.N.] [PATCHv3] batman-adv: Add wrapper to look up neighbor and send skb

2012-07-08 Thread Martin Hundebøll
By adding batadv_send_skb_to_orig() in send.c, we can remove duplicate code that looks up the next hop and then calls batadv_send_skb_packet(). Furthermore, this prepares the upcoming new implementation of fragmentation, which requires the next hop to route packets. Please note that this doesn't