Home
last modified time | relevance | path

Searched refs:COOKIE_SIZE (Results 1 – 7 of 7) sorted by relevance

/external/iperf3/src/
Diperf.h134 #define COOKIE_SIZE 37 /* size of an ascii uuid */ macro
343 char cookie[COOKIE_SIZE];
Diperf_sctp.c121 char cookie[COOKIE_SIZE]; in iperf_sctp_accept()
132 if (Nread(s, cookie, COOKIE_SIZE, Psctp) < 0) { in iperf_sctp_accept()
138 if (strncmp(test->cookie, cookie, COOKIE_SIZE) != 0) { in iperf_sctp_accept()
498 if (Nwrite(s, test->cookie, COOKIE_SIZE, Psctp) < 0) { in iperf_sctp_connect()
Diperf_util.c120 readentropy(out, COOKIE_SIZE); in make_cookie()
121 for (pos = 0; pos < (COOKIE_SIZE - 1); pos++) { in make_cookie()
Diperf_tcp.c115 char cookie[COOKIE_SIZE]; in iperf_tcp_accept()
125 if (Nread(s, cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_accept()
629 if (Nwrite(s, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_connect()
Diperf_client_api.c345 if (Nwrite(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_connect()
Diperf_server_api.c122 if (Nread(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_accept()
Diperf_api.c2513 memset(testp->cookie, 0, COOKIE_SIZE); in iperf_defaults()
2816 memset(test->cookie, 0, COOKIE_SIZE); in iperf_reset_test()