Searched refs:ifa_scope (Results 1 – 8 of 8) sorted by relevance
94 unsigned int ifa_scope = ifa_addr_type & IPV6_ADDR_SCOPE_MASK; in nf_nat_redirect_ipv6_usable() local96 if (!(scope & ifa_scope)) in nf_nat_redirect_ipv6_usable()
396 ifa1->ifa_scope <= ifa->ifa_scope) in __inet_del_ifa()513 ifa->ifa_scope <= ifa1->ifa_scope) in __inet_insert_ifa()521 if (ifa1->ifa_scope != ifa->ifa_scope) { in __inet_insert_ifa()589 ifa->ifa_scope = RT_SCOPE_HOST; in inet_set_ifa()921 ifa->ifa_scope = ifm->ifa_scope; in inet_rtm_to_ifa()1225 ifa->ifa_scope = 0; in devinet_ioctl()1351 if (ifa->ifa_scope != RT_SCOPE_LINK && in in_dev_select_addr()1352 ifa->ifa_scope <= scope) in in_dev_select_addr()1380 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr()1442 unsigned char min_scope = min(ifa->ifa_scope, localnet_scope); in confirm_addr_indev()[all …]
1453 ifm->ifa_scope = RT_SCOPE_UNIVERSE; in inet_fill_ifmcaddr()
12 __u8 ifa_scope; /* Address scope */ member
116 ifm->ifa_scope = RT_SCOPE_LINK; in fill_addr()
76 hdr->ifa_scope = 0; in mctp_fill_addrinfo()
3255 if (ifa->ifa_scope == RT_SCOPE_LINK) in add_v4_addrs()3257 if (ifa->ifa_scope >= RT_SCOPE_HOST) { in add_v4_addrs()5089 ifm->ifa_scope = scope; in put_ifaddrmsg()5106 static inline int rt_scope(int ifa_scope) in rt_scope() argument5108 if (ifa_scope & IFA_HOST) in rt_scope()5110 else if (ifa_scope & IFA_LINK) in rt_scope()5112 else if (ifa_scope & IFA_SITE) in rt_scope()5354 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_valid_dump_ifaddr_req()5496 if (ifm->ifa_prefixlen || ifm->ifa_flags || ifm->ifa_scope) { in inet6_rtm_valid_getaddr_req()