Searched refs:connect_addr (Results 1 – 10 of 10) sorted by relevance
/external/cronet/third_party/libevent/ |
D | evutil.c | 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() [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 314 local connect_addr="$3" 317 if is_v6 "${connect_addr}"; then 322 ip netns exec ${connector_ns} ping ${ping_args} $connect_addr >/dev/null 324 echo "$listener_ns -> $connect_addr connectivity [ FAIL ]" 1>&2 371 local connect_addr="$5" 401 addr_port=$(printf "%s:%d" ${connect_addr} ${port}) 412 …e="${rndh}-${connector_ns:0:3}-${listener_ns:0:3}-${cl_proto}-${srv_proto}-${connect_addr}-${port}" 449 $extra_args $connect_addr < "$cin" > "$cout" & 590 local connect_addr="$3" 601 if ! $ipv6 && is_v6 "${connect_addr}"; then [all …]
|
D | mptcp_sockopt.sh | 163 connect_addr="$5" 173 if is_v6 "${connect_addr}"; then 190 $connect_addr < "$cin" > "$cout" & 269 connect_addr="$3" 272 do_transfer ${listener_ns} ${connector_ns} MPTCP MPTCP ${connect_addr}
|
D | mptcp_join.sh | 212 connect_addr="$3" 214 ip netns exec ${connector_ns} ping -q -c 1 $connect_addr >/dev/null 216 echo "$listener_ns -> $connect_addr connectivity [ FAIL ]" 1>&2 287 connect_addr="$5" 331 if is_v6 "${connect_addr}"; then 356 $connect_addr < "$cin" > "$cout" & 363 $connect_addr > "$cout" & 376 if is_v6 "${connect_addr}"; then 405 ip netns exec ${listener_ns} ./pm_nl_ctl del 0 ${connect_addr} 424 if is_v6 "${connect_addr}"; then [all …]
|
D | simult_flows.sh | 140 addr_port=$(printf "%s:%d" ${connect_addr} ${port})
|
/external/libevent/ |
D | evutil.c | 231 struct sockaddr_in connect_addr; in evutil_ersatz_socketpair_() local 267 memset(&connect_addr, 0, sizeof(connect_addr)); in evutil_ersatz_socketpair_() 270 size = sizeof(connect_addr); in evutil_ersatz_socketpair_() 271 if (getsockname(listener, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_ersatz_socketpair_() 273 if (size != sizeof (connect_addr)) in evutil_ersatz_socketpair_() 275 if (connect(connector, (struct sockaddr *) &connect_addr, in evutil_ersatz_socketpair_() 276 sizeof(connect_addr)) == -1) in evutil_ersatz_socketpair_() 287 if (getsockname(connector, (struct sockaddr *) &connect_addr, &size) == -1) in evutil_ersatz_socketpair_() 289 if (size != sizeof (connect_addr) in evutil_ersatz_socketpair_() 290 || listen_addr.sin_family != connect_addr.sin_family in evutil_ersatz_socketpair_() [all …]
|
/external/rust/crates/tokio/src/net/tcp/ |
D | stream.rs | 121 match TcpStream::connect_addr(addr).await { 136 async fn connect_addr(addr: SocketAddr) -> io::Result<TcpStream> {
|
/external/webrtc/rtc_base/ |
D | physical_socket_server.h | 177 int DoConnect(const SocketAddress& connect_addr);
|
D | physical_socket_server.cc | 263 int PhysicalSocket::DoConnect(const SocketAddress& connect_addr) { in DoConnect() argument 264 if ((s_ == INVALID_SOCKET) && !Create(connect_addr.family(), SOCK_STREAM)) { in DoConnect() 268 size_t len = connect_addr.ToSockAddrStorage(&addr_storage); in DoConnect()
|
/external/trace-cmd/tracecmd/ |
D | trace-record.c | 3150 static int connect_addr(struct addrinfo *results) in connect_addr() function 3187 sfd = connect_addr(results); in connect_port() 3361 fd = connect_addr(result); in create_recorder_instance() 3667 sfd = connect_addr(result); in connect_ip() 4076 sd = connect_addr(ctx->instance->result); in connect_to_agent()
|