Home
last modified time | relevance | path

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

/tools/lib/bpf/
A Dnetlink.c542 static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook) in qdisc_config()
552 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
595 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
619 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
624 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
629 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
645 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
732 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
806 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
867 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dxdp_do_redirect.c42 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog()
A Dxfrm_info.c72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
/tools/bpf/bpftool/
A Dlink.c681 unsigned int hook = info->netfilter.hooknum; in netfilter_dump_plain() local

Completed in 13 milliseconds