Lines Matching refs:remote_file
23 const char *remote_file, const char *mode) in make_request() argument
33 strncpy(ptr, remote_file, TFTP_MAX_FILENAME_SIZE); in make_request()
34 ptr += strlen(remote_file); in make_request()
183 int request, const char *remote_file, const char *mode) in send_request() argument
190 req_size = make_request(client->tftp_buf, request, remote_file, mode); in send_request()
196 remote_file); in send_request()
226 remote_file, mode); in send_request()
244 int tftp_get(struct tftpc *client, const char *remote_file, const char *mode) in tftp_get() argument
268 ret = send_request(sock, client, READ_REQUEST, remote_file, mode); in tftp_get()
372 int tftp_put(struct tftpc *client, const char *remote_file, const char *mode, in tftp_put() argument
393 ret = send_request(sock, client, WRITE_REQUEST, remote_file, mode); in tftp_put()