Lines Matching refs:prefix

366  * TODO: on-link bit on prefix information
496 * prefix
514 "len %d for prefix information option, "
521 "nd6_ra_input: invalid prefix "
522 "len %d for prefix information option, "
530 "nd6_ra_input: invalid prefix "
555 * + nd6_accept_6to4 == 0 && address has 6to4 prefix
562 "nd6_ra_input: no SLAAC on prefix %s "
570 "nd6_ra_input: no SLAAC on prefix %s "
579 continue; /* prefix lifetime init failed */
597 log(LOG_DEBUG, "%s: unable to MALLOC RA prefix "
1066 * Also delete all the pointers to the router in each prefix lists.
1224 * We no longer install (default) interface route; only prefix routes
2126 /* make prefix in the canonical form */
2146 "the prefix %s/%d on-link %s on %s (errno=%d)\n",
2190 /* make sure to invalidate the prefix until it is really freed. */
2224 /* free list of routers that adversed the prefix */
2286 * prefix on a same interface.
2290 * Update prefix information. Note that the on-link (L) bit
2315 "the prefix %s/%d on-link on %s "
2355 * XXX: from the ND point of view, we can ignore a prefix
2357 * prefix structure for references from autoconfigured
2358 * addresses. Thus, we explicitly make sure that the prefix
2377 /* 5.5.3 (a). Ignore the prefix without the A bit set. */
2382 * 5.5.3 (b). the link-local prefix should have been ignored in
2393 * 5.5.3 (d). If the prefix advertised is not equal to the prefix of
2397 * a matching prefix.
2435 * Ignore the address if it is not associated with a prefix
2436 * or is associated with a prefix that is different from this
2555 * If the sum of the prefix length and interface identifier
2880 * detect if a given prefix has a (probably) reachable advertising router.
2922 * Check if each prefix in the prefix list has at least one available router
2923 * that advertised the prefix (a router is "available" if its neighbor cache
2925 * If the check fails, the prefix may be off-link, because, for example,
2926 * we have moved from the network but the lifetime of the prefix has not
2927 * expired yet. So we should not use the prefix if there is another prefix
2929 * But, if there is no prefix that has an available router, we still regards
2956 * Check if there is a prefix that has a reachable advertising
2980 * us from checking the same prefix twice.
2991 * If we have no such prefix, check whether we still have a router
3014 * There is at least one prefix that has a reachable router,
3053 * the same prefix twice.
3058 /* there is no prefix that has a reachable router */
3085 * prefix, and reinstall the interface route for a (just) attached
3086 * prefix. Note that all attempt of reinstallation does not
3087 * necessarily success, when a same prefix is shared among multiple
3135 * Changes on the prefix status might affect address status as well.
3136 * Make sure that all addresses derived from an attached prefix are
3137 * attached, and that all addresses derived from a detached prefix are
3164 * (i.e. the address exists, but the prefix does not).
3320 "%s: scoped %s/%d on %s has no matching unscoped prefix\n",
3379 struct sockaddr_in6 mask6, prefix;
3401 * Add the interface route associated with the prefix. Before
3402 * installing the route, check if there's the same prefix on another
3403 * interface, and the prefix has already installed the interface route.
3448 * containing a prefix with the L bit set and the A bit clear,
3454 " to add route for a prefix(%s/%d) on %s\n",
3468 prefix = pr->ndpr_prefix;
3494 error = rtrequest_scoped(RTM_ADD, (struct sockaddr *)&prefix,
3511 " prefix (%s/%d) on %s, gw=%s, mask=%s, flags=%lx,"
3525 * TODO: If the prefix route exists, we should really find it and
3526 * refer the prefix to it; otherwise ndpr_rt is NULL.
3547 * At present, in order for the prefix to be eligible
3548 * as a proxying/proxied prefix, we require that the
3549 * prefix route entry be marked as a cloning route with
3568 * If this is an upstream prefix, find the downstream ones (if any)
3569 * and re-configure their prefix routes accordingly. Otherwise,
3570 * this could be potentially be a downstream prefix, and so find the
3571 * upstream prefix, if any.
3601 struct sockaddr_in6 sa6, mask6, prefix;
3628 prefix = pr->ndpr_prefix;
3650 * is not enabled. There might be the same prefix on another
3651 * interface, the prefix which could not be on-link just
3653 * nd6_prefix_onlink). If there's one, try to make the prefix
3684 in6_are_prefix_equal(&prefix.sin6_addr,
3693 "recover a prefix %s/%d from %s "
3733 * If this was an upstream prefix, find the downstream ones and do
3734 * some cleanups. If this was a downstream prefix, the prefix route
3791 "(prefix=%d ifid=%d)\n",
3809 /* prefix */
3827 /* new prefix mask. */
3921 /* copy prefix mask */