Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_change_tail_pmtu.c16 #define ICMP_SAMPLE_LEN (sizeof(struct iphdr) + 8) macro
78 change_tail_ret = bpf_skb_change_tail(skb, ETH_HLEN + ICMP_SAMPLE_LEN, 0); in change_tail_icmp()
98 if ((void *)icmp + sizeof(*icmp) + ICMP_SAMPLE_LEN > data_end) { in change_tail_icmp()
116 ip->tot_len = bpf_htons(ICMP_HDRS_LEN + ICMP_SAMPLE_LEN); in change_tail_icmp()
121 sizeof(*icmp) + ICMP_SAMPLE_LEN, 0); in change_tail_icmp()