summaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-08 00:43:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-08 00:43:01 +0000
commite09cf6c78cf6abfe9238df036609a770d07895c7 (patch)
tree0372b157616721e3317d539fd56a6afe5e270c6a /sys/net/if.h
parent8caf3f08d55dcea309e251d36eca66a7159efe22 (diff)
Support detaching of network interfaces. Still work to do in ipf, and
other families than inet.
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 1cf3802ac3f..2fed82f3649 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.12 1999/06/23 21:55:28 cmetz Exp $ */
+/* $OpenBSD: if.h,v 1.13 1999/08/08 00:43:00 niklas Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -355,6 +355,7 @@ struct if_nameindex *if_nameindex __P((void));
struct ifnet_head ifnet;
void ether_ifattach __P((struct ifnet *));
+void ether_ifdetach __P((struct ifnet *));
int ether_ioctl __P((struct ifnet *, struct arpcom *, u_long, caddr_t));
void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
int ether_output __P((struct ifnet *,
@@ -364,6 +365,7 @@ char *ether_sprintf __P((u_char *));
void if_attach __P((struct ifnet *));
void if_attachtail __P((struct ifnet *));
void if_attachhead __P((struct ifnet *));
+void if_detach __P((struct ifnet *));
void if_down __P((struct ifnet *));
void if_qflush __P((struct ifqueue *));
void if_slowtimo __P((void *));