Lines Matching refs:temp
133 char *buffer, *temp, recv_buf[BUFFER_SIZ]; in send_request() local
138 temp = buffer; in send_request()
141 (void) memcpy(temp, &version, sizeof (version)); in send_request()
142 temp += sizeof (version); in send_request()
143 (void) memcpy(temp, &cmd, sizeof (cmd)); in send_request()
144 temp += sizeof (cmd); in send_request()
145 (void) memcpy(temp, &rsv, sizeof (rsv)); in send_request()
146 temp += sizeof (rsv); in send_request()
147 (void) memcpy(temp, &atyp, sizeof (atyp)); in send_request()
148 temp += sizeof (atyp); in send_request()
149 (void) memcpy(temp, &ssh_host_len, sizeof (ssh_host_len)); in send_request()
150 temp += sizeof (ssh_host_len); in send_request()
151 (void) memcpy(temp, ssh_host, strlen(ssh_host)); in send_request()
152 temp += strlen(ssh_host); in send_request()
153 (void) memcpy(temp, ssh_port, sizeof (*ssh_port)); in send_request()
154 temp += sizeof (*ssh_port); in send_request()
156 if (write(sockfd, buffer, temp - buffer) == -1) { in send_request()
176 temp = recv_buf; in send_request()
179 if (*temp++ != 0x05) { in send_request()
186 switch (*temp++) { in send_request()
227 temp++; in send_request()
230 if (*temp != 0x01) { in send_request()
232 "Address type not supported: %u\n"), *temp); in send_request()