Lines Matching refs:delta
38 int delta = 0; in xdp_use_helper() local
44 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) { in xdp_use_helper()
67 int delta; in xdp_exceed_mtu() local
71 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in xdp_exceed_mtu()
73 err = bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0); in xdp_exceed_mtu()
93 int delta; in xdp_minus_delta() local
96 delta = -((data_len - ETH_HLEN) + 1); in xdp_minus_delta()
101 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) in xdp_minus_delta()
161 int delta = 0; in tc_use_helper() local
163 if (bpf_check_mtu(ctx, 0, &mtu_len, delta, 0)) { in tc_use_helper()
182 int delta; in tc_exceed_mtu() local
186 delta = GLOBAL_USER_MTU - (skb_len - ETH_HLEN) + 1; in tc_exceed_mtu()
188 err = bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0); in tc_exceed_mtu()
209 int delta; in tc_exceed_mtu_da() local
213 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in tc_exceed_mtu_da()
215 err = bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0); in tc_exceed_mtu_da()
233 int delta; in tc_minus_delta() local
236 delta = -((skb_len - ETH_HLEN) + 1); in tc_minus_delta()
241 if (bpf_check_mtu(ctx, ifindex, &mtu_len, delta, 0)) in tc_minus_delta()