Searched refs:tc_attach (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_ancestor.c | 19 struct bpf_tc_opts tc_attach; member 67 memset(&t->tc_attach, 0, sizeof(t->tc_attach)); in setup_network() 68 t->tc_attach.sz = sizeof(t->tc_attach); in setup_network() 69 t->tc_attach.prog_fd = bpf_program__fd(t->skel->progs.log_cgroup_id); in setup_network() 70 if (!ASSERT_OK(bpf_tc_attach(&t->qdisc, &t->tc_attach), "filter add")) in setup_network() 87 bpf_tc_detach(&t->qdisc, &t->tc_attach); in cleanup_network()
|
D | decap_sanity.c | 19 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in test_decap_sanity() 47 tc_attach.prog_fd = bpf_program__fd(skel->progs.decap_sanity); in test_decap_sanity() 48 err = bpf_tc_attach(&qdisc_hook, &tc_attach); in test_decap_sanity()
|
D | tcp_custom_syncookie.c | 53 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in setup_tc() 60 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in setup_tc()
|
D | btf_skc_cls_ingress.c | 27 LIBBPF_OPTS(bpf_tc_opts, tc_attach, in prepare_netns() 43 if (!ASSERT_OK(bpf_tc_attach(&qdisc_lo, &tc_attach), in prepare_netns()
|
D | tc_redirect.c | 350 LIBBPF_OPTS(bpf_tc_opts, tc_attach); in xgress_filter_add() 355 tc_attach.prog_fd = bpf_program__fd(prog); in xgress_filter_add() 356 tc_attach.priority = priority; in xgress_filter_add() 357 err = bpf_tc_attach(qdisc_hook, &tc_attach); in xgress_filter_add()
|