Lines Matching defs:pr
144 const struct protosw *pr;
160 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) {
161 if (pr->pr_init)
162 (*pr->pr_init)();
189 const struct protosw *pr;
195 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
196 if (pr->pr_type && pr->pr_type == type)
197 return pr;
206 const struct protosw *pr;
216 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) {
217 if ((pr->pr_protocol == protocol) && (pr->pr_type == type))
218 return pr;
220 if (type == SOCK_RAW && pr->pr_type == SOCK_RAW &&
221 pr->pr_protocol == 0 && maybe == NULL)
222 maybe = pr;
713 const struct protosw *pr;
716 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) {
717 if (pr->pr_ctlinput != NULL)
718 (*pr->pr_ctlinput)(cmd, sa, NULL);
727 const struct protosw *pr;
741 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++) {
742 if (pr->pr_ctlinput != NULL)
743 (*pr->pr_ctlinput)(cmd, sa, ctlparam);
752 const struct protosw *pr;
757 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
758 if (pr->pr_slowtimo)
759 (*pr->pr_slowtimo)();
768 const struct protosw *pr;
773 for (pr = dp->dom_protosw; pr < dp->dom_protoswNPROTOSW; pr++)
774 if (pr->pr_fasttimo)
775 (*pr->pr_fasttimo)();