Lines Matching refs:tftp_status
83 auto open_write_fn = [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_session_options()
86 auto read_fn = [](void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { in test_tftp_session_options()
89 auto write_fn = [](const void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { in test_tftp_session_options()
145 tftp_status status; in test_tftp_generate_request()
401 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_request_send_oack()
470 static tftp_status dummy_open_write(const char* filename, size_t size, void* cookie) { in dummy_open_write()
490 tftp_status status = tftp_set_options(ts.session, server_block_size, server_timeout, in test_tftp_receive_request_options()
743 tftp_status mock_open_write(const char* filename, size_t size, void* file_cookie) { in mock_open_write()
747 tftp_status mock_read(void* data, size_t* len, off_t offset, void* cookie) { in mock_read()
752 return static_cast<tftp_status>(*len); in mock_read()
981 tftp_status mock_write(const void* data, size_t* len, off_t offset, void* cookie) { in mock_write()
986 return static_cast<tftp_status>(*len); in mock_write()
1003 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data()
1052 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_final_block()
1115 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_blocksize()
1165 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_windowsize()
1228 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_skipped_block()
1291 [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_windowsize_skipped_block()
1380 ifc.open_write = [](const char* filename, size_t size, void* cookie) -> tftp_status { in test_tftp_receive_data_block_wrapping()
1387 -> tftp_status { in test_tftp_receive_data_block_wrapping()
1674 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_block_wrapping()
1692 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_block_wrapping()
1743 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_skip_block_wrap()
1764 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_skip_block_wrap()
1785 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_skip_block_wrap()
1807 ifc.read = [](void* data, size_t* length, off_t offset, void* cookie) -> tftp_status { in test_tftp_send_data_receive_ack_skip_block_wrap()
1829 static tftp_status open_write_should_wait(const char* filename, size_t size, void* cookie) { in open_write_should_wait()
1862 tftp_status status = tftp_process_msg(ts.session, buf, buf_sz, ts.out, &ts.outlen, &ts.timeout, in test_tftp_open_should_wait()