Lines Matching refs:myport
8032 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()
9114 int myport; in send_tcp_tran_rr() local
9277 myport = client_port_min + in send_tcp_tran_rr()
9281 myport = client_port_min; in send_tcp_tran_rr()
9285 myport--; in send_tcp_tran_rr()
9286 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr()
9356 myport = ntohs(myaddr->sin_port); in send_tcp_tran_rr()
9357 myport++; in send_tcp_tran_rr()
9366 if (myport == ntohs(server.sin_port)) myport++; in send_tcp_tran_rr()
9372 if (myport >= client_port_max) { in send_tcp_tran_rr()
9373 myport = client_port_min; in send_tcp_tran_rr()
9375 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr()
9379 printf("port %d\n",myport); in send_tcp_tran_rr()
11211 int myport; in send_tcp_cc() local
11354 myport = client_port_min + in send_tcp_cc()
11358 myport = client_port_min; in send_tcp_cc()
11361 myport--; in send_tcp_cc()
11412 myport++; in send_tcp_cc()
11419 if (myport >= client_port_max) { in send_tcp_cc()
11420 myport = client_port_min; in send_tcp_cc()
11430 if (myport == get_port_number(remote_res)) myport++; in send_tcp_cc()
11434 printf("port %d\n",myport); in send_tcp_cc()
11437 set_port_number(local_res, (unsigned short)myport); in send_tcp_cc()