• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/

Lines Matching defs:scope

37  *						selection; consider scope,
578 * Each device address list is sorted in order of scope -
606 int scope, u32 flags)
661 ifa->scope = scope;
993 int scope;
1036 /* Rule 2: Prefer appropriate scope
1041 * ---+--+-+---> scope
1043 * | d is scope of the destination.
1045 * | \ <- smaller scope is better if
1046 * B-15 | \ if scope is enough for destinaion.
1047 * | ret = B - scope (-1 <= scope >= d <= 15).
1050 * -C / if scope is not enough for destination.
1051 * /| ret = scope - C (-1 <= d < scope <= 15).
1058 if (ret >= dst->scope)
1138 dst.scope = __ipv6_addr_src_scope(dst_type);
1163 dst.scope <= IPV6_ADDR_SCOPE_LINKLOCAL) &&
1216 * scope, because ifa entries
1217 * are sorted by their scope
1265 if (ifp->scope == IFA_LINK &&
1304 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict))) {
1371 !(ifp->scope&(IFA_LINK|IFA_HOST) || strict)) {
1575 * scope according to RFC2373.
1655 if (ifp->scope == IFA_LINK && !(ifp->flags&IFA_F_TENTATIVE)) {
2168 int scope;
2190 scope = ipv6_addr_scope(pfx);
2210 ifp = ipv6_add_addr(idev, pfx, plen, scope, ifa_flags);
2330 int plen, int scope)
2334 ifp = ipv6_add_addr(idev, addr, plen, scope, IFA_F_PERMANENT);
2350 int scope;
2359 scope = IFA_LINK;
2361 scope = IPV6_ADDR_COMPATv4;
2365 add_addr(idev, &addr, 128, scope);
2374 int flag = scope;
3150 ifp->scope,
3500 u8 scope, int ifindex)
3508 ifm->ifa_scope = scope;
3556 put_ifaddrmsg(nlh, ifa->prefix_len, ifa->flags, rt_scope(ifa->scope),
3593 u8 scope = RT_SCOPE_UNIVERSE;
3597 scope = RT_SCOPE_SITE;
3603 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex);
3618 u8 scope = RT_SCOPE_UNIVERSE;
3622 scope = RT_SCOPE_SITE;
3628 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex);