Searched refs:cln_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() 352 memset(client_msg, client_byte, *cln_len); in make_client_request() 362 client_msg[*cln_len - 1] = end_byte; in make_client_request() 367 int cln_len = init_cln_msg_len, in client_fn() local 380 make_client_request(client_msg, &cln_len, &srv_len); in client_fn() 383 inf.fd = client_connect_send(client_msg, cln_len); in client_fn() 396 inf.fd = client_connect_send(client_msg, cln_len); in client_fn() 410 make_client_request(client_msg, &cln_len, &srv_len); in client_fn() 412 SAFE_SEND(1, inf.fd, client_msg, cln_len, send_flags); in client_fn()
|