diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-24 06:26:48 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-24 06:26:48 +0000 |
commit | 2347cea00606234eac66aba66603771b84e5605c (patch) | |
tree | 807ca52b9fdba8fcb3aa90850e50d2714f8bb290 /sys/net | |
parent | 93e8708de6b7114617f7646c30db03731cf7dd54 (diff) |
Add IPX support.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_loop.c | 11 | ||||
-rw-r--r-- | sys/net/if_tun.c | 14 |
2 files changed, 24 insertions, 1 deletions
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 <netns/ns_if.h> #endif +#ifdef IPX +#include <netipx/ipx.h> +#include <netipx/ipx_if.h> +#endif + #ifdef ISO #include <netiso/iso.h> #include <netiso/iso_var.h> @@ -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 <netns/ns_if.h> #endif +#ifdef IPX +#include <netipx/ipx.h> +#include <netipx/ipx_if.h> +#endif + #ifdef ISO #include <netiso/iso.h> #include <netiso/iso_var.h> @@ -541,6 +546,13 @@ tunwrite(dev, uio, ioflag) break; #endif #ifdef ISO +#ifdef IPX + case AF_IPX: + ifq = &ipxintrq; + isr = NETISR_IPX; + break; +#endif +#ifdef ISO case AF_ISO: ifq = &clnlintrq; isr = NETISR_ISO; |