summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-01-15 15:36:58 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-15 17:00:40 -0800
commit761aac737eb11901c382a3f021dead59a26983fc (patch)
tree0153d7759a5b2914fe53667396764e71a67bd141 /include/uapi
parent6631c5cea8687cf4d36327fdbceb0691cd5d2e29 (diff)
downloadlinux-rt-761aac737eb11901c382a3f021dead59a26983fc.tar.gz
ipv6 addrconf: add IFA_F_NOPREFIXROUTE flag to suppress creation of IP6 routes
When adding/modifying an IPv6 address, the userspace application needs a way to suppress adding a prefix route. This is for example relevant together with IFA_F_MANAGERTEMPADDR, where userspace creates autoconf generated addresses, but depending on on-link, no route for the prefix should be added. Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/if_addr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_addr.h b/include/uapi/linux/if_addr.h
index cfed10be7529..dea10a87dfd1 100644
--- a/include/uapi/linux/if_addr.h
+++ b/include/uapi/linux/if_addr.h
@@ -49,6 +49,7 @@ enum {
#define IFA_F_TENTATIVE 0x40
#define IFA_F_PERMANENT 0x80
#define IFA_F_MANAGETEMPADDR 0x100
+#define IFA_F_NOPREFIXROUTE 0x200
struct ifa_cacheinfo {
__u32 ifa_prefered;