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