diff options
Diffstat (limited to 'net/tcptrace/files/patch-tcptrace.h')
-rw-r--r-- | net/tcptrace/files/patch-tcptrace.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/tcptrace/files/patch-tcptrace.h b/net/tcptrace/files/patch-tcptrace.h new file mode 100644 index 000000000000..11baaab86770 --- /dev/null +++ b/net/tcptrace/files/patch-tcptrace.h @@ -0,0 +1,13 @@ +--- tcptrace.h.orig 2013-07-01 18:43:14 UTC ++++ tcptrace.h +@@ -1188,6 +1188,10 @@ struct ipaddr *IPV6ADDR2ADDR(struct in6_addr *addr6); + #define ETHERTYPE_VLAN 0x8100 + #endif /* 802.1Q Virtual LAN */ + ++#ifndef ETHER_VLAN_ENCAP_LEN ++#define ETHER_VLAN_ENCAP_LEN 4 ++#endif /* 802.1Q tag header length */ ++ + /* support for PPPoE encapsulation added by Yann Samama (ysamama@nortelnetworks.com)*/ + #ifndef ETHERTYPE_PPPOE_SESSION + #define ETHERTYPE_PPPOE_SESSION 0x8864 |