summaryrefslogtreecommitdiff
path: root/sys/net/if_media.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-01-08 05:28:39 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-01-08 05:28:39 +0000
commit2c758f672616404832e1705ba0ac300503453b6f (patch)
treeba5b1575cd96951a50c17b42c666ee7c0524e280 /sys/net/if_media.h
parent1215229b1854b1c195c9883ab2f313992f940b19 (diff)
expose ifmedia_match
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r--sys/net/if_media.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index 6f0368a57e7..803520b20ce 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.h,v 1.2 1999/07/21 19:55:59 jason Exp $ */
+/* $OpenBSD: if_media.h,v 1.3 2000/01/08 05:28:38 jason Exp $ */
/* $NetBSD: if_media.h,v 1.11 1998/08/12 23:23:29 thorpej Exp $ */
/*-
@@ -138,6 +138,10 @@ void ifmedia_set __P((struct ifmedia *ifm, int mword));
int ifmedia_ioctl __P((struct ifnet *ifp, struct ifreq *ifr,
struct ifmedia *ifm, u_long cmd));
+/* Locate a media entry */
+struct ifmedia_entry *ifmedia_match __P((struct ifmedia *ifm,
+ int flags, int mask));
+
#endif /*_KERNEL */
/*