Lines Matching refs:conn_addr
102 do_test(int lfd, struct sockaddr_in *conn_addr,
117 if (connect(connfd, (struct sockaddr *)conn_addr,
217 struct sockaddr_in conn_addr;
228 memset(&conn_addr, 0, sizeof(struct sockaddr_in));
229 conn_addr.sin_family = AF_INET;
230 conn_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
231 conn_addr.sin_port = htons(port_num);
235 do_test(lfd, &conn_addr, 0, 0);
236 do_test(lfd, &conn_addr, SOCK_CLOEXEC, 0);
237 do_test(lfd, &conn_addr, 0, SOCK_NONBLOCK);
238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK);