ports/net/tcptrace/files/patch-tcptrace.h
Stefan Eßer 777c1c0e4c Resurrect tcptrace
This port has been deleted on 2019-10-16 as un-fetchable, but there is a
repository on GitHub that provides a slightly later version than that of
the deleted port.

Approved by:	antoine (mentor)
2020-01-21 20:42:17 +00:00

13 lines
467 B
C

--- 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