Searched refs:ip6hdr (Results 1 – 2 of 2) sorted by relevance
3772 struct ip6_hdr ip6hdr; in get_ip6_trunc_len() local3773 err = bpf_copydata(pkt, off, sizeof(struct ip6_hdr), &ip6hdr); in get_ip6_trunc_len()3783 proto = ip6hdr.ip6_nxt; in get_ip6_trunc_len()
7729 struct ip6_hdr ip6hdr;7740 error = mbuf_copydata(m, offset, sizeof(struct ip6_hdr), &ip6hdr);7748 if (ip6hdr.ip6_nxt != IPPROTO_TCP &&7749 ip6hdr.ip6_nxt != IPPROTO_UDP &&7750 ip6hdr.ip6_nxt != IPPROTO_ICMPV6) {