Searched refs:inetsw (Results 1 - 8 of 8) sorted by relevance

/freebsd-11.0-release/sys/netinet/
H A Dip_ipsec.c69 extern struct protosw inetsw[];
129 if ((inetsw[ip_protox[nxt]].pr_flags & PR_LASTHDR) != 0)
H A Din_proto.c116 struct protosw inetsw[] = { variable in typeref:struct:protosw
341 .dom_protosw = inetsw,
342 .dom_protoswNPROTOSW = &inetsw[nitems(inetsw)],
H A Dip_input.c172 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_RA
[all...]
H A Dip_icmp.c165 extern struct protosw inetsw[];
523 ctlfunc = inetsw[ip_protox[icp->icmp_ip.ip_p]].pr_ctlinput;
H A Draw_ip.c136 extern struct protosw inetsw[];
418 if (inetsw[ip_protox[ip->ip_p]].pr_input == rip_input) {
H A Dip_output.c105 extern struct protosw inetsw[];
/freebsd-11.0-release/sys/netinet6/
H A Dudp6_usrreq.c135 extern struct protosw inetsw[];
940 pru = inetsw[ip_protox[nxt]].pr_usrreqs;
1068 pru = inetsw[ip_protox[nxt]].pr_usrreqs;
1187 pru = inetsw[ip_protox[nxt]].pr_usrreqs;
1263 pru = inetsw[ip_protox[nxt]].pr_usrreqs;
H A Dsctp6_usrreq.c63 extern struct protosw inetsw[];

Completed in 155 milliseconds