summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/net
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-10 11:54:18 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-10 11:54:18 +0000
commit8f50aae34899188b08cfed79bb519d353510c702 (patch)
tree33d788dca0d0925d6b4ec8ffe667208ab28767ce /libc/sysdeps/unix/sysv/linux/net
parent137b16f340e862d39918b2aef64253a01d3cf4ee (diff)
downloadeglibc2-8f50aae34899188b08cfed79bb519d353510c702.tar.gz
Merge changes between r5759 and r5854 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@5855 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/net')
-rw-r--r--libc/sysdeps/unix/sysv/linux/net/ethernet.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/net/ethernet.h b/libc/sysdeps/unix/sysv/linux/net/ethernet.h
index 7ca8e8348..0242d5899 100644
--- a/libc/sysdeps/unix/sysv/linux/net/ethernet.h
+++ b/libc/sysdeps/unix/sysv/linux/net/ethernet.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2001, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -45,9 +45,17 @@ struct ether_header
/* Ethernet protocol ID's */
#define ETHERTYPE_PUP 0x0200 /* Xerox PUP */
+#define ETHERTYPE_SPRITE 0x0500 /* Sprite */
#define ETHERTYPE_IP 0x0800 /* IP */
#define ETHERTYPE_ARP 0x0806 /* Address resolution */
#define ETHERTYPE_REVARP 0x8035 /* Reverse ARP */
+#define ETHERTYPE_AT 0x809B /* AppleTalk protocol */
+#define ETHERTYPE_AARP 0x80F3 /* AppleTalk ARP */
+#define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging */
+#define ETHERTYPE_IPX 0x8137 /* IPX */
+#define ETHERTYPE_IPV6 0x86dd /* IP protocol version 6 */
+#define ETHERTYPE_LOOPBACK 0x9000 /* used to test interfaces */
+
#define ETHER_ADDR_LEN ETH_ALEN /* size of ethernet addr */
#define ETHER_TYPE_LEN 2 /* bytes in type field */