Symbol: bpf_tc_hook
tools/lib/bpf/libbpf.h
1403
LIBBPF_API int bpf_tc_hook_create(struct bpf_tc_hook *hook);
tools/lib/bpf/libbpf.h
1404
LIBBPF_API int bpf_tc_hook_destroy(struct bpf_tc_hook *hook);
tools/lib/bpf/libbpf.h
1405
LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook,
tools/lib/bpf/libbpf.h
1407
LIBBPF_API int bpf_tc_detach(const struct bpf_tc_hook *hook,
tools/lib/bpf/libbpf.h
1409
LIBBPF_API int bpf_tc_query(const struct bpf_tc_hook *hook,
tools/lib/bpf/netlink.c
534
typedef int (*qdisc_config_t)(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook);
tools/lib/bpf/netlink.c
536
static int clsact_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
544
static int qdisc_config(struct libbpf_nla_req *req, const struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
554
static int attach_point_to_config(struct bpf_tc_hook *hook,
tools/lib/bpf/netlink.c
597
static int tc_qdisc_modify(struct bpf_tc_hook *hook, int cmd, int flags)
tools/lib/bpf/netlink.c
621
static int tc_qdisc_create_excl(struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
626
static int tc_qdisc_delete(struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
631
int bpf_tc_hook_create(struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
635
if (!hook || !OPTS_VALID(hook, bpf_tc_hook) ||
tools/lib/bpf/netlink.c
643
static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
tools/lib/bpf/netlink.c
647
int bpf_tc_hook_destroy(struct bpf_tc_hook *hook)
tools/lib/bpf/netlink.c
649
if (!hook || !OPTS_VALID(hook, bpf_tc_hook) ||
tools/lib/bpf/netlink.c
734
int bpf_tc_attach(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts)
tools/lib/bpf/netlink.c
743
!OPTS_VALID(hook, bpf_tc_hook) ||
tools/lib/bpf/netlink.c
808
static int __bpf_tc_detach(const struct bpf_tc_hook *hook,
tools/lib/bpf/netlink.c
817
!OPTS_VALID(hook, bpf_tc_hook) ||
tools/lib/bpf/netlink.c
869
int bpf_tc_detach(const struct bpf_tc_hook *hook,
tools/lib/bpf/netlink.c
881
int bpf_tc_query(const struct bpf_tc_hook *hook, struct bpf_tc_opts *opts)
tools/lib/bpf/netlink.c
889
!OPTS_VALID(hook, bpf_tc_hook) ||
tools/testing/selftests/bpf/network_helpers.c
786
DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook, .ifindex = ifindex,
tools/testing/selftests/bpf/prog_tests/assign_reuse.c
84
DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
115
DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook, .ifindex = LO_IFINDEX,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
18
DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook, .ifindex = LO_IFINDEX,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
84
DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook,
tools/testing/selftests/bpf/prog_tests/btf_skc_cls_ingress.c
35
LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/cgroup_ancestor.c
18
struct bpf_tc_hook qdisc;
tools/testing/selftests/bpf/prog_tests/crypto_sanity.c
82
LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS);
tools/testing/selftests/bpf/prog_tests/decap_sanity.c
18
LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS);
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
26
static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd)
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
333
DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook, .ifindex = LO_IFINDEX,
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
69
static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd)
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
72
DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1580
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1688
LIBBPF_OPTS(bpf_tc_hook, tc_hook,
tools/testing/selftests/bpf/prog_tests/tc_links.c
1854
LIBBPF_OPTS(bpf_tc_hook, tc_hook);
tools/testing/selftests/bpf/prog_tests/tc_links.c
526
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2245
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2277
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
566
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
1154
LIBBPF_OPTS(bpf_tc_hook, qdisc_tun_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
1155
LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
330
static int qdisc_clsact_create(struct bpf_tc_hook *qdisc_hook, int ifindex)
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
347
static int xgress_filter_add(struct bpf_tc_hook *qdisc_hook,
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
385
LIBBPF_OPTS(bpf_tc_hook, qdisc_src_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
386
LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
691
LIBBPF_OPTS(bpf_tc_hook, qdisc_src_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
692
LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fwd);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
693
LIBBPF_OPTS(bpf_tc_hook, qdisc_src);
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
694
LIBBPF_OPTS(bpf_tc_hook, qdisc_dst);
tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c
52
LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/vrf_socket_lookup.c
107
LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
207
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
298
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
363
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
116
DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook,
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
42
static int attach_tc_prog(struct bpf_tc_hook *hook, int fd)
tools/testing/selftests/bpf/prog_tests/xdp_vlan.c
73
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_EGRESS);
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
294
LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
72
static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd)
tools/testing/selftests/bpf/xdp_synproxy.c
231
LIBBPF_OPTS(bpf_tc_hook, hook,
tools/testing/selftests/bpf/xdp_synproxy.c
33
LIBBPF_OPTS(bpf_tc_hook, hook,