r2909 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2008-04-06 16:28:53 +0000 (Sun, 06 Apr 2008)
New Revision: 2909
Added:
glibc-package/trunk/debian/patches/any/submitted-ethertype.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* patches/any/submitted-ethertype.diff: new patch to define
ETHERTYPE_VLAN and ETHERTYPE_IPV6. Closes: #474171.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2008-04-06 09:28:01 UTC (rev 2908)
+++ glibc-package/trunk/debian/changelog 2008-04-06 16:28:53 UTC (rev 2909)
@@ -15,12 +15,14 @@
* patches/localedata/locale-shs_CA.diff: add Secwepemctsín from CVS.
* debhelper.in/libc-prof.README.Debian: new file to explain how to use
libc-prof. Closes: #442858.
+ * patches/any/submitted-ethertype.diff: new patch to define
+ ETHERTYPE_VLAN and ETHERTYPE_IPV6. Closes: #474171.
[ Pierre Habouzit ]
* Add any/cvs-strerror_r.diff to make strerror_r actually thread safe.
Closes: #456531.
- -- Aurelien Jarno <aurel32@debian.org> Sun, 06 Apr 2008 11:26:50 +0200
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 06 Apr 2008 18:28:10 +0200
glibc (2.7-10) unstable; urgency=low
Added: glibc-package/trunk/debian/patches/any/submitted-ethertype.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-ethertype.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-ethertype.diff 2008-04-06 16:28:53 UTC (rev 2909)
@@ -0,0 +1,18 @@
+2008-04-06 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/net/ethernet.h: Add defines for
+ ETHERTYPE_VLAN and ETHERTYPE_IPV6.
+
+diff --git a/sysdeps/unix/sysv/linux/net/ethernet.h b/sysdeps/unix/sysv/linux/net/ethernet.h
+index 7ca8e83..ff9f506 100644
+--- a/sysdeps/unix/sysv/linux/net/ethernet.h
++++ b/sysdeps/unix/sysv/linux/net/ethernet.h
+@@ -48,6 +48,8 @@ struct ether_header
+ #define ETHERTYPE_IP 0x0800 /* IP */
+ #define ETHERTYPE_ARP 0x0806 /* Address resolution */
+ #define ETHERTYPE_REVARP 0x8035 /* Reverse ARP */
++#define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging */
++#define ETHERTYPE_IPV6 0x86dd /* IP protocol version 6 */
+
+ #define ETHER_ADDR_LEN ETH_ALEN /* size of ethernet addr */
+ #define ETHER_TYPE_LEN 2 /* bytes in type field */
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2008-04-06 09:28:01 UTC (rev 2908)
+++ glibc-package/trunk/debian/patches/series 2008-04-06 16:28:53 UTC (rev 2909)
@@ -192,6 +192,7 @@
any/submitted-getcwd-sys_param_h.diff -p0
any/submitted-clock-settime.diff -p0
any/submitted-date-and-unknown-tz.diff -p0
+any/submitted-ethertype.diff -p1
any/submitted-ieee754_h.diff -p0
any/submitted-libgcc_s.so.diff -p0
any/submitted-longdouble.diff -p0
Reply to: