Home
last modified time | relevance | path

Searched defs:hook (Results 1 – 6 of 6) sorted by relevance

/tools/lib/bpf/
Dnetlink.c542 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
582 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
606 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
611 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
616 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
792 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
853 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c26 static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd) in test_tc_bpf_basic()
69 static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd) in test_tc_bpf_api()
Dxdp_do_redirect.c41 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog()
Dxfrm_info.c72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
Dtest_tunnel.c367 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
/tools/bpf/bpftool/
Dlink.c678 unsigned int hook = info->netfilter.hooknum; in netfilter_dump_plain() local