From: mickey Date: Wed, 24 Apr 1996 06:26:46 +0000 (+0000) Subject: Add IPX support. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5861d764ef85f4feefd79ce2765fa2750701043d;p=openbsd Add IPX support. --- 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;