Lines Matching refs:ip6h

2034 	ip6_t *ip6h, *oip6h;
2062 ip6h = (ip6_t *)(icmp6 + 1);
2063 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) {
2070 ah = (ah_t *)((uint8_t *)ip6h + hdr_length);
2072 isaf = OUTBOUND_BUCKET_V6(&ahstack->ah_sadb.s_v6, ip6h->ip6_dst);
2075 (uint32_t *)&ip6h->ip6_src, (uint32_t *)&ip6h->ip6_dst, AF_INET6);
2118 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - ah_length);
2375 * ip6h is the pointer to the pseudo headers IPV6 header. All
2392 ah_fix_phdr_v6(ip6_t *ip6h, ip6_t *oip6h, boolean_t outbound,
2426 pi_opt = (uchar_t *)&ip6h[1];
2434 prev_nexthdr = (uint8_t *)&ip6h->ip6_nxt;
2487 ip6h->ip6_dst = *(ap + left - 1);
2532 return ((uint_t)(pi_opt - (uint8_t *)ip6h));
2539 return ((uint_t)(pi_opt - (uint8_t *)ip6h));
2651 ip6_t *ip6h = (ip6_t *)mp->b_rptr;
2652 addr = &ip6h->ip6_dst;
3054 ip6_t *ip6h;
3106 ip6h = (ip6_t *)phdr_mp->b_rptr;
3107 bzero(ip6h, sizeof (ip6_t));
3108 ip6h->ip6_vcf = IPV6_DEFAULT_VERS_AND_FLOW;
3117 ip6h->ip6_plen = htons(ntohs(oip6h->ip6_plen) +
3120 ip6h->ip6_plen = oip6h->ip6_plen;
3123 ip6h->ip6_src = oip6h->ip6_src;
3124 ip6h->ip6_dst = oip6h->ip6_dst;
3129 ip6h->ip6_nxt = IPPROTO_AH;
3130 ((ah_t *)(ip6h + 1))->ah_nexthdr = oip6h->ip6_nxt;
3133 ip6h->ip6_nxt = oip6h->ip6_nxt;
3137 ah_offset = ah_fix_phdr_v6(ip6h, oip6h, outbound, B_FALSE);
3143 if (!ah_finish_up(((ah_t *)((uint8_t *)ip6h + ah_offset)),
3154 phdr_mp->b_wptr = ((uint8_t *)ip6h + ah_offset + sizeof (ah_t) +
3451 ip6_t *ip6h = (ip6_t *)data_mp->b_rptr;
3454 age_bytes = sizeof (ip6_t) + ntohs(ip6h->ip6_plen) +
3638 ip6_t *ip6h;
3678 ip6h = (ip6_t *)mp->b_rptr;
3703 addr = &ip6h->ip6_dst;
3766 length = ntohs(ip6h->ip6_plen);
3772 "expire.\n", assoc->ipsa_spi, &ip6h->ip6_dst,
3785 nexthdr = &ip6h->ip6_nxt;
3786 whereptr = (uchar_t *)ip6h;
3813 ip6h->ip6_plen = htons((uint16_t)length);
3933 ip6_t *ip6h;
3937 ip6h = (ip6_t *)mp->b_rptr;
3951 bcopy(ip6h, nip6h, IPV6_HDR_LEN);
3952 ah_offset = ah_fix_phdr_v6(nip6h, ip6h, B_TRUE, B_TRUE);