Home
last modified time | relevance | path

Searched refs:bpf_program__attach_cgroup (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_getset_retval.c33 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set()
69 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set_and_get()
73 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_set_and_get()
112 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero()
149 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero_and_set()
153 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_default_zero_and_set()
202 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_override()
248 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_legacy_eperm()
299 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_legacy_no_override()
341 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_getsockopt_get()
[all …]
H A Dcg_storage_multi.c107 parent_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only()
130 child_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only()
177 parent_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated()
181 parent_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated()
185 parent_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated()
219 child_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated()
223 child_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated()
227 child_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated()
324 child_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_shared()
328 child_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_shared()
[all …]
H A Dsockopt_multi.c44 link_child = bpf_program__attach_cgroup(obj->progs._getsockopt_child, in run_getsockopt_test()
69 link_parent = bpf_program__attach_cgroup(obj->progs._getsockopt_parent, in run_getsockopt_test()
192 link_child = bpf_program__attach_cgroup(obj->progs._setsockopt, in run_setsockopt_test()
220 link_parent = bpf_program__attach_cgroup(obj->progs._setsockopt, in run_setsockopt_test()
H A Dudp_limit.c22 skel->links.sock = bpf_program__attach_cgroup(skel->progs.sock, cgroup_fd); in test_udp_limit()
25 skel->links.sock_release = bpf_program__attach_cgroup(skel->progs.sock_release, cgroup_fd); in test_udp_limit()
H A Dsocket_cookie.c33 skel->links.set_cookie = bpf_program__attach_cgroup( in test_socket_cookie()
38 skel->links.update_cookie_sockops = bpf_program__attach_cgroup( in test_socket_cookie()
H A Dcgroup_link.c66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
118 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
143 tmp_link = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
161 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
H A Dbind_perm.c70 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_bind_perm()
74 skel->links.bind_v6_prog = bpf_program__attach_cgroup(skel->progs.bind_v6_prog, cgroup_fd); in test_bind_perm()
H A Dtcp_hdr_options.c319 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fastopen_estab()
363 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in syncookie_estab()
395 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fin()
434 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in __simple_estab()
471 link = bpf_program__attach_cgroup(misc_skel->progs.misc_estab, cg_fd); in misc()
H A Dconnect_ping.c134 bpf_program__attach_cgroup(skel->progs.connect_v4_prog, cgroup_fd); in test_connect_ping()
138 bpf_program__attach_cgroup(skel->progs.connect_v6_prog, cgroup_fd); in test_connect_ping()
H A Dsetget_sockopt.c179 bpf_program__attach_cgroup(skel->progs.skops_sockopt, cg_fd); in test_setget_sockopt()
184 bpf_program__attach_cgroup(skel->progs.socket_post_create, cg_fd); in test_setget_sockopt()
H A Dsockopt_inherit.c153 link_getsockopt = bpf_program__attach_cgroup(obj->progs._getsockopt, in run_test()
158 link_setsockopt = bpf_program__attach_cgroup(obj->progs._setsockopt, in run_test()
H A Dsockopt_sk.c234 bpf_program__attach_cgroup(skel->progs._setsockopt, cgroup_fd); in run_test()
239 bpf_program__attach_cgroup(skel->progs._getsockopt, cgroup_fd); in run_test()
H A Dsockopt_qos_to_cc.c57 bpf_program__attach_cgroup(skel->progs.sockopt_qos_to_cc, in test_sockopt_qos_to_cc()
H A Dcgrp_local_storage.c81 skel->links.set_cookie = bpf_program__attach_cgroup( in test_attach_cgroup()
86 skel->links.update_cookie_sockops = bpf_program__attach_cgroup( in test_attach_cgroup()
H A Dcgroup_v1v2.c23 bpf_program__attach_cgroup(skel->progs.connect_v4_dropper, in run_test()
H A Dsock_fields.c375 link = bpf_program__attach_cgroup(skel->progs.egress_read_sock_fields, child_cg_fd); in serial_test_sock_fields()
380 link = bpf_program__attach_cgroup(skel->progs.ingress_read_sock_fields, child_cg_fd); in serial_test_sock_fields()
385 link = bpf_program__attach_cgroup(skel->progs.read_sk_dst_port, child_cg_fd); in serial_test_sock_fields()
H A Dcgroup_skb_sk_lookup.c62 link = bpf_program__attach_cgroup(skel->progs.ingress_lookup, cgfd); in run_cgroup_bpf_test()
H A Dnetcnt.c37 skel->links.bpf_nextcnt = bpf_program__attach_cgroup(skel->progs.bpf_nextcnt, cg_fd); in serial_test_netcnt()
H A Dnetns_cookie.c30 skel->links.get_netns_cookie_sockops = bpf_program__attach_cgroup( in test_netns_cookie()
H A Dcgroup_tcp_skb.c27 bpf_program__attach_cgroup(egress_prog, in install_filters()
32 bpf_program__attach_cgroup(ingress_prog, in install_filters()
H A Dtcpbpf_user.c127 skel->links.bpf_testcb = bpf_program__attach_cgroup(skel->progs.bpf_testcb, cg_fd); in test_tcpbpf_user()
H A Dtest_ldsx_insn.c73 bpf_program__attach_cgroup(skel->progs._getsockopt, cgroup_fd); in test_ctx_member_sign_ext()
H A Dns_current_pid_tgid.c100 skel->links.cgroup_bind4 = bpf_program__attach_cgroup( in test_current_pid_tgid_cgrp()
H A Dsock_destroy.c191 skel->links.sock_connect = bpf_program__attach_cgroup( in test_sock_destroy()
/openbmc/linux/samples/bpf/
H A Dtest_cgrp2_sock2.c76 link = bpf_program__attach_cgroup(progs[filter_id], cg_fd); in main()

12