]> git.pld-linux.org Git - packages/iproute2.git/blame - iproute2-fix-2_2.patch
- apply db patch
[packages/iproute2.git] / iproute2-fix-2_2.patch
CommitLineData
02bae7c4
PG
1--- ./include/pseudo2_4.h.org Sun Oct 28 22:58:55 2001
2+++ ./include/pseudo2_4.h Sun Oct 28 23:09:54 2001
f1430b34 3@@ -0,0 +1,51 @@
02bae7c4
PG
4+/*
5+ * These are definitions needed to build iproute2 with kernel 2.2
6+ */
7+
8+#ifndef ARPHRD_IEEE1394
9+#define ARPHRD_IEEE1394 24 /* IEEE 1394 IPv4 - RFC 2734 */
10+#endif
11+
12+#ifndef ARPHRD_HWX25
13+#define ARPHRD_HWX25 272 /* Boards with X.25 in firmware */
14+#endif
15+#ifndef ARPHRD_DDCMP
16+#define ARPHRD_DDCMP 517 /* Digital's DDCMP protocol */
17+#endif
18+
19+#ifndef ARPHRD_RAWHDLC
20+#define ARPHRD_RAWHDLC 518 /* Raw HDLC */
21+#endif
22+
23+#ifndef ARPHRD_IEEE80211
24+#define ARPHRD_IEEE80211 801 /* IEEE 802.11 */
25+#endif
26+
27+#ifndef ETH_P_PUPAT
28+#define ETH_P_PUPAT 0x0201 /* Xerox PUP Addr Trans packet */
29+#endif
30+
31+#ifndef ETH_P_IEEEPUP
32+#define ETH_P_IEEEPUP 0x0a00 /* Xerox IEEE802.3 PUP packet */
33+#endif
34+
35+#ifndef ETH_P_IEEEPUPAT
36+#define ETH_P_IEEEPUPAT 0x0a01 /* Xerox IEEE802.3 PUP Addr Trans packet */
37+#endif
38+
39+#ifndef ETH_P_PPP_DISC
40+#define ETH_P_PPP_DISC 0x8863 /* PPPoE discovery messages */
41+#endif
42+
43+#ifndef ETH_P_PPP_SES
44+#define ETH_P_PPP_SES 0x8864 /* PPPoE session messages */
45+#endif
46+
47+#ifndef ETH_P_ECONET
48+#define ETH_P_ECONET 0x0018 /* Acorn Econet */
49+#endif
50+
f1430b34 51+#ifndef ARPHRD_ATM
52+#define ARPHRD_ATM 19 /* ATM */
53+#endif
54+
55
02bae7c4
PG
56--- ./lib/ll_types.c.org Sun Oct 28 23:01:45 2001
57+++ ./lib/ll_types.c Sun Oct 28 23:02:17 2001
58@@ -23,6 +23,7 @@
59 #include <netinet/in.h>
60 #include <arpa/inet.h>
61 #include <string.h>
62+#include "pseudo2_4.h"
63
64 char * ll_type_n2a(int type, char *buf, int len)
65 {
66--- ./lib/ll_proto.c.org Sun Oct 28 23:10:32 2001
67+++ ./lib/ll_proto.c Sun Oct 28 23:11:01 2001
68@@ -25,7 +25,7 @@
69 #include <string.h>
70
71 #include "utils.h"
72-
73+#include "pseudo2_4.h"
74
75 #define __PF(f,n) { ETH_P_##f, #n },
76 static struct {
This page took 0.027981 seconds and 4 git commands to generate.