Home
last modified time | relevance | path

Searched refs:bind_address (Results 1 – 10 of 10) sorted by relevance

/iperf/src/
H A Diperf_sctp.c176 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_sctp_listen()
183 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_sctp_listen()
304 if (test->bind_address) { in iperf_sctp_connect()
308 if ((gerror = getaddrinfo(test->bind_address, NULL, &hints, &local_res)) != 0) { in iperf_sctp_connect()
319 if (test->bind_address) in iperf_sctp_connect()
373 if (test->bind_address) { in iperf_sctp_connect()
H A Diperf_udp.c445 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->bind_dev… in iperf_udp_accept()
477 …if ((s = netannounce(test->settings->domain, Pudp, test->bind_address, test->bind_dev, test->serve… in iperf_udp_listen()
506 …if ((s = netdial(test->settings->domain, Pudp, test->bind_address, test->bind_dev, test->bind_port… in iperf_udp_connect()
H A Diperf_tcp.c184 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_tcp_listen()
192 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_tcp_listen()
378 …s = create_socket(test->settings->domain, SOCK_STREAM, test->bind_address, test->bind_dev, test->b… in iperf_tcp_connect()
H A Diperf_locale.h38 extern const char bind_address[] ;
H A Diperf_locale.c253 const char bind_address[] = variable
H A Diperf_server_api.c73 …if((test->listener = netannounce(test->settings->domain, Ptcp, test->bind_address, test->bind_dev,… in iperf_server_listen()
730 …if ((s = netannounce(test->settings->domain, Ptcp, test->bind_address, test->bind_dev, test->serve… in iperf_run_server()
H A Diperf.h280 char *bind_address; /* first -B option */ member
H A Diperf_api.h188 void iperf_set_test_bind_address( struct iperf_test* ipt, const char *bind_address );
H A Diperf_client_api.c381 …test->ctrl_sck = netdial(test->settings->domain, Ptcp, test->bind_address, test->bind_dev, 0, test… in iperf_connect()
H A Diperf_api.c344 return ipt->bind_address; in iperf_get_test_bind_address()
708 ipt->bind_address = strdup(bnd_address); in iperf_set_test_bind_address()
2888 if (test->bind_address) in iperf_free_test()
2889 free(test->bind_address); in iperf_free_test()