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
5 + * These are definitions needed to build iproute2 with kernel 2.2
8 +#ifndef ARPHRD_IEEE1394
9 +#define ARPHRD_IEEE1394 24 /* IEEE 1394 IPv4 - RFC 2734 */
13 +#define ARPHRD_HWX25 272 /* Boards with X.25 in firmware */
16 +#define ARPHRD_DDCMP 517 /* Digital's DDCMP protocol */
19 +#ifndef ARPHRD_RAWHDLC
20 +#define ARPHRD_RAWHDLC 518 /* Raw HDLC */
23 +#ifndef ARPHRD_IEEE80211
24 +#define ARPHRD_IEEE80211 801 /* IEEE 802.11 */
28 +#define ETH_P_PUPAT 0x0201 /* Xerox PUP Addr Trans packet */
31 +#ifndef ETH_P_IEEEPUP
32 +#define ETH_P_IEEEPUP 0x0a00 /* Xerox IEEE802.3 PUP packet */
35 +#ifndef ETH_P_IEEEPUPAT
36 +#define ETH_P_IEEEPUPAT 0x0a01 /* Xerox IEEE802.3 PUP Addr Trans packet */
39 +#ifndef ETH_P_PPP_DISC
40 +#define ETH_P_PPP_DISC 0x8863 /* PPPoE discovery messages */
43 +#ifndef ETH_P_PPP_SES
44 +#define ETH_P_PPP_SES 0x8864 /* PPPoE session messages */
48 +#define ETH_P_ECONET 0x0018 /* Acorn Econet */
52 +#define ARPHRD_ATM 19 /* ATM */
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
59 #include <netinet/in.h>
60 #include <arpa/inet.h>
62 +#include "pseudo2_4.h"
64 char * ll_type_n2a(int type, char *buf, int len)
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
73 +#include "pseudo2_4.h"
75 #define __PF(f,n) { ETH_P_##f, #n },