Searched refs:ifa_scope (Results 1 – 9 of 9) sorted by relevance
374 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()499 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()507 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()581 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()873 ifa->ifa_scope = ifm->ifa_scope; in rtm_to_ifaddr()1166 ifa->ifa_scope = 0; in devinet_ioctl()1292 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()1293 ifa->ifa_scope <= scope) in in_dev_select_addr()1320 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr()1382 unsigned char min_scope = min(ifa->ifa_scope, localnet_scope); in confirm_addr_indev()[all …]
12 __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()1175 ifa->ifa_scope = RT_SCOPE_UNIVERSE; in dn_dev_up()
925 if (ifa->ifa_scope > scope) in dnet_select_source()
14 __u8 ifa_scope; member
109 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
147 unsigned char ifa_scope; member
61 hdr->ifa_scope = 0; in mctp_fill_addrinfo()
3138 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()3140 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in add_v4_addrs()4910 ifm->ifa_scope = scope; in put_ifaddrmsg()4927 static inline int rt_scope(int ifa_scope) in rt_scope() argument4929 if (ifa_scope & IFA_HOST) in rt_scope()4931 else if (ifa_scope & IFA_LINK) in rt_scope()4933 else if (ifa_scope & IFA_SITE) in rt_scope()5179 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()5338 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()