Re: [B.A.T.M.A.N.] [PATCHv2 3/6] batman-adv: reorder packet types

2013-04-20 Thread Marek Lindner
On Saturday, April 20, 2013 03:52:26 Simon Wunderlich wrote: @@ -892,6 +892,25 @@ static int batadv_check_unicast_ttvn(struct batadv_priv *bat_priv, return 1; } +int batadv_recv_unhandled_unicast_packet(struct sk_buff *skb, +struct batadv_hard_iface

[B.A.T.M.A.N.] [PATCHv2 3/6] batman-adv: reorder packet types

2013-04-19 Thread Simon Wunderlich
Reordering the packet type numbers allows us to handle unicast packets in a general way - even if we don't know the specific packet type, we can still forward it. There was already code handling this for a couple of unicast packets, and this is the more generalized version to do that.