Searched refs:bpf_tc_hook (Results 1 - 15 of 15) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | netlink.c | 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 *hoo [all...] |
H A D | libbpf.h | 1235 struct bpf_tc_hook { struct 1255 LIBBPF_API int bpf_tc_hook_create(struct bpf_tc_hook *hook); 1256 LIBBPF_API int bpf_tc_hook_destroy(struct bpf_tc_hook *hook); 1257 LIBBPF_API int bpf_tc_attach(const struct bpf_tc_hook *hook, 1259 LIBBPF_API int bpf_tc_detach(const struct bpf_tc_hook *hook, 1261 LIBBPF_API int bpf_tc_query(const struct bpf_tc_hook *hook,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | decap_sanity.c | 19 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS);
|
H A D | tc_bpf.c | 26 static int test_tc_bpf_basic(const struct bpf_tc_hook *hook, int fd) 69 static int test_tc_bpf_api(struct bpf_tc_hook *hook, int fd) 72 DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS); 333 DECLARE_LIBBPF_OPTS(bpf_tc_hook, hook, .ifindex = LO_IFINDEX,
|
H A D | tcp_custom_syncookie.c | 52 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
|
H A D | xfrm_info.c | 72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) 294 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS);
|
H A D | xdp_do_redirect.c | 41 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) 106 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook,
|
H A D | test_tunnel.c | 367 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) 410 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, 494 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, 564 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, 629 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook,
|
H A D | tc_redirect.c | 314 static int qdisc_clsact_create(struct bpf_tc_hook *qdisc_hook, int ifindex) 331 static int xgress_filter_add(struct bpf_tc_hook *qdisc_hook, 369 LIBBPF_OPTS(bpf_tc_hook, qdisc_src_fwd); 370 LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fwd); 675 LIBBPF_OPTS(bpf_tc_hook, qdisc_src_fwd); 676 LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fwd); 677 LIBBPF_OPTS(bpf_tc_hook, qdisc_src); 678 LIBBPF_OPTS(bpf_tc_hook, qdisc_dst); 1141 LIBBPF_OPTS(bpf_tc_hook, qdisc_tun_fwd); 1142 LIBBPF_OPTS(bpf_tc_hook, qdisc_dst_fw [all...] |
H A D | btf_skc_cls_ingress.c | 26 LIBBPF_OPTS(bpf_tc_hook, qdisc_lo, .attach_point = BPF_TC_INGRESS);
|
H A D | vrf_socket_lookup.c | 107 LIBBPF_OPTS(bpf_tc_hook, hook, .attach_point = BPF_TC_INGRESS);
|
H A D | assign_reuse.c | 84 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook,
|
H A D | tc_links.c | 524 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); 1578 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); 1686 LIBBPF_OPTS(bpf_tc_hook, tc_hook, 1793 LIBBPF_OPTS(bpf_tc_hook, tc_hook);
|
H A D | tc_opts.c | 566 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); 2247 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback); 2279 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .ifindex = loopback);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 33 LIBBPF_OPTS(bpf_tc_hook, hook, 231 LIBBPF_OPTS(bpf_tc_hook, hook,
|
Completed in 176 milliseconds