Home
last modified time | relevance | path

Searched refs:myport (Results 1 – 2 of 2) sorted by relevance

/external/netperf/
Dnettest_bsd.c8032 int myport; in send_tcp_conn_rr() local
8191 myport = client_port_min + in send_tcp_conn_rr()
8195 myport = client_port_min; in send_tcp_conn_rr()
8198 myport--; in send_tcp_conn_rr()
8248 myport++; in send_tcp_conn_rr()
8255 if (myport >= client_port_max) { in send_tcp_conn_rr()
8256 myport = client_port_min; in send_tcp_conn_rr()
8266 if (myport == get_port_number(remote_res)) myport++; in send_tcp_conn_rr()
8270 printf("port %d\n",myport); in send_tcp_conn_rr()
8275 set_port_number(local_res, (unsigned short)myport); in send_tcp_conn_rr()
[all …]
Dnettest_xti.c5025 int myport; in send_xti_tcp_conn_rr() local
5230 myport = 65530; in send_xti_tcp_conn_rr()
5231 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr()
5349 myport = ntohs(myaddr->sin_port); in send_xti_tcp_conn_rr()
5350 myport++; in send_xti_tcp_conn_rr()
5354 if (myport == ntohs(server.sin_port)) myport++; in send_xti_tcp_conn_rr()
5360 if (myport == 65535) { in send_xti_tcp_conn_rr()
5361 myport = 5000; in send_xti_tcp_conn_rr()
5363 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr()
5366 if ((myport % 1000) == 0) { in send_xti_tcp_conn_rr()
[all …]