[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tinc/lib ethernet.h,1.1.2.3,1.1.2.4



Update of /home/CVS/tinc/lib
In directory humbolt:/tmp/cvs-serv26121

Modified Files:
      Tag: CABAL
	ethernet.h 
Log Message:
Ethernet protocol types.


Index: ethernet.h
===================================================================
RCS file: /home/CVS/tinc/lib/ethernet.h,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- ethernet.h	2003/07/18 13:42:35	1.1.2.3
+++ ethernet.h	2003/10/06 14:16:51	1.1.2.4
@@ -27,16 +27,20 @@
 #define ETH_ALEN 6
 #endif
 
-#ifndef ETHER_ADDR_LEN
-#define ETHER_ADDR_LEN 6
-#endif
-
 #ifndef ARPHRD_ETHER
 #define ARPHRD_ETHER 1
 #endif
 
-#ifndef ETHERTYPE_IP
-#define ETHERTYPE_IP 0x0800
+#ifndef ETH_P_IP
+#define ETH_P_IP 0x0800
+#endif
+
+#ifndef ETH_P_ARP
+#define ETH_P_ARP 0x0806
+#endif
+
+#ifndef ETH_P_IPV6
+#define ETH_P_IPV6 0x86DD
 #endif
 
 #ifndef HAVE_STRUCT_ARPHDR

--
Tinc-cvs:     CVS changelog list for the tinc VPN daemon
Archive:      http://mail.nl.linux.org/tinc-cvs/
Tinc site:    http://tinc.nl.linux.org/