History

net: Add IFA_RT_PRIORITY address attribute

Currently, if two interfaces have addresses in the same connected route, then the order of the prefix route entries is determined by the order in which the addresses are assigned or the links brought up. Add IFA_RT_PRIORITY to allow user to specify the metric of the prefix route associated with an address giving interface managers better control of the order of prefix routes.

David Ahern committed 8 years ago

Commit 620dee91 parent d169a1f1 file · +1 −0Browse files

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

Unified · Split

include/uapi/linux/if_addr.h+1−0
@@ -33,6 +33,7 @@ enum { · 32 unmodified lines
33 IFA_CACHEINFO,33 IFA_CACHEINFO,
34 IFA_MULTICAST,34 IFA_MULTICAST,
35 IFA_FLAGS,35 IFA_FLAGS,
36 IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */
36 __IFA_MAX,37 __IFA_MAX,
37};38};
38 39