Home
last modified time | relevance | path

Searched refs:tcphdr_sz (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_dynptr.c21 const size_t tcphdr_sz = sizeof(struct tcphdr); variable
80 __u8 iph_buffer_tcp[iphdr_sz + tcphdr_sz]; in handle_ipv4()
98 if (ethhdr_sz + iphdr_sz + tcphdr_sz > xdp->data_end - xdp->data) in handle_ipv4()
162 __u8 ip6h_buffer_tcp[ipv6hdr_sz + tcphdr_sz]; in handle_ipv6()
177 if (ethhdr_sz + iphdr_sz + tcphdr_sz > xdp->data_end - xdp->data) in handle_ipv6()