Data Structures | |
struct | iperf_state |
Enumerations | |
enum | iperf_status { E_WAITING = 0, E_CONNECTED, E_CLOSED, E_WAITING = 0, E_CONNECTED, E_CLOSED } |
Functions | |
static void | iperf_tcp_recv (struct netconn *conn) |
static void | iperf_tcp_send (ip_addr_t *local_ip, ip_addr_t *remote_ip) |
void | iperf_tcp_server () |
iperf function using TCP server mode More... | |
static void | iperf_udp_recv (struct netconn *conn) |
static void | iperf_udp_send (struct netconn *conn) |
void | iperf_udp_server () |
iperf function using UDP server. More... | |
void | print_test (const char *fn, uint8_t *ptr, int size) |
Variables | |
uint8_t | buffer [BUFSIZE] |
struct iperf_state | iperf |
struct iperf_stats | stats |
static uint32_t | test_time |
static uint32_t | test_tx |
static ip_addr_t | udp_client_ip |
static uint32_t | udp_client_port |
enum iperf_status |
|
static |
References client_hdr::bufferlen, iperf_state::chdr, E_CLOSED, E_CONNECTED, E_WAITING, ERR_OK, iperf_state::flags, client_hdr::flags, iperf, client_hdr::mAmount, client_hdr::mPort, client_hdr::mWinBand, netbuf_data(), netbuf_delete(), ntohl, client_hdr::numThreads, osprintf(), netbuf::p, RUN_NOW, iperf_state::status, and pbuf::tot_len.
Referenced by iperf_tcp_server().
References buffer, BUFSIZE, iperf_state::chdr, E_CLOSED, ERR_OK, ipaddr_ntoa(), iperf, IPERF_PORT, client_hdr::mAmount, osprintf(), iperf_state::status, TCP_SND_BUF, and xTaskGetTickCount().
Referenced by iperf_tcp_server().
void iperf_tcp_server | ( | void | ) |
iperf function using TCP server mode
References buffer, BUFSIZE, E_WAITING, ERR_OK, iperf_state::flags, HEADER_VERSION1, ipaddr_ntoa(), iperf, IPERF_PORT, iperf_tcp_recv(), iperf_tcp_send(), local_ip, NULL, osprintf(), iperf_state::status, TCP_WND, and vTaskDelay().
Referenced by wilc_task_1().
|
static |
References netbuf::addr, server_hdr::datagrams, ERR_OK, server_hdr::error_cnt, server_hdr::flags, HEADER_VERSION1, htonl, UDP_datagram::id, server_hdr::jitter1, server_hdr::jitter2, netbuf_alloc(), netbuf_data(), netbuf_delete(), netbuf_fromaddr, netbuf_fromport, netbuf_new(), ntohl, osprintf(), server_hdr::outorder_cnt, stats, server_hdr::stop_sec, server_hdr::stop_usec, test_time, test_tx, server_hdr::total_len1, server_hdr::total_len2, UDP_datagram::tv_sec, UDP_datagram::tv_usec, udp_client_ip, udp_client_port, iperf_stats::udp_rx_end_sec, iperf_stats::udp_rx_end_usec, iperf_stats::udp_rx_lost, iperf_stats::udp_rx_outorder, iperf_stats::udp_rx_seq, iperf_stats::udp_rx_start_sec, iperf_stats::udp_rx_start_usec, iperf_stats::udp_rx_total_pkt, iperf_stats::udp_rx_total_size, and vTaskDelay().
Referenced by iperf_udp_server().
|
static |
References buffer, server_hdr::flags, HEADER_VERSION1, htonl, UDP_datagram::id, IPERF_PORT, IPERF_WIFI_UDP_BUFFER_SIZE, netbuf_alloc(), netbuf_delete(), netbuf_new(), ntohl, osprintf(), test_time, test_tx, server_hdr::total_len1, server_hdr::total_len2, udp_client_ip, and xTaskGetTickCount().
Referenced by iperf_udp_server().
void iperf_udp_server | ( | void | ) |
iperf function using UDP server.
References buffer, BUFSIZE, ERR_OK, IPERF_PORT, iperf_udp_recv(), iperf_udp_send(), NULL, osprintf(), stats, and vTaskDelay().
Referenced by wilc_task_1().
void print_test | ( | const char * | fn, |
uint8_t * | ptr, | ||
int | size | ||
) |
uint8_t buffer[BUFSIZE] |
Referenced by _http_client_handle_entity(), _http_client_move_buffer(), _http_client_read_chuked_entity(), _http_client_request(), at24macxx_acknowledge_polling(), att_copy_value(), att_db_util_add_characteristic_uuid128(), att_db_util_add_characteristic_uuid16(), att_db_util_add_client_characteristic_configuration(), att_db_util_add_service_uuid128(), att_db_util_add_service_uuid16(), btstack_slip_decoder_init(), fifo_init(), gmac_low_level_output(), hids_device_can_send_now(), hids_device_emit_event_with_uint8(), http_connection(), iperf_tcp_client_task(), iperf_tcp_send(), iperf_tcp_server(), iperf_tcp_task(), iperf_udp_send(), iperf_udp_server(), main(), mxt_probe_device(), pbuf_read16be(), qspi_flash_access_memory(), sm_run(), stream_writer_init(), twihs_master_read(), twihs_master_write(), and virtual_usb_trans().
struct iperf_state iperf |
Referenced by iperf_tcp_client_task(), iperf_tcp_recv(), iperf_tcp_send(), iperf_tcp_server(), and iperf_tcp_task().
struct iperf_stats stats |
Referenced by iperf_udp_recv(), iperf_udp_server(), and iperf_udp_task().
|
static |
Referenced by iperf_udp_recv(), and iperf_udp_send().
|
static |
Referenced by iperf_udp_recv(), and iperf_udp_send().
|
static |
Referenced by iperf_udp_recv(), and iperf_udp_send().
|
static |
Referenced by iperf_udp_recv().