diff options
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 5c3d4d1251a..f496059d9d9 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if.h,v 1.139 2013/03/07 09:40:19 mpi Exp $ */ +/* $OpenBSD: if.h,v 1.140 2013/03/20 10:34:12 mpi Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -798,9 +798,7 @@ do { \ extern int ifqmaxlen; extern struct ifnet_head ifnet; -extern struct ifnet **ifindex2ifnet; extern struct ifnet *lo0ifp; -extern int if_indexlim; #define ether_input_mbuf(ifp, m) ether_input((ifp), NULL, (m)) @@ -833,6 +831,7 @@ int if_addgroup(struct ifnet *, const char *); int if_delgroup(struct ifnet *, const char *); void if_group_routechange(struct sockaddr *, struct sockaddr *); struct ifnet *ifunit(const char *); +struct ifnet *if_get(unsigned int); void if_start(struct ifnet *); void ifnewlladdr(struct ifnet *); |