diff options
author | 1996-04-24 06:26:46 +0000 | |
---|---|---|
committer | 1996-04-24 06:26:46 +0000 | |
commit | 5861d764ef85f4feefd79ce2765fa2750701043d (patch) | |
tree | a0fcde524f96e8251e8e120072638e8ec0f5c22d | |
parent | Add IPXIP entry, to not to get cvs confused in the future. (diff) | |
download | wireguard-openbsd-5861d764ef85f4feefd79ce2765fa2750701043d.tar.xz wireguard-openbsd-5861d764ef85f4feefd79ce2765fa2750701043d.zip |
Add IPX support.
-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; |