summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2021-03-07 06:02:33 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2021-03-07 06:02:33 +0000
commit49ad578ab984cc67fc3d2e269e0c427baa55f61e (patch)
tree7f000d7d9935ced2ca6310b56f0e8bb9f6543c1b /sys/netinet/ip_carp.h
parent229b7dafdf18eafcf313394cfec7bedc54278842 (diff)
use uint64_t ethernet addresses for compares in carp.
pass the uint64_t that ether_input has already converted from a real ethernet address into carp_input so it can use it without having to do its own conversion. tested by hrvoje popovski tested by me on amd64 and sparc64 ok patrick@ jmatthew@
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 f06f8f5416c..78277ba16a7 100644
--- a/sys/netinet/ip_carp.h
+++ b/sys/netinet/ip_carp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.h,v 1.50 2020/07/24 18:17:15 mvs Exp $ */
+/* $OpenBSD: ip_carp.h,v 1.51 2021/03/07 06:02:32 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -209,7 +209,7 @@ carp_strict_addr_chk(struct ifnet *ifp_a, struct ifnet *ifp_b)
ifp_a->if_carpdevidx == ifp_b->if_carpdevidx));
}
-struct mbuf *carp_input(struct ifnet *, struct mbuf *);
+struct mbuf *carp_input(struct ifnet *, struct mbuf *, uint64_t);
int carp_proto_input(struct mbuf **, int *, int, int);
void carp_carpdev_state(void *);