Lines Matching defs:proto
529 socreate_internal(int dom, struct socket **aso, int type, int proto,
543 if (proto != 0)
544 prp = pffindproto(dom, proto, type);
551 if (proto != 0) {
552 if (pffindprotonotype(dom, proto) != NULL)
612 error = (*prp->pr_usrreqs->pru_attach)(so, proto, p);
676 socreate(int dom, struct socket **aso, int type, int proto)
678 return (socreate_internal(dom, aso, type, proto, current_proc(), 0,
683 socreate_delegate(int dom, struct socket **aso, int type, int proto, pid_t epid)
693 error = socreate_internal(dom, aso, type, proto, current_proc(), 0, ep);