From 7d86d4b4bc98e74659cce40266c58cd6f5c658f2 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Thu, 12 Jul 2018 16:07:36 +0000 Subject: Introduce RTM_CHGADDRATTR to inform userland on the route socket when an attribute of an address is changed. For now it's used when IPv6 duplicate address detection finishes. With this slaacd(8) can find out if a configured address is not duplicated without the need to poll. OK phessler, benno, claudio --- sys/net/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/route.h b/sys/net/route.h index 43386fa41a6..6643dd71dfb 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.171 2018/07/01 08:53:03 mpi Exp $ */ +/* $OpenBSD: route.h,v 1.172 2018/07/12 16:07:35 florian Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -240,6 +240,7 @@ struct rt_msghdr { #define RTM_INVALIDATE 0x11 /* Invalidate cache of L2 route */ #define RTM_BFD 0x12 /* bidirectional forwarding detection */ #define RTM_PROPOSAL 0x13 /* proposal for netconfigd */ +#define RTM_CHGADDRATTR 0x14 /* address attribute change */ #define RTV_MTU 0x1 /* init or lock _mtu */ #define RTV_HOPCOUNT 0x2 /* init or lock _hopcount */ -- cgit v1.2.3