Home
last modified time | relevance | path

Searched refs:bpf_csum_diff (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_helper_packet_access.c328 : __imm(bpf_csum_diff), in packet_test13_cls_helper_ok()
355 : __imm(bpf_csum_diff), in test14_cls_helper_ok_sub()
382 : __imm(bpf_csum_diff), in test15_cls_helper_fail_sub()
409 : __imm(bpf_csum_diff), in cls_helper_fail_range_1()
436 : __imm(bpf_csum_diff), in cls_helper_fail_range_2()
463 : __imm(bpf_csum_diff), in cls_helper_fail_range_3()
491 : __imm(bpf_csum_diff), in test19_cls_helper_range_zero()
518 : __imm(bpf_csum_diff), in test20_pkt_end_as_input()
544 : __imm(bpf_csum_diff), in to_packet_test21_wrong_reg()
H A Dverifier_helper_access_var_len.c463 : __imm(bpf_csum_diff) in ptr_to_mem_or_null_1()
484 : __imm(bpf_csum_diff) in ptr_to_mem_or_null_2()
505 : __imm(bpf_csum_diff) in ptr_to_mem_or_null_3()
530 : __imm(bpf_csum_diff), in ptr_to_mem_or_null_4()
560 : __imm(bpf_csum_diff), in ptr_to_mem_or_null_5()
588 : __imm(bpf_csum_diff), in ptr_to_mem_or_null_6()
616 : __imm(bpf_csum_diff), in __flag()
H A Dverifier_array_access.c370 call %[bpf_csum_diff]; \ in a_read_only_array_2_1()
373 : __imm(bpf_csum_diff), in a_read_only_array_2_1()
519 call %[bpf_csum_diff]; \ in a_write_only_array_2_2()
522 : __imm(bpf_csum_diff), in a_write_only_array_2_2()
H A Dtest_tcp_custom_syncookie.c180 csum = bpf_csum_diff(0, 0, (void *)ctx->tcp, ctx->tcp->doff * 4, 0); in tcp_validate_header()
187 csum = bpf_csum_diff(0, 0, (void *)ctx->ipv4, ctx->ipv4->ihl * 4, 0); in tcp_validate_header()
424 csum = bpf_csum_diff(0, 0, (void *)ctx->tcp, ctx->tcp->doff * 4, 0); in tcp_handle_syn()
438 csum = bpf_csum_diff(0, 0, (void *)ctx->ipv4, sizeof(*ctx->ipv4), 0); in tcp_handle_syn()
H A Dxdp_synproxy_kern.c621 value = bpf_csum_diff(0, 0, (void *)hdr->ipv4, hdr->ipv4->ihl * 4, 0); in syncookie_handle_syn()
627 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn()
640 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn()
690 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn()
701 value = bpf_csum_diff(0, 0, (void *)hdr->ipv4, sizeof(*hdr->ipv4), 0); in syncookie_handle_syn()
H A Dxdping_kern.c54 sum = bpf_csum_diff(0, 0, data_start, data_size, 0); in ipv4_csum()
H A Dtest_tunnel_kern.c467 csum = bpf_csum_diff(&iph->daddr, sizeof(__u32), &assigned_ip, in veth_set_outer_dst()
/linux/net/core/
H A Dfilter.c2010 BPF_CALL_5(bpf_csum_diff, __be32 *, from, u32, from_size, in BPF_CALL_5() argument
2037 .func = bpf_csum_diff,