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 Ddecap_sanity.c44 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 Dbtf_skc_cls_ingress.c40 if (!ASSERT_OK(bpf_tc_hook_create(&qdisc_lo), "qdisc add dev lo clsact")) in prepare_netns()
H A Dxdp_do_redirect.c46 ret = bpf_tc_hook_create(hook); in attach_tc_prog()
H A Dassign_reuse.c129 ret = bpf_tc_hook_create(&tc_hook); in run_assign_reuse()
H A Dcrypto_sanity.c133 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 Dtest_tunnel.c375 ret = bpf_tc_hook_create(hook); in attach_tc_prog()
H A Dtc_links.c559 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_classic()
1613 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_mixed()
1929 err = bpf_tc_hook_create(&tc_hook); in test_tc_links_dev_mixed()
H A Dtc_opts.c594 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_classic()
2255 err = bpf_tc_hook_create(&tc_hook); in test_tc_opts_delete_empty()
2305 err = bpf_tc_hook_create(&tc_hook); in test_tc_chain_mixed()
H A Dtc_redirect.c321 err = bpf_tc_hook_create(qdisc_hook); in qdisc_clsact_create()
/linux/tools/lib/bpf/
H A Dlibbpf.map263 bpf_tc_hook_create;
H A Dlibbpf.h1290 LIBBPF_API int bpf_tc_hook_create(struct bpf_tc_hook *hook);
H A Dnetlink.c616 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create() function
/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c239 err = bpf_tc_hook_create(&hook); in syncookie_attach()