Searched refs:ipv6hdr_sz (Results 1 – 1 of 1) sorted by relevance
25 const size_t ipv6hdr_sz = sizeof(struct ipv6hdr); variable161 __u8 eth_buffer[ethhdr_sz + ipv6hdr_sz + ethhdr_sz]; in handle_ipv6()162 __u8 ip6h_buffer_tcp[ipv6hdr_sz + tcphdr_sz]; in handle_ipv6()163 __u8 ip6h_buffer_udp[ipv6hdr_sz + udphdr_sz]; in handle_ipv6()200 if (bpf_xdp_adjust_head(xdp, 0 - (int)ipv6hdr_sz)) in handle_ipv6()219 ip6h->payload_len = bpf_htons(bpf_ntohs(payload_len) + ipv6hdr_sz); in handle_ipv6()