diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-06 00:22:26 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-06 00:22:26 +0000 |
commit | b2ad256d635f41da2c0217f8326a2f7c99ac44eb (patch) | |
tree | 6640bdd1d3a66949fec08460bb6a3fc426921f97 /sys/net/net_osdep.h | |
parent | a64bc62d54ad86a3b2fa0197206f5e5766d59241 (diff) |
allow changing number of loopbacks in ukc.
change rest of the code to use lo0ifp pointing
to the corresponding struct ifnet.
itojun@ and niklas@ ok
Diffstat (limited to 'sys/net/net_osdep.h')
-rw-r--r-- | sys/net/net_osdep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/net_osdep.h b/sys/net/net_osdep.h index 72e7ed9a470..36096a092a9 100644 --- a/sys/net/net_osdep.h +++ b/sys/net/net_osdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: net_osdep.h,v 1.2 2000/08/19 09:17:35 itojun Exp $ */ +/* $OpenBSD: net_osdep.h,v 1.3 2001/02/06 00:22:22 mickey Exp $ */ /* $KAME: net_osdep.h,v 1.23 2000/08/19 00:58:11 itojun Exp $ */ /* @@ -125,7 +125,8 @@ * - struct ifnet for loopback interface * BSDI3: struct ifnet loif; * BSDI4: struct ifnet *loifp; - * NetBSD, OpenBSD, FreeBSD2: struct ifnet loif[NLOOP]; + * NetBSD, FreeBSD2: struct ifnet loif[NLOOP]; + * OpenBSD: lo0ifp * * odd thing is that many of them refers loif as ifnet *loif, * not loif[NLOOP], from outside of if_loop.c. |