Lines Matching refs:bpf_tc_hook
531 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
571 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
595 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
600 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
605 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
609 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
617 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
621 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
623 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
707 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
716 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
781 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
790 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
842 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
854 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
862 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()