Skip to content

Commit 172c2ac

Browse files
committed
linux 2.4 is missing ETHERTYPE_LOOPBACK
1 parent fda6483 commit 172c2ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

caputils/caputils.h

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ struct filter;
4949
#define ETHERTYPE_VLAN 0x8100
5050
#endif
5151

52+
#ifndef ETHERTYPE_LOOPBACK
53+
#define ETHERTYPE_LOOPBACK 0x9000
54+
#endif /* ETHERTYPE_LOOPBACK */
55+
5256
/* libc might not provide this if it is missing ipv6 support */
5357
#ifndef ETHERTYPE_IPV6
5458
#define ETHERTYPE_IPV6 0x86dd

0 commit comments

Comments
 (0)