Lines Matching refs:ip_p

690 	if ((pr_input = ip_protox[ip->ip_p]->pr_input) == NULL) {  in ip_proto_dispatch_in()
692 } else if (!(ip_protox[ip->ip_p]->pr_flags & PR_PROTOLOCK)) { in ip_proto_dispatch_in()
730 tbl[pkttbl_idx].pkte_proto = ip->ip_p; in ip_chain_insert()
734 (ip->ip_p == tbl[pkttbl_idx].pkte_proto)) { in ip_chain_insert()
831 ip_proto_dispatch_in(tmp_mbuf, hlen, ip->ip_p, 0); in ip_input_dispatch_chain()
903 (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP)) { in ip_input_adjust()
1021 ip_proto_dispatch_in(m, hlen, ip->ip_p, inject_filter_ref); in ip_input_first_pass()
1047 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input_first_pass()
1244 hlen == sizeof(struct ip) && ip->ip_p == IPPROTO_UDP) { in ip_input_first_pass()
1263 if (ip_protox[ip->ip_p]->pr_flags & PR_LASTHDR) { in ip_input_first_pass()
1369 ip->ip_p == IPPROTO_UDP && (IP_VHL_HL(ip->ip_vhl) << 2) == sizeof(struct ip)) { in ip_input_check_interface()
1413 __func__, best_ia->ia_ifp->if_xname, src_str, dst_str, ip->ip_p, inifp->if_xname); in ip_input_check_interface()
1424 __func__, src_str, dst_str, ip->ip_p, inifp->if_xname); in ip_input_check_interface()
1573 if (ipsec_bypass == 0 && (ip_protox[ip->ip_p]->pr_flags & PR_LASTHDR)) { in ip_input_second_pass()
1796 ip_proto_dispatch_in(m, hlen, ip->ip_p, inject_filter_ref); in ip_input()
1817 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input()
2068 if (ipsec_bypass == 0 && (ip_protox[ip->ip_p]->pr_flags & PR_LASTHDR)) { in ip_input()
2081 ip_proto_dispatch_in(m, hlen, ip->ip_p, 0); in ip_input()
2213 ip->ip_p == fp->ipq_p) { in ip_reass()
2258 if (ip->ip_p == IPPROTO_UDP && hlen == sizeof(struct ip) && in ip_reass()
2361 fp->ipq_p = ip->ip_p; in ip_reass()
4050 m = fn(m, off, (mtod(m, struct ip *))->ip_p); in gre_input()