Home
last modified time | relevance | path

Searched refs:bpf_tc_hook_create (Results 1 – 17 of 17) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_bpf.c76 ret = bpf_tc_hook_create(NULL); in test_tc_bpf_api()
81 ret = bpf_tc_hook_create(&inv_hook); in test_tc_bpf_api()
105 ret = bpf_tc_hook_create(&inv_hook); in test_tc_bpf_api()
130 ret = bpf_tc_hook_create(&inv_hook); in test_tc_bpf_api()
154 ret = bpf_tc_hook_create(&inv_hook); in test_tc_bpf_api()
179 ret = bpf_tc_hook_create(&inv_hook); in test_tc_bpf_api()
345 ret = bpf_tc_hook_create(&hook); in tc_bpf_root()
355 ret = bpf_tc_hook_create(&hook); in tc_bpf_root()
H A Dxdp_context_test_run.c242 ret = bpf_tc_hook_create(&tc_hook); in test_xdp_context_veth()
322 ret = bpf_tc_hook_create(&tc_hook); in test_tuntap()
386 ret = bpf_tc_hook_create(&tc_hook); in test_tuntap_mirred()
H A Ddecap_sanity.c43 err = bpf_tc_hook_create(&qdisc_hook); in test_decap_sanity()
H A Dtcp_custom_syncookie.c57 if (!ASSERT_OK(bpf_tc_hook_create(&qdisc_lo), "qdisc add dev lo clsact")) in setup_tc()
H A Dcgroup_ancestor.c64 if (!ASSERT_OK(bpf_tc_hook_create(&t->qdisc), "qdisc add")) in setup_network()
H A Dassign_reuse.c129 ret = bpf_tc_hook_create(&tc_hook); in run_assign_reuse()
H A Dcrypto_sanity.c132 err = bpf_tc_hook_create(&qdisc_hook); in test_crypto_sanity()
H A Dvrf_socket_lookup.c117 ret = bpf_tc_hook_create(&hook); in attach_progs()
H A Dxfrm_info.c80 ret = bpf_tc_hook_create(hook); in attach_tc_prog()
H A Dxdp_do_redirect.c47 ret = bpf_tc_hook_create(hook); in attach_tc_prog()
H A Dtest_tunnel.c
H A Dtc_links.c559 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_classic()
563 if (!ASSERT_OK(err, "bpf_tc_hook_create")) in test_tc_chain_classic()
1613 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_mixed()
1615 if (!ASSERT_OK(err, "bpf_tc_hook_create")) in test_tc_chain_mixed()
1929 err = bpf_tc_hook_create(&tc_hook); in test_tc_links_dev_mixed()
1931 if (!ASSERT_OK(err, "bpf_tc_hook_create")) in test_tc_links_dev_mixed()
H A Dtc_opts.c594 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_classic()
2253 err = bpf_tc_hook_create(&tc_hook); in test_tc_opts_delete_empty()
2303 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_mixed()
H A Dtc_redirect.c337 err = bpf_tc_hook_create(qdisc_hook); in qdisc_clsact_create()
/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c239 err = bpf_tc_hook_create(&hook); in syncookie_attach()
H A Dnetwork_helpers.c793 ret = bpf_tc_hook_create(&hook); in tc_prog_attach()
/linux/tools/lib/bpf/
H A Dnetlink.c631 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create() function