Home
last modified time | relevance | path

Searched refs:Pudp (Results 1 – 5 of 5) sorted by relevance

/external/iperf3/src/
Diperf_udp.c79 r = Nread(sp->socket, sp->buffer, size, Pudp); in iperf_udp_recv()
251 r = Nwrite(sp->socket, sp->buffer, size, Pudp); in iperf_udp_send()
443 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_p… in iperf_udp_accept()
475 … if ((s = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_port)) < 0) { in iperf_udp_listen()
502 …if ((s = netdial(test->settings->domain, Pudp, test->bind_address, test->bind_port, test->server_h… in iperf_udp_connect()
Diperf_client_api.c393 if (test->protocol->id == Pudp) { in iperf_connect()
513 if (test->protocol->id != Pudp) { in iperf_run_client()
549 if (test->protocol->id != Pudp) { in iperf_run_client()
Diperf_api.h54 #define Pudp SOCK_DGRAM macro
Diperf_api.c1030 set_protocol(test, Pudp); in iperf_parse_arguments()
1416 if (test->protocol->id == Pudp) in iperf_parse_arguments()
1423 if ((test->protocol->id != Pudp && blksize <= 0) in iperf_parse_arguments()
1428 if (test->protocol->id == Pudp && in iperf_parse_arguments()
1437 test->settings->rate = test->protocol->id == Pudp ? UDP_RATE : 0; in iperf_parse_arguments()
1844 else if (test->protocol->id == Pudp) in send_parameters()
1950 set_protocol(test, Pudp); in get_parameters()
2541 udp->id = Pudp; in iperf_defaults()
Diperf_server_api.c581 if (test->protocol->id != Pudp || in iperf_run_server()