diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-12-06 09:45:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 16:34:43 -0500 |
commit | 53bd674915379d91e0e505332c89741b34eab05c (patch) | |
tree | 5543216230b9a84c7d89c068a79067ec5f244488 /include | |
parent | 479840ffdbe4242e8a25349218c8e0859223aa35 (diff) | |
download | linux-53bd674915379d91e0e505332c89741b34eab05c.tar.gz linux-53bd674915379d91e0e505332c89741b34eab05c.tar.bz2 linux-53bd674915379d91e0e505332c89741b34eab05c.zip |
ipv6 addrconf: introduce IFA_F_MANAGETEMPADDR to tell kernel to manage temporary addresses
Creating an address with this flag set will result in kernel taking care
of temporary addresses in the same way as if the address was created by
kernel itself (after RA receive). This allows userspace applications
implementing the autoconfiguration (NetworkManager for example) to
implement ipv6 addresses privacy.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_addr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_addr.h b/include/uapi/linux/if_addr.h index 8ab0c2cc9b73..cfed10be7529 100644 --- a/include/uapi/linux/if_addr.h +++ b/include/uapi/linux/if_addr.h @@ -48,6 +48,7 @@ enum { #define IFA_F_DEPRECATED 0x20 #define IFA_F_TENTATIVE 0x40 #define IFA_F_PERMANENT 0x80 +#define IFA_F_MANAGETEMPADDR 0x100 struct ifa_cacheinfo { __u32 ifa_prefered; |