Home
last modified time | relevance | path

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

/iperf/src/
H A Diperf_sctp.c163 struct addrinfo hints, *res; in iperf_sctp_listen() local
170 memset(&hints, 0, sizeof(hints)); in iperf_sctp_listen()
177 hints.ai_family = AF_INET6; in iperf_sctp_listen()
181 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_listen()
182 hints.ai_flags = AI_PASSIVE; in iperf_sctp_listen()
305 memset(&hints, 0, sizeof(hints)); in iperf_sctp_connect()
314 memset(&hints, 0, sizeof(hints)); in iperf_sctp_connect()
316 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_connect()
586 struct addrinfo hints; in iperf_sctp_bindx() local
606 memset(&hints, 0, sizeof(hints)); in iperf_sctp_bindx()
[all …]
H A Dnet.c131 memset(&hints, 0, sizeof(hints)); in create_socket()
132 hints.ai_family = domain; in create_socket()
138 memset(&hints, 0, sizeof(hints)); in create_socket()
139 hints.ai_family = domain; in create_socket()
140 hints.ai_socktype = proto; in create_socket()
260 struct addrinfo hints, *res; in netannounce() local
265 memset(&hints, 0, sizeof(hints)); in netannounce()
279 hints.ai_family = AF_INET6; in netannounce()
282 hints.ai_family = domain; in netannounce()
284 hints.ai_socktype = proto; in netannounce()
[all …]
H A Diperf_tcp.c170 struct addrinfo hints, *res; in iperf_tcp_listen() local
177 memset(&hints, 0, sizeof(hints)); in iperf_tcp_listen()
185 hints.ai_family = AF_INET6; in iperf_tcp_listen()
188 hints.ai_family = test->settings->domain; in iperf_tcp_listen()
190 hints.ai_socktype = SOCK_STREAM; in iperf_tcp_listen()
191 hints.ai_flags = AI_PASSIVE; in iperf_tcp_listen()
192 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_tcp_listen()