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

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c386 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); local
393 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC,
410 int32_t encap_overhead = local
412 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead;
H A Dtest_cls_redirect_dynptr.c278 int32_t encap_overhead = payload_off - sizeof(struct ethhdr); local
284 if (bpf_skb_adjust_room(skb, -encap_overhead, BPF_ADJ_ROOM_MAC,
300 int32_t encap_overhead = local
302 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead;
/linux-master/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}))

Completed in 125 milliseconds