Searched refs:pkt_fd (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ ! |
D | xdp_bpf2bpf.c | 44 static void run_xdp_bpf2bpf_pkt_size(int pkt_fd, struct perf_buffer *pb, in run_xdp_bpf2bpf_pkt_size() argument 81 err = bpf_prog_test_run_opts(pkt_fd, &topts); in run_xdp_bpf2bpf_pkt_size() 105 int err, pkt_fd, map_fd; in test_xdp_bpf2bpf() local 119 pkt_fd = bpf_program__fd(pkt_skel->progs._xdp_tx_iptunnel); in test_xdp_bpf2bpf() 134 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf() 138 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf() 155 run_xdp_bpf2bpf_pkt_size(pkt_fd, pb, ftrace_skel, in test_xdp_bpf2bpf()
|
D | trace_ext.c | 23 int err, pkt_fd, ext_fd; in test_trace_ext() local 43 pkt_fd = bpf_program__fd(prog); in test_trace_ext() 52 bpf_program__set_attach_target(prog, pkt_fd, "test_pkt_md_access"); in test_trace_ext() 95 err = bpf_prog_test_run_opts(pkt_fd, &topts); in test_trace_ext()
|
D | fexit_bpf2bpf.c | 293 int err, pkt_fd, attach_prog_fd; in test_fmod_ret_freplace() local 296 &pkt_obj, &pkt_fd); in test_fmod_ret_freplace() 307 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_fmod_ret_freplace() 359 int err, pkt_fd; in test_obj_load_failure_common() local 363 &pkt_obj, &pkt_fd); in test_obj_load_failure_common() 374 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_obj_load_failure_common()
|