Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c276 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); in accept_locally() local
282 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC, in accept_locally()
298 int32_t encap_overhead = in forward_with_gre() local
300 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
H A 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dpmtu.sh1501 encap_overhead=4
1503 encap_overhead=0
1508 exp_mtu=$((${ll_mtu} - 20 - 8 - ${encap_overhead}))
1511 exp_mtu=$((${ll_mtu} - 40 - 8 - 8 - ${encap_overhead}))