Lines Matching refs:ip6h
128 ip6_t *ip6h = (ip6_t *)iph;
136 whereptr = ((uint8_t *)&ip6h[1]);
138 nexthdrp = &ip6h->ip6_nxt;
172 if (((uchar_t *)ip6h + length +
178 up = (uint16_t *)((uchar_t *)ip6h + length);
232 ip6_t *ip6h;
268 ip6h = (ip6_t *)mp->b_rptr;
269 bcopy(ip6h->ip6_src.s6_addr32, header->saddr.s6_addr32,
270 sizeof (ip6h->ip6_src.s6_addr32));
271 bcopy(ip6h->ip6_dst.s6_addr32, header->daddr.s6_addr32,
272 sizeof (ip6h->ip6_dst.s6_addr32));
273 header->dsfield = __IPV6_TCLASS_FROM_FLOW(ip6h->ip6_vcf);
274 header->proto = ip6h->ip6_nxt;
275 header->pktlen = ntohs(ip6h->ip6_plen) +
276 ip_hdr_length_v6(mp, ip6h);
277 flowacct_port_info(header, ip6h, AF_INET6, mp);