Searched refs:recv_total (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc.c301 int recv_size = 0, recv_total = 0; local
303 while (recv_total < size) {
305 if ((recv_size = recv(sock, buffer+recv_total, size-recv_total, 0)) <= 0) {
316 recv_total += recv_size;
319 return recv_total;
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc.c59 int recv_size = 0, recv_total = 0; local
61 while (recv_total < size) {
63 if ((recv_size = recv(sock, buffer+recv_total, size-recv_total, 0)) <= 0) {
74 recv_total += recv_size;
77 return recv_total;

Completed in 79 milliseconds