History

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.

Thomas Haller committed 12 years ago

Commit 761aac71 parent 6631c5c2 files · +14 −6Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/if_addr.h+1−0
@@ -49,6 +49,7 @@ enum { · 48 unmodified lines
49#define IFA_F_TENTATIVE 0x4049#define IFA_F_TENTATIVE 0x40
50#define IFA_F_PERMANENT 0x8050#define IFA_F_PERMANENT 0x80
51#define IFA_F_MANAGETEMPADDR 0x10051#define IFA_F_MANAGETEMPADDR 0x100
52#define IFA_F_NOPREFIXROUTE 0x200
52 53
53struct ifa_cacheinfo {54struct ifa_cacheinfo {
54 __u32 ifa_prefered;55 __u32 ifa_prefered;