Home
last modified time | relevance | path

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

/external/linux-kselftest/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()
/external/linux-kselftest/tools/testing/selftests/net/
Dpmtu.sh1337 encap_overhead=4
1339 encap_overhead=0
1344 exp_mtu=$((${ll_mtu} - 20 - 8 - ${encap_overhead}))
1347 exp_mtu=$((${ll_mtu} - 40 - 8 - 8 - ${encap_overhead}))