home *** CD-ROM | disk | FTP | other *** search
- diff -u --recursive --new-file linux/fs/proc/net.c.orig linux/fs/proc/net.c
- --- linux/fs/proc/net.c.orig Sun May 8 23:53:19 1994
- +++ linux/fs/proc/net.c Mon May 9 21:46:46 1994
- @@ -44,7 +44,9 @@
- extern int udp_get_info(char *, char **, off_t, int);
- extern int raw_get_info(char *, char **, off_t, int);
- extern int arp_get_info(char *, char **, off_t, int);
- +#ifdef CONFIG_INET_RARP
- extern int rarp_get_info(char *, char **, off_t, int);
- +#endif /* CONFIG_INET_RARP */
- extern int dev_get_info(char *, char **, off_t, int);
- extern int rt_get_info(char *, char **, off_t, int);
- #endif /* CONFIG_INET */
- @@ -98,7 +100,9 @@
- { 132,3,"raw" },
- { 133,3,"tcp" },
- { 134,3,"udp" },
- +#ifdef CONFIG_INET_RARP
- { 135,4,"rarp"}
- +#endif /* CONFIG_INET_RARP */
- #endif /* CONFIG_INET */
- #ifdef CONFIG_IPX
- ,{ 136,9,"ipx_route" },
- @@ -214,9 +218,11 @@
- case 134:
- length = udp_get_info(page,&start,file->f_pos,thistime);
- break;
- +#ifdef CONFIG_INET_RARP
- case 135:
- length = rarp_get_info(page,&start,file->f_pos,thistime);
- break;
- +#endif /* CONFIG_INET_RARP */
- #endif /* CONFIG_INET */
- #ifdef CONFIG_IPX
- case 136:
- diff -u --recursive --new-file linux/net/inet/Makefile.orig linux/net/inet/Makefile
- --- linux/net/inet/Makefile.orig Mon May 9 21:45:19 1994
- +++ linux/net/inet/Makefile Mon May 9 21:45:38 1994
- @@ -19,6 +19,12 @@
- eth.o packet.o arp.o dev.o ip.o raw.o icmp.o tcp.o udp.o \
- datagram.o skbuff.o devinet.o
-
- +ifdef CONFIG_INET_RARP
- +
- +OBJS := $(OBJS) rarp.o
- +
- +endif
- +
- ifdef CONFIG_AX25
-
- OBJS := $(OBJS) ax25.o ax25_in.o ax25_out.o ax25_subr.o ax25_timer.o
- diff -u --recursive --new-file linux/net/inet/sock.c.orig linux/net/inet/sock.c
- --- linux/net/inet/sock.c.orig Mon May 9 21:43:40 1994
- +++ linux/net/inet/sock.c Mon May 9 21:43:49 1994
- @@ -87,7 +87,9 @@
- #include "ip.h"
- #include "protocol.h"
- #include "arp.h"
- +#ifdef CONFIG_INET_RARP
- #include "rarp.h"
- +#endif /* CONFIG_INET_RARP */
- #include "route.h"
- #include "tcp.h"
- #include "udp.h"
- @@ -1484,10 +1486,12 @@
- case SIOCSARP:
- return(arp_ioctl(cmd,(void *) arg));
-
- +#ifdef CONFIG_INET_RARP
- case SIOCDRARP:
- case SIOCGRARP:
- case SIOCSRARP:
- return(rarp_ioctl(cmd,(void *) arg));
- +#endif /* CONFIG_INET_RARP */
-
- case SIOCGIFCONF:
- case SIOCGIFFLAGS:
-