Home
last modified time | relevance | path

Searched refs:bind_port (Results 1 – 8 of 8) sorted by relevance

/iperf/src/
H A Diperf_client_api.c68 int orig_bind_port = test->bind_port; in iperf_create_streams()
71 test->bind_port = orig_bind_port; in iperf_create_streams()
73 test->bind_port += i; in iperf_create_streams()
76 test->bind_port += test->num_streams; in iperf_create_streams()
79 test->bind_port = orig_bind_port; in iperf_create_streams()
H A Diperf_sctp.c376 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect()
390 else if (test->bind_port) { in iperf_sctp_connect()
398 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect()
406 lcladdr->sin6_port = htons(test->bind_port); in iperf_sctp_connect()
H A Diperf_locale.c259 const char bind_port[] = variable
H A Diperf.h283 int bind_port; /* --cport option */ member
H A Diperf_api.h172 void iperf_set_test_bind_port( struct iperf_test* ipt, int bind_port );
H A Diperf_udp.c506 …test->settings->domain, Pudp, test->bind_address, test->bind_dev, test->bind_port, test->server_ho… in iperf_udp_connect()
H A Diperf_tcp.c378 …ettings->domain, SOCK_STREAM, test->bind_address, test->bind_dev, test->bind_port, test->server_ho… in iperf_tcp_connect()
H A Diperf_api.c284 return ipt->bind_port; in iperf_get_test_bind_port()
537 iperf_set_test_bind_port(struct iperf_test *ipt, int bind_port) in iperf_set_test_bind_port() argument
539 ipt->bind_port = bind_port; in iperf_set_test_bind_port()
1327 test->bind_port = portno; in iperf_parse_arguments()