Searched refs:cb_opts (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_tcp_ca.c | 22 struct cb_opts { struct 84 struct cb_opts *cb_opts = (struct cb_opts *)opts; in cc_cb() local 86 return settcpca(fd, cb_opts->cc); in cc_cb() 91 struct cb_opts cb_opts = { in test_cubic() local 96 .cb_opts = &cb_opts, in test_cubic() 121 struct cb_opts *cb_opts = (struct cb_opts *)opts; in stg_post_socket_cb() local 124 err = settcpca(fd, cb_opts->cc); in stg_post_socket_cb() 128 err = bpf_map_update_elem(cb_opts->map_fd, &fd, in stg_post_socket_cb() 138 struct cb_opts cb_opts = { in test_dctcp() local 143 .cb_opts = &cb_opts, in test_dctcp() [all …]
|
H A D | sk_lookup.c | 77 struct cb_opts { struct 110 struct cb_opts *co = (struct cb_opts *)opts; in setsockopts() 158 struct cb_opts cb_opts = { in make_server() local 166 .cb_opts = &cb_opts, in make_server() 170 fd = start_server_str(cb_opts.family, sotype, ip, port, &opts); in make_server()
|
/linux/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 40 void *cb_opts; member
|
H A D | network_helpers.c | 115 opts->post_socket_cb(fd, opts->cb_opts)) { in start_server_addr() 278 opts->post_socket_cb(fd, opts->cb_opts)) in client_socket()
|