Home
last modified time | relevance | path

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

/iperf/src/
H A 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()
528 if (Nwrite(s, test->cookie, COOKIE_SIZE, Psctp) < 0) { in iperf_sctp_connect()
H A Diperf_tcp.c120 char cookie[COOKIE_SIZE]; in iperf_tcp_accept()
130 if (Nread(s, cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_accept()
560 if (Nwrite(s, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_tcp_connect()
H A Diperf.h141 #define COOKIE_SIZE 37 /* size of an ascii uuid */ macro
372 char cookie[COOKIE_SIZE];
H A Diperf_util.c120 readentropy(out, COOKIE_SIZE); in make_cookie()
121 for (pos = 0; pos < (COOKIE_SIZE - 1); pos++) { in make_cookie()
H A Diperf_client_api.c403 if (Nwrite(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_connect()
H A Diperf_server_api.c143 if (Nread(test->ctrl_sck, test->cookie, COOKIE_SIZE, Ptcp) < 0) { in iperf_accept()
H A Diperf_api.c2800 memset(testp->cookie, 0, COOKIE_SIZE); in iperf_defaults()
3107 memset(test->cookie, 0, COOKIE_SIZE); in iperf_reset_test()