diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2018-07-12 16:07:36 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2018-07-12 16:07:36 +0000 |
commit | 7d86d4b4bc98e74659cce40266c58cd6f5c658f2 (patch) | |
tree | f170dfaf738c8a1b60a7767508c71d2e4ff07abc /sys/net | |
parent | 45488dc8abdeeb0676fdd1f74b5d522720b89695 (diff) |
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
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |