Home
last modified time | relevance | path

Searched refs:cb_opts (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c26 struct cb_opts { struct
88 struct cb_opts *cb_opts = (struct cb_opts *)opts; in cc_cb() local
90 return settcpca(fd, cb_opts->cc); in cc_cb()
95 struct cb_opts cb_opts = { in test_cubic() local
100 .cb_opts = &cb_opts, in test_cubic()
125 struct cb_opts *cb_opts = (struct cb_opts *)opts; in stg_post_socket_cb() local
128 err = settcpca(fd, cb_opts->cc); in stg_post_socket_cb()
132 err = bpf_map_update_elem(cb_opts->map_fd, &fd, in stg_post_socket_cb()
142 struct cb_opts cb_opts = { in test_dctcp() local
147 .cb_opts = &cb_opts, in test_dctcp()
[all …]
H A Dsk_lookup.c77 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 Dnetwork_helpers.h38 void *cb_opts; member
H A Dnetwork_helpers.c115 opts->post_socket_cb(fd, opts->cb_opts)) { in start_server_addr()
278 opts->post_socket_cb(fd, opts->cb_opts)) in client_socket()