Searched defs:hook (Results 1 – 6 of 6) sorted by relevance
| /tools/lib/bpf/ |
| D | netlink.c | 542 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/ |
| D | tc_bpf.c | 26 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()
|
| D | xdp_do_redirect.c | 41 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog()
|
| D | xfrm_info.c | 72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
|
| D | test_tunnel.c | 367 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog()
|
| /tools/bpf/bpftool/ |
| D | link.c | 678 unsigned int hook = info->netfilter.hooknum; in netfilter_dump_plain() local
|