Home
last modified time | relevance | path

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

/external/ltp/testcases/network/netstress/
Dnetstress.c346 static void make_client_request(char client_msg[], int *cln_len, int *srv_len) in make_client_request() argument
349 *cln_len = *srv_len = min_msg_len + rand() % max_rand_msg_len; in make_client_request()
357 net_size.value = htons(*srv_len); in make_client_request()
367 srv_len = init_srv_msg_len; in client_fn() local
379 make_client_request(client_msg, &cln_len, &srv_len); in client_fn()
388 if (client_recv(buf, srv_len, &inf)) { in client_fn()
401 if (client_recv(buf, srv_len, &inf)) { in client_fn()
409 make_client_request(client_msg, &cln_len, &srv_len); in client_fn()
413 if (client_recv(buf, srv_len, &inf)) { in client_fn()