diff options
author | 2015-12-03 16:27:32 +0000 | |
---|---|---|
committer | 2015-12-03 16:27:32 +0000 | |
commit | ce2f93b3c0b7a3826214a6142a185dc98797ff37 (patch) | |
tree | f2b2c2c4c140f48ecab51682f3f2fe7879bb4b7c /sys/netinet/ip_carp.c | |
parent | add ifdef IPSEC for protoypes; requested by mpi@ (diff) | |
download | wireguard-openbsd-ce2f93b3c0b7a3826214a6142a185dc98797ff37.tar.xz wireguard-openbsd-ce2f93b3c0b7a3826214a6142a185dc98797ff37.zip |
Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow to
fallback to a SLIST.
ok dlg@, jasper@
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index f8e7e66d7f6..4dbb6e5616b 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.282 2015/11/18 13:53:59 mpi Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.283 2015/12/03 16:27:32 mpi Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -94,7 +94,7 @@ struct carp_mc_entry { enum { HMAC_ORIG=0, HMAC_NOV6LL=1, HMAC_MAX=2 }; struct carp_vhost_entry { - struct srpl_entry vhost_entries; + SRPL_ENTRY(carp_vhost_entry) vhost_entries; struct refcnt vhost_refcnt; struct carp_softc *parent_sc; @@ -133,7 +133,7 @@ struct carp_softc { struct ip6_moptions sc_im6o; #endif /* INET6 */ - struct srpl_entry sc_list; + SRPL_ENTRY(carp_softc) sc_list; struct refcnt sc_refcnt; int sc_suppress; @@ -147,7 +147,7 @@ struct carp_softc { char sc_curlladdr[ETHER_ADDR_LEN]; - struct srpl carp_vhosts; + SRPL_HEAD(, carp_vhost_entry) carp_vhosts; int sc_vhe_count; u_int8_t sc_vhids[CARP_MAXNODES]; u_int8_t sc_advskews[CARP_MAXNODES]; |