Lines Matching refs:bpf_tc_hook
435 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
475 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
499 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
504 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
509 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
513 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
521 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
525 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
527 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
611 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
620 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
684 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
693 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
745 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
757 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
765 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()