Lines Matching refs:bpf_tc_hook
381 static int attach_point_to_config(struct bpf_tc_hook *hook, in attach_point_to_config()
421 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags) in tc_qdisc_modify()
445 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook) in tc_qdisc_create_excl()
450 static int tc_qdisc_delete(struct bpf_tc_hook *hook) in tc_qdisc_delete()
455 int bpf_tc_hook_create(struct bpf_tc_hook *hook) in bpf_tc_hook_create()
459 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
467 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
471 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook) in bpf_tc_hook_destroy()
473 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
556 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_attach()
565 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
629 static int __bpf_tc_detach(const struct bpf_tc_hook *hook, in __bpf_tc_detach()
638 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
690 int bpf_tc_detach(const struct bpf_tc_hook *hook, in bpf_tc_detach()
702 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts) in bpf_tc_query()
710 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()