Lines Matching refs:bpf_tc_hook
542 static int attach_point_to_config(struct bpf_tc_hook *hook,
582 static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags)
606 static int tc_qdisc_create_excl(struct bpf_tc_hook *hook)
611 static int tc_qdisc_delete(struct bpf_tc_hook *hook)
616 int bpf_tc_hook_create(struct bpf_tc_hook *hook)
620 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) ||
628 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
632 int bpf_tc_hook_destroy(struct bpf_tc_hook *hook)
634 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) ||
718 int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts)
727 !OPTS_VALID(hook, bpf_tc_hook) ||
792 static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
801 !OPTS_VALID(hook, bpf_tc_hook) ||
853 int bpf_tc_detach(const struct bpf_tc_hook *hook,
865 int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts)
873 !OPTS_VALID(hook, bpf_tc_hook) ||