diff options
author | Thomas Haller <thaller@redhat.com> | 2014-01-15 09:36:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-15 20:00:40 -0500 |
commit | 761aac737eb11901c382a3f021dead59a26983fc (patch) | |
tree | 0153d7759a5b2914fe53667396764e71a67bd141 /include/uapi/linux/if_addr.h | |
parent | 6631c5cea8687cf4d36327fdbceb0691cd5d2e29 (diff) |
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/linux/if_addr.h')
-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 cfed10be7529..dea10a87dfd1 100644 --- a/include/uapi/linux/if_addr.h +++ b/include/uapi/linux/if_addr.h | |||
@@ -49,6 +49,7 @@ enum { | |||
49 | #define IFA_F_TENTATIVE 0x40 | 49 | #define IFA_F_TENTATIVE 0x40 |
50 | #define IFA_F_PERMANENT 0x80 | 50 | #define IFA_F_PERMANENT 0x80 |
51 | #define IFA_F_MANAGETEMPADDR 0x100 | 51 | #define IFA_F_MANAGETEMPADDR 0x100 |
52 | #define IFA_F_NOPREFIXROUTE 0x200 | ||
52 | 53 | ||
53 | struct ifa_cacheinfo { | 54 | struct ifa_cacheinfo { |
54 | __u32 ifa_prefered; | 55 | __u32 ifa_prefered; |