Searched refs:ifa_scope (Results 1 – 8 of 8) sorted by relevance
346 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()455 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()463 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()516 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()791 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()1073 ifa->ifa_scope = 0; in devinet_ioctl()1205 if (ifa->ifa_scope > scope) in inet_select_addr()1229 if (ifa->ifa_scope != RT_SCOPE_LINK && in inet_select_addr()1230 ifa->ifa_scope <= scope) { in inet_select_addr()1251 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()
935 if (ifa->ifa_scope > scope) in dnet_select_source()
13 __u8 ifa_scope; member
138 unsigned char ifa_scope; member
120 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
2793 if (ifa->ifa_scope == RT_SCOPE_LINK) in sit_add_v4_addrs()2795 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in sit_add_v4_addrs()4178 ifm->ifa_scope = scope; in put_ifaddrmsg()4195 static inline int rt_scope(int ifa_scope) in rt_scope() argument4197 if (ifa_scope & IFA_HOST) in rt_scope()4199 else if (ifa_scope & IFA_LINK) in rt_scope()4201 else if (ifa_scope & IFA_SITE) in rt_scope()