Lines Matching defs:prp
405 struct protosw *prp;
410 prp = pffindproto(dom, proto, type);
412 prp = pffindtype(dom, type);
414 if (prp == NULL) {
423 if (prp->pr_usrreqs->pru_attach == NULL ||
424 prp->pr_usrreqs->pru_attach == pru_attach_notsupp)
427 if (prison_check_af(cred, prp->pr_domain->dom_family) != 0)
430 if (prp->pr_type != type)
440 if ((prp->pr_domain->dom_family == PF_INET) ||
441 (prp->pr_domain->dom_family == PF_INET6) ||
442 (prp->pr_domain->dom_family == PF_ROUTE))
446 so->so_proto = prp;
458 error = (*prp->pr_usrreqs->pru_attach)(so, proto, td);