Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 11 of 11) sorted by relevance

/iperf/src/
H A Diperf_sctp.c179 hints.ai_family = test->settings->domain; in iperf_sctp_listen()
231 test->settings->domain == AF_INET6)) { in iperf_sctp_listen()
232 if (test->settings->domain == AF_UNSPEC) in iperf_sctp_listen()
306 hints.ai_family = test->settings->domain; in iperf_sctp_connect()
315 hints.ai_family = test->settings->domain; in iperf_sctp_connect()
596 int domain; in iperf_sctp_bindx() local
599 domain = test->settings->domain; in iperf_sctp_bindx()
607 hints.ai_family = (domain == AF_UNSPEC ? AF_INET6 : domain); in iperf_sctp_bindx()
636 if (domain != AF_UNSPEC && domain != ai->ai_family) { in iperf_sctp_bindx()
680 if (domain != AF_UNSPEC && domain != ai->ai_family) in iperf_sctp_bindx()
[all …]
H A Dnet.c124 create_socket(int domain, int proto, const char *local, const char *bind_dev, int local_port, const… in create_socket() argument
132 hints.ai_family = domain; in create_socket()
139 hints.ai_family = domain; in create_socket()
233 netdial(int domain, int proto, const char *local, const char *bind_dev, int local_port, const char … in netdial() argument
238 s = create_socket(domain, proto, local, bind_dev, local_port, server, port, &server_res); in netdial()
258 netannounce(int domain, int proto, const char *local, const char *bind_dev, int port) in netannounce() argument
278 if (domain == AF_UNSPEC && !local) { in netannounce()
282 hints.ai_family = domain; in netannounce()
327 if (res->ai_family == AF_INET6 && (domain == AF_UNSPEC || domain == AF_INET6)) { in netannounce()
328 if (domain == AF_UNSPEC) in netannounce()
H A Dnet.h31 int create_socket(int domain, int proto, const char *local, const char *bind_dev, int local_port, c…
32 int netdial(int domain, int proto, const char *local, const char *bind_dev, int local_port, const c…
33 int netannounce(int domain, int proto, const char *local, const char *bind_dev, int port);
H A Diperf_tcp.c184 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_tcp_listen()
188 hints.ai_family = test->settings->domain; in iperf_tcp_listen()
282 …if (res->ai_family == AF_INET6 && (test->settings->domain == AF_UNSPEC || test->settings->domain =… in iperf_tcp_listen()
283 if (test->settings->domain == AF_UNSPEC) 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_server_api.c73 …if((test->listener = netannounce(test->settings->domain, Ptcp, test->bind_address, test->bind_dev,… in iperf_server_listen()
74 …if (errno == EAFNOSUPPORT && (test->settings->domain == AF_INET6 || test->settings->domain == AF_U… in iperf_server_listen()
81 test->settings->domain = AF_INET; 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_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.h144 int domain; /* AF_INET or AF_INET6 */ member
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.c1342 test->settings->domain = AF_INET; in iperf_parse_arguments()
1345 test->settings->domain = AF_INET6; in iperf_parse_arguments()
2781 testp->settings->domain = AF_UNSPEC; in iperf_defaults()
/iperf/config/
H A Dconfig.sub1575 os=domain
1736 | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
/iperf/
H A DLICENSE239 // I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk fo…