Lines Matching defs:scope

33  *						selection; consider scope,
990 * Each device address list is sorted in order of scope -
1115 ifa->scope = cfg->scope;
1411 cfg.scope = ipv6_addr_scope(cfg.pfx);
1469 int scope;
1544 /* Rule 2: Prefer appropriate scope
1549 * ---+--+-+---> scope
1551 * | d is scope of the destination.
1553 * | \ <- smaller scope is better if
1554 * B-15 | \ if scope is enough for destination.
1555 * | ret = B - scope (-1 <= scope >= d <= 15).
1558 * -C / if scope is not enough for destination.
1559 * /| ret = scope - C (-1 <= d < scope <= 15).
1566 if (ret >= dst->scope)
1697 * scope, because ifa entries
1698 * are sorted by their scope
1757 dst.scope = __ipv6_addr_src_scope(dst_type);
1785 dst.scope <= IPV6_ADDR_SCOPE_LINKLOCAL ||
1846 if (ifp->scope > IFA_LINK)
1848 if (ifp->scope == IFA_LINK &&
1937 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict))) {
2031 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict)) {
2118 .scope = ifp->scope,
2343 if (ifp->scope > IFA_LINK)
2345 if (ifp->scope == IFA_LINK && !(ifp->flags&IFA_F_TENTATIVE)) {
2605 .scope = addr_type & IPV6_ADDR_SCOPE_MASK,
2953 cfg->scope = ipv6_addr_scope(cfg->pfx);
3093 int plen, int scope)
3102 .scope = scope
3122 int scope, plen;
3135 scope = IFA_LINK;
3138 scope = IPV6_ADDR_COMPATv4;
3144 add_addr(idev, &addr, plen, scope);
3154 int flag = scope;
3202 .scope = IFA_LINK
4175 if (ifpiter->scope > IFA_LINK)
4177 if (ifp != ifpiter && ifpiter->scope == IFA_LINK &&
4206 send_mld = ifp->scope == IFA_LINK && ipv6_lonely_lladdr(ifp);
4374 ifp->scope,
4927 u8 scope, int ifindex)
4935 ifm->ifa_scope = scope;
5001 put_ifaddrmsg(nlh, ifa->prefix_len, ifa->flags, rt_scope(ifa->scope),
5062 u8 scope = RT_SCOPE_UNIVERSE;
5066 scope = RT_SCOPE_SITE;
5079 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex);
5097 u8 scope = RT_SCOPE_UNIVERSE;
5100 scope = RT_SCOPE_SITE;
5113 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex);