Lines Matching defs:outif
204 struct ifnet *outif = NULL;
268 outif = ifa->ifa_ifp;
357 inp->in6p_last_outifp = outif;
394 * provides a non-NULL outif, even in the error case. The caller is
399 struct in6_addr *plocal_addr6, struct ifnet **outif)
407 if (outif != NULL)
408 *outif = NULL;
437 * in6_selectsrc() might return outif with its reference held
442 &inp->in6p_route, outif, &src_storage, ifscope, &error);
444 if (outif != NULL) {
448 * which points to the same ifp as outif. Just in case
450 * Otherwise if there is no route, leave outif alone as
453 if (rt != NULL && rt->rt_ifp != *outif) {
455 if (*outif != NULL)
456 ifnet_release(*outif);
457 *outif = rt->rt_ifp;
462 if (outif != NULL && (*outif) != NULL &&
464 (*outif)->if_type == IFT_CELLULAR)
497 struct ifnet *outif = NULL;
507 if ((error = in6_pcbladdr(inp, nam, &addr6, &outif)) != 0) {
509 outif != NULL &&
510 outif->if_type == IFT_CELLULAR)
534 inp->in6p_last_outifp = outif; /* no reference needed */
554 if (outif != NULL)
555 ifnet_release(outif);