[PATCH] remove final traces of IPX code

Robert P. J. Day rpjday at mindspring.com
Wed May 17 02:58:29 PDT 2006


  IIRC, the consensus was to drop IPX support entirely until such time
as it would be re-incorporated fully and properly.  so here's a patch
to get rid of the final references to IPX, particularly from the
config menu.

rday
-------------- next part --------------
diff -pru busybox/networking/Config.in busybox.new/networking/Config.in
--- busybox/networking/Config.in	2006-05-11 08:04:07.000000000 -0400
+++ busybox.new/networking/Config.in	2006-05-17 05:55:48.000000000 -0400
@@ -262,14 +262,6 @@ config CONFIG_FEATURE_IFUPDOWN_IPV6
 	help
 	  If you need support for IPv6, turn this option on.
 
-config CONFIG_FEATURE_IFUPDOWN_IPX
-	bool "Enable support for IPX"
-	default n
-	depends on CONFIG_IFUPDOWN
-	help
-	  If this option is selected you can use busybox to work with IPX
-	  networks.
-
 config CONFIG_FEATURE_IFUPDOWN_MAPPING
 	bool "Enable mapping support"
 	default n
diff -pru busybox/networking/libiproute/utils.h busybox.new/networking/libiproute/utils.h
--- busybox/networking/libiproute/utils.h	2006-05-11 08:04:05.000000000 -0400
+++ busybox.new/networking/libiproute/utils.h	2006-05-17 05:56:16.000000000 -0400
@@ -50,13 +50,6 @@ struct dn_naddr
 	unsigned char a_addr[DN_MAXADDL];
 };
 
-#define IPX_NODE_LEN 6
-
-struct ipx_addr {
-	uint32_t ipx_net;
-	uint8_t  ipx_node[IPX_NODE_LEN];
-};
-
 extern __u32 get_addr32(char *name);
 extern int get_addr_1(inet_prefix *dst, char *arg, int family);
 extern int get_prefix_1(inet_prefix *dst, char *arg, int family);
@@ -86,9 +79,6 @@ extern int inet_addr_match(inet_prefix *
 const char *dnet_ntop(int af, const void *addr, char *str, size_t len);
 int dnet_pton(int af, const char *src, void *addr);
 
-const char *ipx_ntop(int af, const void *addr, char *str, size_t len);
-int ipx_pton(int af, const char *src, void *addr);
-
 extern int __iproute2_hz_internal;
 extern int __get_hz(void);
 


More information about the busybox mailing list