Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c278 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() local
284 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
300 int32_t encap_overhead = in forward_with_gre() local
302 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
H A Dtest_cls_redirect.c386 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() local
393 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
410 int32_t encap_overhead = in forward_with_gre() local
412 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
/linux-6.15/tools/testing/selftests/net/
H A Dpmtu.sh1644 encap_overhead=4
1646 encap_overhead=0
1651 exp_mtu=$((${ll_mtu} - 20 - 8 - ${encap_overhead}))
1654 exp_mtu=$((${ll_mtu} - 40 - 8 - 8 - ${encap_overhead}))