Lines Matching refs:inetsw
172 extern struct protosw inetsw[];
349 ip_protox[i] = pr - inetsw;
360 ip_protox[pr->pr_protocol] = pr - inetsw;
434 (*inetsw[ip_protox[ip->ip_p]].pr_input)(&m, &hlen, ip->ip_p);
809 (*inetsw[ip_protox[ip->ip_p]].pr_input)(&m, &hlen, ip->ip_p);
850 * in inetsw[], either statically or through pf_proto_register().
868 if (ip_protox[ipproto] != pr - inetsw) /* IPPROTO_RAW */
871 /* Find the protocol position in inetsw[] and set the index. */
876 ip_protox[pr->pr_protocol] = pr - inetsw;
896 if (ip_protox[ipproto] == pr - inetsw) /* IPPROTO_RAW */
900 ip_protox[ipproto] = pr - inetsw;