• David Ahern's avatar
    net: Add IFA_RT_PRIORITY address attribute · 620dee94
    David Ahern authored
    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.
    Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    620dee94
if_addr.h 1.85 KB