Searched refs:srv_len (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 347 static void make_client_request(char client_msg[], int *cln_len, int *srv_len) in make_client_request() argument 350 *cln_len = *srv_len = min_msg_len + rand() % max_rand_msg_len; in make_client_request() 358 net_size.value = htons(*srv_len); in make_client_request() 368 srv_len = init_srv_msg_len; in client_fn() local 380 make_client_request(client_msg, &cln_len, &srv_len); in client_fn() 389 if (client_recv(buf, srv_len, &inf)) { in client_fn() 402 if (client_recv(buf, srv_len, &inf)) { in client_fn() 410 make_client_request(client_msg, &cln_len, &srv_len); in client_fn() 414 if (client_recv(buf, srv_len, &inf)) { in client_fn()
|