Lines Matching refs:connect_addr
81 struct sockaddr_in connect_addr; in evutil_socketpair()
115 size = sizeof(connect_addr); in evutil_socketpair()
116 if (getsockname(listener, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_socketpair()
118 if (size != sizeof (connect_addr)) in evutil_socketpair()
120 if (connect(connector, (struct sockaddr *) &connect_addr, in evutil_socketpair()
121 sizeof(connect_addr)) == -1) in evutil_socketpair()
133 if (getsockname(connector, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_socketpair()
135 if (size != sizeof (connect_addr) in evutil_socketpair()
136 || listen_addr.sin_family != connect_addr.sin_family in evutil_socketpair()
137 || listen_addr.sin_addr.s_addr != connect_addr.sin_addr.s_addr in evutil_socketpair()
138 || listen_addr.sin_port != connect_addr.sin_port) in evutil_socketpair()