Lines Matching refs:ip6h
507 ip6_t *ip6h = (ip6_t *)iph;
514 whereptr = ((uint8_t *)&ip6h[1]);
516 nexthdrp = &ip6h->ip6_nxt;
550 if (((uchar_t *)ip6h + length +
556 up = (uint16_t *)((uchar_t *)ip6h + length);
637 ip6_t *ip6h = (ip6_t *)mp->b_rptr;
640 bcopy(ip6h->ip6_src.s6_addr32, packet->saddr.s6_addr32,
641 sizeof (ip6h->ip6_src.s6_addr32));
642 bcopy(ip6h->ip6_dst.s6_addr32, packet->daddr.s6_addr32,
643 sizeof (ip6h->ip6_dst.s6_addr32));
645 packet->proto = ip6h->ip6_nxt;
646 packet->dsfield = __IPV6_TCLASS_FROM_FLOW(ip6h->ip6_vcf);
658 ip6h = (ip6_t *)mp->b_rptr;
660 get_port_info(packet, ip6h, AF_INET6, mp);