Lines Matching refs:buffer_len
1034 ssize_t buffer_len; in juggle() local
1066 buffer_len = (ssize_t)strlen((char *)buffer); in juggle()
1067 msnprintf(data, sizeof(data), "PORT\n%04zx\n", buffer_len); in juggle()
1070 if(!write_stdout(buffer, buffer_len)) in juggle()
1086 buffer_len = (ssize_t)strtol((char *)buffer, NULL, 16); in juggle()
1087 if(buffer_len > (ssize_t)sizeof(buffer)) { in juggle()
1089 "(%zd bytes)", sizeof(buffer), buffer_len); in juggle()
1092 logmsg("> %zd bytes data, server => client", buffer_len); in juggle()
1094 if(!read_stdin(buffer, buffer_len)) in juggle()
1097 lograw(buffer, buffer_len); in juggle()
1106 ssize_t bytes_written = swrite(sockfd, buffer, buffer_len); in juggle()
1107 if(bytes_written != buffer_len) { in juggle()
1109 buffer_len, bytes_written); in juggle()