Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/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.3.0/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.3.0/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.c4277 UINT _nxe_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size) in _nxe_ftp_client_file_size_set() argument
4291 status = _nx_ftp_client_file_size_set(ftp_client_ptr, file_size); in _nxe_ftp_client_file_size_set()
4343 UINT _nx_ftp_client_file_size_set(NX_FTP_CLIENT *ftp_client_ptr, ULONG file_size) in _nx_ftp_client_file_size_set() argument
4350 if (file_size == 0) in _nx_ftp_client_file_size_set()
4366 status = _nx_ftp_client_block_header_send(ftp_client_ptr, file_size); in _nx_ftp_client_file_size_set()
4377 ftp_client_ptr -> nx_ftp_client_block_total_size = file_size; in _nx_ftp_client_file_size_set()
4378 ftp_client_ptr -> nx_ftp_client_block_remaining_size = file_size; in _nx_ftp_client_file_size_set()
4500 ULONG file_size = 0; in _nx_ftp_client_file_write() local
4512 file_size = packet_ptr -> nx_packet_length; in _nx_ftp_client_file_write()
4535 ftp_client_ptr -> nx_ftp_client_block_remaining_size -= file_size; in _nx_ftp_client_file_write()