summaryrefslogtreecommitdiff
path: root/sbin/slaacd/slaacd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/slaacd/slaacd.h')
-rw-r--r--sbin/slaacd/slaacd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/slaacd/slaacd.h b/sbin/slaacd/slaacd.h
index 910be91e687..1659c564abf 100644
--- a/sbin/slaacd/slaacd.h
+++ b/sbin/slaacd/slaacd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacd.h,v 1.17 2018/07/09 07:41:15 florian Exp $ */
+/* $OpenBSD: slaacd.h,v 1.18 2018/07/23 06:14:14 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -74,6 +74,7 @@ enum imsg_type {
IMSG_FAKE_ACK,
IMSG_CONFIGURE_DFR,
IMSG_WITHDRAW_DFR,
+ IMSG_DUP_ADDRESS,
};
enum {
@@ -202,6 +203,11 @@ struct imsg_ra {
uint8_t packet[1500];
};
+struct imsg_dup_addr {
+ uint32_t if_index;
+ struct sockaddr_in6 addr;
+};
+
/* slaacd.c */
void imsg_event_add(struct imsgev *);
int imsg_compose_event(struct imsgev *, uint16_t, uint32_t, pid_t,