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()
513 if (test->protocol->id != Pudp) { in iperf_run_client()
549 if (test->protocol->id != Pudp) { in iperf_run_client()
Diperf_api.h50 #define Pudp SOCK_DGRAM macro
Diperf_api.c936 set_protocol(test, Pudp); in iperf_parse_arguments()
1303 if (test->protocol->id == Pudp) in iperf_parse_arguments()
1310 if ((test->protocol->id != Pudp && blksize <= 0) in iperf_parse_arguments()
1315 if (test->protocol->id == Pudp && in iperf_parse_arguments()
1324 test->settings->rate = test->protocol->id == Pudp ? UDP_RATE : 0; in iperf_parse_arguments()
1681 else if (test->protocol->id == Pudp) in send_parameters()
1777 set_protocol(test, Pudp); in get_parameters()
2357 udp->id = Pudp; in iperf_defaults()
Diperf_server_api.c564 if (test->protocol->id != Pudp || in iperf_run_server()