Re: [B.A.T.M.A.N.] [PATCH 3/6] batman-adv: register batman ogm receive function during protocol init

2012-03-04 Thread Marek Lindner
On Sunday, March 04, 2012 01:59:53 Simon Wunderlich wrote: On Thu, Mar 01, 2012 at 03:35:18PM +0800, Marek Lindner wrote: -static void bat_iv_ogm_receive(struct hard_iface *if_incoming, - struct sk_buff *skb) +static void _bat_iv_ogm_receive(struct sk_buff *skb, +

Re: [B.A.T.M.A.N.] [PATCH 3/6] batman-adv: register batman ogm receive function during protocol init

2012-03-03 Thread Simon Wunderlich
On Thu, Mar 01, 2012 at 03:35:18PM +0800, Marek Lindner wrote: -static void bat_iv_ogm_receive(struct hard_iface *if_incoming, -struct sk_buff *skb) +static void _bat_iv_ogm_receive(struct sk_buff *skb, + struct hard_iface *if_incoming)

[B.A.T.M.A.N.] [PATCH 3/6] batman-adv: register batman ogm receive function during protocol init

2012-02-29 Thread Marek Lindner
The B.A.T.M.A.N. IV OGM receive function still was hard-coded although it is a routing protocol specific function. This patch takes advantage of the dynamic packet handler registration to remove the hard-coded function calls. Signed-off-by: Marek Lindner lindner_ma...@yahoo.de --- bat_iv_ogm.c |