diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-08 06:50:25 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-08 06:50:25 +0000 |
commit | d9c080e0265d3557ac6fe2d2723cf4823eaa909f (patch) | |
tree | 422a747ed77f091d33ae234312450cc5cb2aa789 /sys/netiso/if_eon.c | |
parent | bfa115c3a1f89cedeb913741469312347a52f8ee (diff) |
bring in KAME IPv6 code, dated 19991208.
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support.
see sys/netinet6/{TODO,IMPLEMENTATION} for more details.
GENERIC configuration should work fine as before. GENERIC.v6 works fine
as well, but you'll need KAME userland tools to play with IPv6 (will be
bringed into soon).
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r-- | sys/netiso/if_eon.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c index 5499d1ce1db..62093ae1a35 100644 --- a/sys/netiso/if_eon.c +++ b/sys/netiso/if_eon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eon.c,v 1.6 1999/04/22 20:02:44 art Exp $ */ +/* $OpenBSD: if_eon.c,v 1.7 1999/12/08 06:50:24 itojun Exp $ */ /* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */ /*- @@ -78,6 +78,7 @@ SOFTWARE. #include <sys/param.h> #include <sys/systm.h> #include <sys/mbuf.h> +#include <sys/buf.h> #include <sys/protosw.h> #include <sys/socket.h> #include <sys/ioctl.h> @@ -108,8 +109,11 @@ SOFTWARE. #include <machine/stdarg.h> +#include "loop.h" + +extern struct ifnet loif[NLOOP]; + extern struct timeval time; -extern struct ifnet loif; #define EOK 0 @@ -294,7 +298,7 @@ eonrtrequest(cmd, rt, gate) case RTM_ADD: case RTM_RESOLVE: - rt->rt_rmx.rmx_mtu = loif.if_mtu; /* unless better below */ + rt->rt_rmx.rmx_mtu = loif[0].if_mtu; /* unless better below */ R_Malloc(el, struct eon_llinfo *, sizeof(*el)); rt->rt_llinfo = (caddr_t) el; if (el == 0) |