Home
last modified time | relevance | path

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

/external/iperf3/src/
Diperf_udp.c71 r = Nread(sp->socket, sp->buffer, size, Pudp); in iperf_udp_recv()
228 r = Nwrite(sp->socket, sp->buffer, size, Pudp); in iperf_udp_send()
420 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_p… in iperf_udp_accept()
452 … if ((s = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_port)) < 0) { in iperf_udp_listen()
479 …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()
509 if (test->protocol->id != Pudp) { in iperf_run_client()
545 if (test->protocol->id != Pudp) { in iperf_run_client()
Diperf_api.h49 #define Pudp SOCK_DGRAM macro
Diperf_api.c900 set_protocol(test, Pudp); in iperf_parse_arguments()
1264 if (test->protocol->id == Pudp) in iperf_parse_arguments()
1271 if ((test->protocol->id != Pudp && blksize <= 0) in iperf_parse_arguments()
1276 if (test->protocol->id == Pudp && in iperf_parse_arguments()
1285 test->settings->rate = test->protocol->id == Pudp ? UDP_RATE : 0; in iperf_parse_arguments()
1624 else if (test->protocol->id == Pudp) in send_parameters()
1715 set_protocol(test, Pudp); in get_parameters()
2289 udp->id = Pudp; in iperf_defaults()
Diperf_server_api.c557 if (test->protocol->id != Pudp || in iperf_run_server()