Lines Matching refs:total_length
36 int total_length = 0; in rc_pack_list() local
70 total_length += length+8; in rc_pack_list()
80 total_length += length+8; in rc_pack_list()
124 total_length += padded_length + 2; in rc_pack_list()
151 total_length += CHAP_VALUE_LENGTH + 2; in rc_pack_list()
162 total_length += length + 2; in rc_pack_list()
171 total_length += sizeof (UINT4) + 2; in rc_pack_list()
182 return total_length; in rc_pack_list()
205 int total_length; in rc_send_server() local
268 total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN; in rc_send_server()
270 auth->length = htons ((unsigned short) total_length); in rc_send_server()
274 memcpy ((char *) auth + total_length, secret, secretlen); in rc_send_server()
275 rc_md5_calc (vector, (char *) auth, total_length + secretlen); in rc_send_server()
283 total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN; in rc_send_server()
285 auth->length = htons ((unsigned short) total_length); in rc_send_server()
296 sendto (sockfd, (char *) auth, (unsigned int) total_length, (int) 0, in rc_send_server()