Lines Matching refs:ipv6hdr
220 off += sizeof(struct ipv6hdr); in calc_offset()
222 off += sizeof(struct icmp6hdr) + sizeof(struct ipv6hdr); in calc_offset()
284 struct ipv6hdr *ip6h; in encap_v6()
289 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in encap_v6()
295 old_eth = data + sizeof(struct ipv6hdr); in encap_v6()
309 bpf_htons(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()
381 new_eth = *data + sizeof(struct ipv6hdr); in decap_v6()
388 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct ipv6hdr))) in decap_v6()
463 struct ipv6hdr *ip6h; in send_icmp6_reply()
468 + sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) > data_end) in send_icmp6_reply()
472 off += sizeof(struct ipv6hdr); in send_icmp6_reply()
488 struct ipv6hdr *ip6h; in parse_icmpv6()
633 struct ipv6hdr *ip6h; in process_l3_headers_v6()
640 iph_len = sizeof(struct ipv6hdr); in process_l3_headers_v6()