Lines Matching refs:ipha

686 	const ipha_t	*ipha;  in tsol_get_pkt_label()  local
704 ipha = (const ipha_t *)mp->b_rptr; in tsol_get_pkt_label()
705 src = &ipha->ipha_src; in tsol_get_pkt_label()
764 proto = ipha->ipha_protocol; in tsol_get_pkt_label()
769 (mp->b_rptr + IPH_HDR_LENGTH(ipha)); in tsol_get_pkt_label()
1043 ipha_t *ipha = (ipha_t *)mp->b_rptr; in tsol_can_accept_raw() local
1045 src_rhtp = find_tpc(&ipha->ipha_src, IPV4_VERSION, in tsol_can_accept_raw()
1049 dst_rhtp = find_tpc(&ipha->ipha_dst, IPV4_VERSION, in tsol_can_accept_raw()
1129 const ipha_t *ipha; in tsol_can_reply_error() local
1136 sizeof (*ipha) : sizeof (*ip6h))); in tsol_can_reply_error()
1158 ipha = (const ipha_t *)mp->b_rptr; in tsol_can_reply_error()
1159 rhtp = find_tpc(&ipha->ipha_dst, IPV4_VERSION, B_FALSE); in tsol_can_reply_error()
1455 ipha_t *ipha; in tsol_ip_forward() local
1480 ipha = NULL; in tsol_ip_forward()
1486 ipha = (ipha_t *)mp->b_rptr; in tsol_ip_forward()
1487 psrc = &ipha->ipha_src; in tsol_ip_forward()
1488 pdst = &ipha->ipha_dst; in tsol_ip_forward()
1489 proto = ipha->ipha_protocol; in tsol_ip_forward()
1640 adjust = (af == AF_INET) ? tsol_remove_secopt(ipha, MBLKL(mp)) : in tsol_ip_forward()
1657 ipha = (ipha_t *)mp->b_rptr; in tsol_ip_forward()
1658 iplen = ntohs(ipha->ipha_length) + adjust; in tsol_ip_forward()
1659 ipha->ipha_length = htons(iplen); in tsol_ip_forward()
1660 ipha->ipha_hdr_checksum = 0; in tsol_ip_forward()
1661 ipha->ipha_hdr_checksum = ip_csum_hdr(ipha); in tsol_ip_forward()
1711 ipha = (ipha_t *)mp->b_rptr; in tsol_ip_forward()
1712 ipha->ipha_hdr_checksum = 0; in tsol_ip_forward()
1713 ipha->ipha_hdr_checksum = ip_csum_hdr(ipha); in tsol_ip_forward()
1756 ipha_t *ipha; in tsol_pmtu_adjust() local
1759 ipha = (ipha_t *)mp->b_rptr; in tsol_pmtu_adjust()
1760 src = &ipha->ipha_src; in tsol_pmtu_adjust()