summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-14 02:58:48 +0000
committerglebius <glebius@FreeBSD.org>2014-03-14 02:58:48 +0000
commitd494babace1c51efd0d2c4582515a1e1ae5fa9d2 (patch)
tree289644ca4a3bc9d349466888b297c5a34d00e321 /sys/net/rtsock.c
parenta4fb4957a59109b80df9cabe72982fd067c6f5d1 (diff)
downloadFreeBSD-src-d494babace1c51efd0d2c4582515a1e1ae5fa9d2.zip
FreeBSD-src-d494babace1c51efd0d2c4582515a1e1ae5fa9d2.tar.gz
Remove IPX support.
IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 4cb9b07..324520f 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -129,7 +129,6 @@ int (*carp_get_vhid_p)(struct ifaddr *);
typedef struct {
int ip_count; /* attached w/ AF_INET */
int ip6_count; /* attached w/ AF_INET6 */
- int ipx_count; /* attached w/ AF_IPX */
int any_count; /* total attached */
} route_cb_t;
static VNET_DEFINE(route_cb_t, route_cb);
@@ -294,9 +293,6 @@ rts_attach(struct socket *so, int proto, struct thread *td)
case AF_INET6:
V_route_cb.ip6_count++;
break;
- case AF_IPX:
- V_route_cb.ipx_count++;
- break;
}
V_route_cb.any_count++;
RTSOCK_UNLOCK();
@@ -337,9 +333,6 @@ rts_detach(struct socket *so)
case AF_INET6:
V_route_cb.ip6_count--;
break;
- case AF_IPX:
- V_route_cb.ipx_count--;
- break;
}
V_route_cb.any_count--;
RTSOCK_UNLOCK();
OpenPOWER on IntegriCloud