Searched refs:ip6hdr (Results 1 – 2 of 2) sorted by relevance
3731 struct ip6_hdr ip6hdr; in get_ip6_trunc_len() local3732 err = bpf_copydata(pkt, off, sizeof(struct ip6_hdr), &ip6hdr); in get_ip6_trunc_len()3742 proto = ip6hdr.ip6_nxt; in get_ip6_trunc_len()
7690 struct ip6_hdr ip6hdr;7701 error = mbuf_copydata(m, offset, sizeof(struct ip6_hdr), &ip6hdr);7709 if (ip6hdr.ip6_nxt != IPPROTO_TCP &&7710 ip6hdr.ip6_nxt != IPPROTO_UDP &&7711 ip6hdr.ip6_nxt != IPPROTO_ICMPV6) {