Searched refs:ip6hdr (Results 1 – 2 of 2) sorted by relevance
3861 struct ip6_hdr ip6hdr; in get_ip6_trunc_len() local3862 err = bpf_copydata(pkt, off, sizeof(struct ip6_hdr), &ip6hdr); in get_ip6_trunc_len()3872 proto = ip6hdr.ip6_nxt; in get_ip6_trunc_len()
7967 struct ip6_hdr ip6hdr;7978 error = mbuf_copydata(m, offset, sizeof(struct ip6_hdr), &ip6hdr);7986 if (ip6hdr.ip6_nxt != IPPROTO_TCP &&7987 ip6hdr.ip6_nxt != IPPROTO_UDP &&7988 ip6hdr.ip6_nxt != IPPROTO_ICMPV6) {