]> git.pld-linux.org Git - packages/linux-libc-headers.git/blame - linux-libc-headers-update.patch
- esfq patch fixed.
[packages/linux-libc-headers.git] / linux-libc-headers-update.patch
CommitLineData
7e0f0526 1===================================================================
2RCS file: /cvsroot/linux-libc-headers/include/linux/if.h,v
3retrieving revision 1.3
4retrieving revision 1.4
5diff -u -r1.3 -r1.4
6--- linux-libc-headers/include/linux/if.h 2004/05/01 16:22:33 1.3
7+++ linux-libc-headers/include/linux/if.h 2004/05/06 21:58:24 1.4
8@@ -88,6 +88,8 @@
9 * being very small might be worth keeping for clean configuration.
10 */
322f8ee5 11
7e0f0526 12+#ifndef _NET_IF_H
13+
14 struct ifmap
15 {
16 unsigned long mem_start;
17@@ -99,6 +101,8 @@
18 /* 3 bytes spare */
19 };
322f8ee5 20
7e0f0526 21+#endif
22+
23 struct if_settings
24 {
25 unsigned int type; /* Type of physical device or protocol */
26@@ -124,6 +128,8 @@
27 * remainder may be interface specific.
28 */
322f8ee5 29
7e0f0526 30+#ifndef _NET_IF_H
31+
32 struct ifreq
33 {
34 #define IFHWADDRLEN 6
35@@ -149,6 +155,8 @@
36 } ifr_ifru;
37 };
322f8ee5 38
7e0f0526 39+#endif
40+
41 #define ifr_name ifr_ifrn.ifrn_name /* interface name */
42 #define ifr_hwaddr ifr_ifru.ifru_hwaddr /* MAC address */
43 #define ifr_addr ifr_ifru.ifru_addr /* address */
44@@ -174,6 +182,8 @@
45 * must know all networks accessible).
46 */
2947830d 47
7e0f0526 48+#ifndef _NET_IF_H
49+
50 struct ifconf
51 {
52 int ifc_len; /* size of buffer */
53@@ -183,6 +193,9 @@
54 struct ifreq *ifcu_req;
55 } ifc_ifcu;
56 };
57+
58+#endif
59+
60 #define ifc_buf ifc_ifcu.ifcu_buf /* buffer address */
61 #define ifc_req ifc_ifcu.ifcu_req /* array of structures */
2947830d 62
This page took 0.037005 seconds and 4 git commands to generate.