Searched refs:ifa_scope (Results 1 – 8 of 8) sorted by relevance
349 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()459 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()467 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()520 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()795 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()1076 ifa->ifa_scope = 0; in devinet_ioctl()1208 if (ifa->ifa_scope > scope) in inet_select_addr()1232 if (ifa->ifa_scope != RT_SCOPE_LINK && in inet_select_addr()1233 ifa->ifa_scope <= scope) { in inet_select_addr()1254 ifa->ifa_scope <= scope) { in confirm_addr_indev()[all …]
11 __u8 ifa_scope; /* Address scope */ member
403 ifa->ifa_scope = RT_SCOPE_HOST; in dn_dev_set_ifa()655 ifa->ifa_scope = ifm->ifa_scope; in dn_nl_newaddr()694 ifm->ifa_scope = ifa->ifa_scope; in dn_nl_fill_ifaddr()1177 ifa->ifa_scope = RT_SCOPE_UNIVERSE; in dn_dev_up()
933 if (ifa->ifa_scope > scope) in dnet_select_source()
13 __u8 ifa_scope; member
141 unsigned char ifa_scope; member
120 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
2862 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()2864 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()4261 ifm->ifa_scope = scope; in put_ifaddrmsg()4278 static inline int rt_scope(int ifa_scope) in rt_scope() argument4280 if (ifa_scope & IFA_HOST) in rt_scope()4282 else if (ifa_scope & IFA_LINK) in rt_scope()4284 else if (ifa_scope & IFA_SITE) in rt_scope()