Home
last modified time | relevance | path

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

/external/netperf/src/
Dnettest_bsd.c8852 int myport; in send_tcp_conn_rr() local
9011 myport = client_port_min + in send_tcp_conn_rr()
9015 myport = client_port_min; in send_tcp_conn_rr()
9018 myport--; in send_tcp_conn_rr()
9068 myport++; in send_tcp_conn_rr()
9075 if (myport >= client_port_max) { in send_tcp_conn_rr()
9076 myport = client_port_min; in send_tcp_conn_rr()
9086 if (myport == get_port_number(remote_res)) myport++; in send_tcp_conn_rr()
9090 printf("port %d\n",myport); in send_tcp_conn_rr()
9095 set_port_number(local_res, (unsigned short)myport); in send_tcp_conn_rr()
[all …]
Dnettest_xti.c5024 int myport; in send_xti_tcp_conn_rr() local
5229 myport = 65530; in send_xti_tcp_conn_rr()
5230 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr()
5348 myport = ntohs(myaddr->sin_port); in send_xti_tcp_conn_rr()
5349 myport++; in send_xti_tcp_conn_rr()
5353 if (myport == ntohs(server.sin_port)) myport++; in send_xti_tcp_conn_rr()
5359 if (myport == 65535) { in send_xti_tcp_conn_rr()
5360 myport = 5000; in send_xti_tcp_conn_rr()
5362 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr()
5365 if ((myport % 1000) == 0) { in send_xti_tcp_conn_rr()
[all …]
Dnettest_omni.c916 static unsigned short myport = 0; in pick_next_port_number() local
926 myport = client_port_min + in pick_next_port_number()
930 myport = (unsigned short)client_port_min; in pick_next_port_number()
933 myport--; in pick_next_port_number()
939 myport++; in pick_next_port_number()
949 if (myport == get_port_number(remote_res)) myport++; in pick_next_port_number()
956 if (myport >= client_port_max) { in pick_next_port_number()
957 myport = (unsigned short)client_port_min; in pick_next_port_number()
961 set_port_number(local_res, (unsigned short)myport); in pick_next_port_number()