Home
last modified time | relevance | path

Searched refs:tftp_status (Results 1 – 10 of 10) sorted by relevance

/system/ulib/tftp/include/tftp/
A Dtftp.h87 typedef int32_t tftp_status; typedef
145 typedef tftp_status (*tftp_file_read_cb)(void* data,
158 typedef tftp_status (*tftp_file_write_cb)(const void* data,
178 typedef tftp_status (*tftp_transport_send_cb)(void* data,
245 tftp_status tftp_set_options(tftp_session* session,
259 tftp_status tftp_prepare_data(tftp_session* session,
275 tftp_status tftp_timeout(tftp_session* session,
287 tftp_status tftp_push_file(tftp_session* session,
299 tftp_status tftp_pull_file(tftp_session* session,
310 tftp_status tftp_service_request(tftp_session* session,
[all …]
/system/ulib/tftp/
A Dinternal.h196 tftp_status tftp_generate_request(tftp_session* session,
215 tftp_status tftp_process_msg(tftp_session* session,
224 tftp_status tx_data(tftp_session* session, tftp_data_msg* resp, size_t* outlen, void* cookie);
225 tftp_status tftp_handle_rrq(tftp_session* session,
232 tftp_status tftp_handle_wrq(tftp_session* session,
239 tftp_status tftp_handle_data(tftp_session* session,
246 tftp_status tftp_handle_ack(tftp_session* session,
253 tftp_status tftp_handle_error(tftp_session* session,
260 tftp_status tftp_handle_oack(tftp_session* session,
267 tftp_status tftp_handle_oerror(tftp_session* session,
A Dtftp-fuzztest.cpp24 auto open_write_fn = [](const char* filename, size_t size, void* cookie) -> tftp_status { in LLVMFuzzerTestOneInput()
27 auto read_fn = [](void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { in LLVMFuzzerTestOneInput()
30 auto write_fn = [](const void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { in LLVMFuzzerTestOneInput()
A Dtftp.c658 tftp_status tftp_handle_wrq(tftp_session* session, in tftp_handle_wrq()
669 tftp_status tftp_handle_rrq(tftp_session* session, in tftp_handle_rrq()
727 tftp_status ret; in tftp_handle_data()
765 tftp_status tftp_handle_ack(tftp_session* session, in tftp_handle_ack()
1030 tftp_status tftp_timeout(tftp_session* session, in tftp_timeout()
1080 tftp_status ret; in tftp_msg_loop()
1084 tftp_status send_status; in tftp_msg_loop()
1180 tftp_status status; in transfer_file()
1242 tftp_status tftp_push_file(tftp_session* session, in tftp_push_file()
1252 tftp_status tftp_pull_file(tftp_session* session, in tftp_pull_file()
[all …]
A Dtftp-example.c50 tftp_status connection_send(void* data, size_t len, void* transport_cookie) { in connection_send()
179 tftp_status open_write_file(const char* filename, size_t size, void* file_cookie) { in open_write_file()
192 tftp_status read_file(void* data, size_t* length, off_t offset, void* file_cookie) { in read_file()
203 tftp_status write_file(const void* data, size_t* length, off_t offset, void* file_cookie) { in write_file()
237 tftp_status send_result = in tftp_send_file_wrapper()
260 tftp_status status; in tftp_receive_file_wrapper()
A Dtftp-file-test.cpp83 tftp_status file_open_write(const char* filename, in file_open_write()
97 tftp_status file_read(void* data, size_t* length, off_t offset, in file_read()
119 tftp_status file_write(const void* data, size_t* length, off_t offset, in file_write()
190 tftp_status transport_send(void* data, size_t len, void* transport_cookie) { in transport_send()
262 tftp_status status = tftp_init(&session, session_buf, session_size); in run_client_test()
339 tftp_status status = tftp_init(&session, session_buf, session_size); in run_server_test()
A Dtftp-test.cpp145 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()
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()
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()
[all …]
/system/core/netsvc/
A Dtftp.c224 static tftp_status paver_open_write(const char* filename, size_t size, file_info_t* file_info) { in paver_open_write()
335 static tftp_status file_open_write(const char* filename, size_t size, in file_open_write()
360 tftp_status status = paver_open_write(filename, size, file_info); in file_open_write()
374 static tftp_status file_read(void* data, size_t* length, off_t offset, void* cookie) { in file_read()
386 static tftp_status file_write(const void* data, size_t* length, off_t offset, void* cookie) { in file_write()
440 static tftp_status transport_send(void* data, size_t len, void* transport_cookie) { in transport_send()
491 tftp_status result = tftp_timeout(session, tftp_out_scratch, &last_msg_size, in tftp_timeout_expired()
506 tftp_status send_result = transport_send(tftp_out_scratch, last_msg_size, in tftp_timeout_expired()
540 tftp_status status = tftp_handle_msg(session, &transport_info, &file_info, in tftp_recv()
/system/host/netprotocol/
A Dnetcp.c65 static tftp_status file_open_write(const char* filename, size_t size, void* file_cookie) { in file_open_write()
76 static tftp_status file_read(void* data, size_t* length, off_t offset, void* file_cookie) { in file_read()
86 static tftp_status file_write(const void* data, size_t* length, off_t offset, void* file_cookie) { in file_write()
103 static tftp_status transport_send(void* data, size_t len, void* transport_cookie) { in transport_send()
232 tftp_status status; in transfer_file()
/system/host/bootserver/
A Dtftp.c67 tftp_status file_read(void* data, size_t* length, off_t offset, void* cookie) { in file_read()
104 tftp_status transport_send(void* data, size_t len, void* cookie) { in transport_send()
268 tftp_status status; in tftp_xfer()

Completed in 26 milliseconds