summaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-02-07 15:00:18 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2005-02-07 15:00:18 +0000
commit479870d83e372c6b6d1b97b9e2f9a60f4ab14e6c (patch)
tree2cdf846fd2fa071cc1541a650986172c7887263a /sys/net/if.h
parent968ced4fb7bf97052f93cb0a1de75ef4355b24f5 (diff)
Add new function if_link_state_change() to take care of sending messages
on the routing socket and notifying carp() of link changes. ok brad@ mpf@
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 670b792058e..31df9263080 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.63 2005/01/14 11:49:01 henning Exp $ */
+/* $OpenBSD: if.h,v 1.64 2005/02/07 15:00:17 mcbride Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -650,6 +650,7 @@ void if_attachtail(struct ifnet *);
void if_attachhead(struct ifnet *);
void if_detach(struct ifnet *);
void if_down(struct ifnet *);
+void if_link_state_change(struct ifnet *);
void if_qflush(struct ifqueue *);
void if_slowtimo(void *);
void if_up(struct ifnet *);