Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 4 of 4) sorted by relevance

/NetX-Duo-v6.2.1/addons/tftp/
Dnxd_tftp_server.c1290 ULONG file_size; in _nx_tftp_server_open_for_read_process() local
1377 …(server_ptr -> nx_tftp_server_media_ptr, (CHAR *) buffer_ptr, NX_NULL, &file_size, NX_NULL, NX_NUL… in _nx_tftp_server_open_for_read_process()
1481 client_request_ptr -> nx_tftp_client_file_size = file_size; in _nx_tftp_server_open_for_read_process()
1484 if(file_size) in _nx_tftp_server_open_for_read_process()
1492 … ((file_size > NX_TFTP_FILE_TRANSFER_MAX) && (actual_size != NX_TFTP_FILE_TRANSFER_MAX)) || in _nx_tftp_server_open_for_read_process()
1493 ((file_size < NX_TFTP_FILE_TRANSFER_MAX) && (actual_size != file_size))) in _nx_tftp_server_open_for_read_process()
1518 client_request_ptr -> nx_tftp_client_request_remaining_bytes = file_size - actual_size; in _nx_tftp_server_open_for_read_process()
1521 if (file_size % NX_TFTP_FILE_TRANSFER_MAX) in _nx_tftp_server_open_for_read_process()
1527 else if (file_size > 0) in _nx_tftp_server_open_for_read_process()
/NetX-Duo-v6.2.1/samples/
Ddemo_netxduo_ftp.c238 ULONG file_size; in client_thread_entry() local
479 file_size = 0; in client_thread_entry()
489 file_size += my_packet -> nx_packet_length; in client_thread_entry()
495 if (file_size != 28) in client_thread_entry()
/NetX-Duo-v6.2.1/addons/ftp/
Dnxd_ftp_client.h310 UINT nx_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size);
350 UINT _nxe_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size);
351 UINT _nx_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size);
Dnxd_ftp_client.c4273 UINT _nxe_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size) in _nxe_ftp_client_file_size_set() argument
4287 status = _nx_ftp_client_file_size_set(ftp_client_ptr, file_size); in _nxe_ftp_client_file_size_set()
4339 UINT _nx_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size) in _nx_ftp_client_file_size_set() argument
4346 if (file_size == 0) in _nx_ftp_client_file_size_set()
4362 status = _nx_ftp_client_block_header_send(ftp_client_ptr, file_size); in _nx_ftp_client_file_size_set()
4373 ftp_client_ptr -> nx_ftp_client_block_total_size = file_size; in _nx_ftp_client_file_size_set()
4374 ftp_client_ptr -> nx_ftp_client_block_remaining_size = file_size; in _nx_ftp_client_file_size_set()
4493 ULONG file_size = 0; in _nx_ftp_client_file_write() local
4505 file_size = packet_ptr -> nx_packet_length; in _nx_ftp_client_file_write()
4531 ftp_client_ptr -> nx_ftp_client_block_remaining_size -= file_size; in _nx_ftp_client_file_write()