summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.h
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-08-08 00:43:00 +0000
committerniklas <niklas@openbsd.org>1999-08-08 00:43:00 +0000
commit80ca96b8cb2f5ccb83fc9f1daf6a30850f3aace3 (patch)
treed241b3faecfc0eda110a4e67080dd48c7c02cdf3 /sys/net/if_bridge.h
parentFrom NetBSD; new device detaching infrastructure. (diff)
downloadwireguard-openbsd-80ca96b8cb2f5ccb83fc9f1daf6a30850f3aace3.tar.xz
wireguard-openbsd-80ca96b8cb2f5ccb83fc9f1daf6a30850f3aace3.zip
Support detaching of network interfaces. Still work to do in ipf, and
other families than inet.
Diffstat (limited to 'sys/net/if_bridge.h')
-rw-r--r--sys/net/if_bridge.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/net/if_bridge.h b/sys/net/if_bridge.h
index ca4e89e34dc..227aca32b4f 100644
--- a/sys/net/if_bridge.h
+++ b/sys/net/if_bridge.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.h,v 1.6 1999/03/19 22:47:33 jason Exp $ */
+/* $OpenBSD: if_bridge.h,v 1.7 1999/08/08 00:43:00 niklas Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -101,8 +101,9 @@ struct ifbcachetoreq {
#ifdef _KERNEL
-struct mbuf * bridge_input __P((struct ifnet *, struct ether_header *,
+void bridge_ifdetach __P((struct ifnet *));
+struct mbuf *bridge_input __P((struct ifnet *, struct ether_header *,
struct mbuf *));
-int bridge_output __P((struct ifnet *, struct mbuf *,
- struct sockaddr *, struct rtentry *rt));
+int bridge_output __P((struct ifnet *, struct mbuf *, struct sockaddr *,
+ struct rtentry *rt));
#endif /* _KERNEL */