From 5861d764ef85f4feefd79ce2765fa2750701043d Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 24 Apr 1996 06:26:46 +0000 Subject: [PATCH] Add IPX support. --- sys/net/if_loop.c | 11 +++++++++++ sys/net/if_tun.c | 14 +++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 518bc91d0af..e7b7105c31b 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -70,6 +70,11 @@ #include #endif +#ifdef IPX +#include +#include +#endif + #ifdef ISO #include #include @@ -168,6 +173,12 @@ looutput(ifp, m, dst, rt) isr = NETISR_NS; break; #endif +#ifdef IPX + case AF_IPX: + ifq = &ipxintrq; + isr = NETISR_IPX; + break; +#endif #ifdef ISO case AF_ISO: ifq = &clnlintrq; diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index d85580ee095..4c3a796fded 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tun.c,v 1.6 1996/04/21 22:28:35 deraadt Exp $ */ +/* $OpenBSD: if_tun.c,v 1.7 1996/04/24 06:26:47 mickey Exp $ */ /* $NetBSD: if_tun.c,v 1.22 1996/02/13 22:00:26 christos Exp $ */ /* @@ -59,6 +59,11 @@ #include #endif +#ifdef IPX +#include +#include +#endif + #ifdef ISO #include #include @@ -540,6 +545,13 @@ tunwrite(dev, uio, ioflag) isr = NETISR_NS; break; #endif +#ifdef ISO +#ifdef IPX + case AF_IPX: + ifq = &ipxintrq; + isr = NETISR_IPX; + break; +#endif #ifdef ISO case AF_ISO: ifq = &clnlintrq; -- 2.20.1