Home
last modified time | relevance | path

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

/external/ltp/testcases/network/netstress/
Dnetstress.c121 static struct addrinfo *remote_addrinfo; variable
229 int cfd = SAFE_SOCKET(remote_addrinfo->ai_family, in client_connect_send()
230 remote_addrinfo->ai_socktype, 0); in client_connect_send()
237 remote_addrinfo->ai_addr, remote_addrinfo->ai_addrlen); in client_connect_send()
240 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
241 remote_addrinfo->ai_addrlen); in client_connect_send()
362 int err = getaddrinfo(server_addr, tcp_port, &hints, &remote_addrinfo); in client_init()
369 (remote_addrinfo->ai_family == AF_INET6) ? "6" : "4"); in client_init()
413 if (remote_addrinfo) in client_cleanup()
414 freeaddrinfo(remote_addrinfo); in client_cleanup()