Staging: batman-adv: receive packets directly using skbs
[safe/jmp/linux-2.6] / drivers / staging / batman-adv / hard-interface.h
index 742358c..97c6ecb 100644 (file)
@@ -32,5 +32,9 @@ void hardif_deactivate_interface(struct batman_if *batman_if);
 char hardif_get_active_if_num(void);
 void hardif_check_interfaces_status(void);
 void hardif_check_interfaces_status_wq(struct work_struct *work);
+int batman_skb_recv(struct sk_buff *skb,
+                               struct net_device *dev,
+                               struct packet_type *ptype,
+                               struct net_device *orig_dev);
 int hardif_min_mtu(void);
 void update_min_mtu(void);