Lines Matching refs:bpf_tc_hook
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()
620 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
628 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
634 if (!hook || !OPTS_VALID(hook, bpf_tc_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()
727 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
792 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
801 !OPTS_VALID(hook, bpf_tc_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()
873 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()