1 #ifndef __LINUX_NETFILTER_BRIDGE_WRAPPER_H
2 #define __LINUX_NETFILTER_BRIDGE_WRAPPER_H
4 #include_next <linux/netfilter_bridge.h>
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
9 #include <linux/if_vlan.h>
10 #include <linux/if_pppox.h>
12 static inline unsigned int nf_bridge_encap_header_len(const struct sk_buff *skb)
14 switch (skb->protocol) {
15 case __constant_htons(ETH_P_8021Q):
22 #endif /* linux version < 2.6.22 */