Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c383 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() local
390 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
407 int32_t encap_overhead = in forward_with_gre() local
409 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
/linux-6.1.9/tools/testing/selftests/net/
Dpmtu.sh1472 encap_overhead=4
1474 encap_overhead=0
1479 exp_mtu=$((${ll_mtu} - 20 - 8 - ${encap_overhead}))
1482 exp_mtu=$((${ll_mtu} - 40 - 8 - 8 - ${encap_overhead}))