Lines Matching refs:ip6h
693 const ip6_t *ip6h; in tsol_get_pkt_label() local
710 ip6h = (const ip6_t *)mp->b_rptr; in tsol_get_pkt_label()
711 src = &ip6h->ip6_src; in tsol_get_pkt_label()
778 proto = ip6h->ip6_nxt; in tsol_get_pkt_label()
1052 ip6_t *ip6h = (ip6_t *)mp->b_rptr; in tsol_can_accept_raw() local
1054 src_rhtp = find_tpc(&ip6h->ip6_src, IPV6_VERSION, in tsol_can_accept_raw()
1058 dst_rhtp = find_tpc(&ip6h->ip6_dst, IPV6_VERSION, in tsol_can_accept_raw()
1130 const ip6_t *ip6h; in tsol_can_reply_error() local
1136 sizeof (*ipha) : sizeof (*ip6h))); in tsol_can_reply_error()
1161 ip6h = (const ip6_t *)mp->b_rptr; in tsol_can_reply_error()
1162 rhtp = find_tpc(&ip6h->ip6_dst, IPV6_VERSION, B_FALSE); in tsol_can_reply_error()
1456 ip6_t *ip6h; in tsol_ip_forward() local
1481 ip6h = NULL; in tsol_ip_forward()
1494 ip6h = (ip6_t *)mp->b_rptr; in tsol_ip_forward()
1495 psrc = &ip6h->ip6_src; in tsol_ip_forward()
1496 pdst = &ip6h->ip6_dst; in tsol_ip_forward()
1497 proto = ip6h->ip6_nxt; in tsol_ip_forward()
1504 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_len, in tsol_ip_forward()
1641 tsol_remove_secopt_v6(ip6h, MBLKL(mp)); in tsol_ip_forward()
1744 ip6_t *ip6h; in tsol_pmtu_adjust() local
1747 ip6h = (ip6_t *)mp->b_rptr; in tsol_pmtu_adjust()
1748 src = &ip6h->ip6_src; in tsol_pmtu_adjust()