diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-12-08 12:26:24 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-01-03 13:37:56 +0100 |
commit | 42c41336000e1ff781a91c6ec397fd787aae3124 (patch) | |
tree | f9b73675536c6c905ba677cdbf504c8cbdf94c8c /include/linux | |
parent | 2cf635b06a678ebe09d6ea6db72bc09de09f84c8 (diff) | |
download | libnl-42c41336000e1ff781a91c6ec397fd787aae3124.tar.gz |
add support for IFA_FLAGS nl attribute
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/if_addr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_addr.h b/include/linux/if_addr.h index c355522d..63da1cdf 100644 --- a/include/linux/if_addr.h +++ b/include/linux/if_addr.h @@ -18,6 +18,9 @@ struct ifaddrmsg { * It makes no difference for normally configured broadcast interfaces, * but for point-to-point IFA_ADDRESS is DESTINATION address, * local address is supplied in IFA_LOCAL attribute. + * + * IFA_FLAGS is a u32 attribute that extends the u8 field ifa_flags. + * If present, the value from struct ifaddrmsg will be ignored. */ enum { IFA_UNSPEC, @@ -28,6 +31,7 @@ enum { IFA_ANYCAST, IFA_CACHEINFO, IFA_MULTICAST, + IFA_FLAGS, __IFA_MAX, }; |