summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.h
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2005-04-20 23:00:42 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2005-04-20 23:00:42 +0000
commit3040ff520d8c53f7587470475ccf7770c5ab6eed (patch)
tree3dff2890b93a4c3db99d28f47db21bfd3ccb3abb /sys/netinet/ip_carp.h
parent5dba608b70a7ae8016a0e5fb77bd200394dc1eee (diff)
Introduce if_linkstatehooks.
This converts if_link_state_change() to a generic usable callback with dohooks(). OK henning@, camield@ Tested by camield@ and Alexey E. Suslikov
Diffstat (limited to 'sys/netinet/ip_carp.h')
-rw-r--r--sys/netinet/ip_carp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h
index 8bd44c73d27..a16981fec41 100644
--- a/sys/netinet/ip_carp.h
+++ b/sys/netinet/ip_carp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.h,v 1.17 2005/03/01 19:04:56 mcbride Exp $ */
+/* $OpenBSD: ip_carp.h,v 1.18 2005/04/20 23:00:41 mpf Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -154,7 +154,7 @@ struct carpreq {
#ifdef _KERNEL
void carp_ifdetach (struct ifnet *);
void carp_proto_input (struct mbuf *, ...);
-void carp_carpdev_state(struct ifnet *);
+void carp_carpdev_state(void *);
int carp6_proto_input(struct mbuf **, int *, int);
int carp_iamatch(struct in_ifaddr *, u_char *,
u_int32_t *, u_int32_t);