Lines Matching defs:search
594 return(NULL); /* search failed */
828 struct nd_pfxrouter *search;
831 for (search = pr->ndpr_advrtrs.lh_first; search; search = search->pfr_next) {
832 if (search->router == dr)
836 return(search);
872 struct nd_prefix *search;
875 for (search = nd_prefix.lh_first; search; search = search->ndpr_next) {
876 if (pr->ndpr_ifp == search->ndpr_ifp &&
877 pr->ndpr_plen == search->ndpr_plen &&
879 &search->ndpr_prefix.sin6_addr,
885 if (search != NULL)
886 ndpr_hold(search, TRUE);
889 return(search);
1617 /* search for a link-local addr */
2096 * XXX: this function causes search through all entries of routing table, so