Searched refs:tc_opts (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | assign_reuse.c | 88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts, in run_assign_reuse() 136 tc_opts.prog_fd = fd_tc; in run_assign_reuse() 137 ret = bpf_tc_attach(&tc_hook, &tc_opts); in run_assign_reuse() 162 tc_opts.flags = tc_opts.prog_fd = tc_opts.prog_id = 0; in run_assign_reuse() 163 ret = bpf_tc_detach(&tc_hook, &tc_opts); in run_assign_reuse()
|
H A D | tc_links.c | 523 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic() 564 tc_opts.prog_fd = bpf_program__fd(skel->progs.tc3); in test_tc_chain_classic() 565 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic() 606 tc_opts.flags = tc_opts.prog_fd = tc_opts.prog_id = 0; in test_tc_chain_classic() 607 err = bpf_tc_detach(&tc_hook, &tc_opts); in test_tc_chain_classic() 1577 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed() 1616 tc_opts.prog_fd = bpf_program__fd(skel->progs.tc5); in test_tc_chain_mixed() 1617 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed() [all...] |
H A D | tc_opts.c | 565 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic() 601 tc_opts.prog_fd = fd3; in test_tc_chain_classic() 602 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_classic() 646 tc_opts.flags = tc_opts.prog_fd = tc_opts.prog_id = 0; in test_tc_chain_classic() 647 err = bpf_tc_detach(&tc_hook, &tc_opts); in test_tc_chain_classic() 2278 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_mixed() 2310 tc_opts.prog_fd = fd2; in test_tc_chain_mixed() 2311 err = bpf_tc_attach(&tc_hook, &tc_opts); in test_tc_chain_mixed() [all...] |
Completed in 5 milliseconds