Home
last modified time | relevance | path

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

/external/ltp/testcases/network/netstress/
Dnetstress.c123 static struct addrinfo *remote_addrinfo; variable
330 remote_addrinfo->ai_addr, remote_addrinfo->ai_addrlen); in client_connect_send()
334 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
335 remote_addrinfo->ai_addrlen); in client_connect_send()
475 setup_addrinfo(server_addr, tcp_port, &hints, &remote_addrinfo); in client_init()
478 (remote_addrinfo->ai_family == AF_INET6) ? "6" : "4"); in client_init()
480 family = remote_addrinfo->ai_family; in client_init()
530 if (remote_addrinfo) in client_cleanup()
531 freeaddrinfo(remote_addrinfo); in client_cleanup()