Lines Matching refs:ip6h
312 interpret_ipv6(int flags, const ip6_t *ip6h, int fraglen)
330 iplen = ntohs(ip6h->ip6_plen);
335 data = ((uint8_t *)ip6h) + hdrlen;
337 proto = ip6h->ip6_nxt;
339 src_name = addrtoname(AF_INET6, &ip6h->ip6_src);
340 dst_name = addrtoname(AF_INET6, &ip6h->ip6_dst);
347 class = ntohl((ip6h->ip6_vcf & IPV6_FLOWINFO_TCLASS) >> 20);
348 flow = ntohl(ip6h->ip6_vcf & IPV6_FLOWINFO_FLOWLABEL);
358 src_name, dst_name, iplen, ip6h->ip6_hops, class, flow);
361 (void) inet_ntop(AF_INET6, &ip6h->ip6_src, src_addrstr,
363 (void) inet_ntop(AF_INET6, &ip6h->ip6_dst, dst_addrstr,
366 version = ntohl(ip6h->ip6_vcf) >> 28;
397 "Hop Limit = %d", ip6h->ip6_hops);