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