From 287546ea80ee896bda0c88b8a8c85a1dc6ff37f9 Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 8 Dec 1999 06:50:14 +0000 Subject: 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). --- sys/netiso/if_eon.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/netiso/if_eon.c') 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 #include #include +#include #include #include #include @@ -108,8 +109,11 @@ SOFTWARE. #include +#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) -- cgit v1.2.3-59-g8ed1b