vserver 1.9.3
[linux-2.6.git] / include / linux / netfilter_bridge / ebt_802_3.h
index b3d6c32..b9f712c 100644 (file)
@@ -49,6 +49,15 @@ struct ebt_802_3_hdr {
        } llc;
 };
 
+#ifdef __KERNEL__
+#include <linux/skbuff.h>
+
+static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb)
+{
+       return (struct ebt_802_3_hdr *)skb->mac.raw;
+}
+#endif
+
 struct ebt_802_3_info 
 {
        uint8_t  sap;