Lines Matching refs:client_msg
347 static void make_client_request(char client_msg[], int *cln_len, int *srv_len) in make_client_request() argument
352 memset(client_msg, client_byte, *cln_len); in make_client_request()
353 client_msg[0] = start_byte; in make_client_request()
359 client_msg[1] = net_size.bytes[0]; in make_client_request()
360 client_msg[2] = net_size.bytes[1]; in make_client_request()
362 client_msg[*cln_len - 1] = end_byte; in make_client_request()
371 char client_msg[max_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()
508 char client_msg[min_msg_len]; in client_run() local
512 make_client_request(client_msg, &msg_len, &msg_len); in client_run()
514 client_msg[0] = start_fin_byte; in client_run()
515 int cfd = client_connect_send(client_msg, msg_len); in client_run()