/external/cronet/net/base/ |
D | ip_endpoint.cc | 148 bool IPEndPoint::FromSockAddr(const struct sockaddr* sock_addr, in FromSockAddr() argument 150 DCHECK(sock_addr); in FromSockAddr() 151 switch (sock_addr->sa_family) { in FromSockAddr() 156 reinterpret_cast<const struct sockaddr_in*>(sock_addr); in FromSockAddr() 167 reinterpret_cast<const struct sockaddr_in6*>(sock_addr); in FromSockAddr() 179 reinterpret_cast<const SOCKADDR_BTH*>(sock_addr); in FromSockAddr()
|
D | network_interfaces_linux.cc | 140 sockaddr_storage sock_addr; in GetNetworkListImpl() local 145 .ToSockAddr(reinterpret_cast<sockaddr*>(&sock_addr), &sock_len)) { in GetNetworkListImpl() 150 if (IsLoopbackOrUnspecifiedAddress(reinterpret_cast<sockaddr*>(&sock_addr))) in GetNetworkListImpl()
|
/external/webrtc/rtc_base/ |
D | mac_ifaddrs_converter.cc | 183 const sockaddr* sock_addr, 210 const sockaddr* sock_addr, in GetIPAttributes() argument 218 memcpy(&ifr.ifr_ifru.ifru_addr, sock_addr, sock_addr->sa_len); in GetIPAttributes()
|
D | virtual_socket_server.cc | 845 SocketAddress sock_addr = in LookupBinding() local 847 sock_addr.SetPort(addr.port()); in LookupBinding() 848 return LookupBinding(sock_addr); in LookupBinding()
|
/external/parameter-framework/asio-1.10.6/include/asio/generic/detail/impl/ |
D | endpoint.ipp | 36 endpoint::endpoint(const void* sock_addr, 39 init(sock_addr, sock_addr_size, sock_protocol); 83 void endpoint::init(const void* sock_addr, 94 memcpy(&data_.generic, sock_addr, sock_addr_size);
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 82 let sock_addr = SockaddrIn::from_str("127.0.0.1:6790").unwrap(); in test_timestamping() localVariable 99 nix::sys::socket::bind(rsock, &sock_addr).unwrap(); in test_timestamping() 110 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap(); in test_timestamping() 306 let sock_addr = SockaddrIn::from(std_sa); in test_std_conversions() localVariable 307 assert_eq!(std_sa, sock_addr.into()); in test_std_conversions() 310 let sock_addr: SockaddrIn6 = SockaddrIn6::from(std_sa); in test_std_conversions() localVariable 311 assert_eq!(std_sa, sock_addr.into()); in test_std_conversions() 370 let sock_addr = SockaddrIn::from(std_sa); in udp() localVariable 378 bind(rsock, &sock_addr).unwrap(); in udp() 389 move |s, m, flags| sendto(s, m, &sock_addr, flags), in udp() [all …]
|
D | test_sockopt.rs | 102 let sock_addr = SockaddrIn::from(std_sa); in test_so_tcp_maxseg() localVariable 111 bind(rsock, &sock_addr).unwrap(); in test_so_tcp_maxseg() 135 connect(ssock, &sock_addr).unwrap(); in test_so_tcp_maxseg()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/ |
D | local_security_connector.cc | 85 grpc_sockaddr* sock_addr = reinterpret_cast<grpc_sockaddr*>(&addr->addr); in local_check_peer() local 90 } else if (type == LOCAL_TCP && sock_addr->sa_family == GRPC_AF_INET) { in local_check_peer() 92 reinterpret_cast<const grpc_sockaddr_in*>(sock_addr); in local_check_peer() 97 } else if (type == LOCAL_TCP && sock_addr->sa_family == GRPC_AF_INET6) { in local_check_peer()
|
/external/parameter-framework/asio-1.10.6/include/asio/generic/detail/ |
D | endpoint.hpp | 34 ASIO_DECL endpoint(const void* sock_addr, 116 ASIO_DECL void init(const void* sock_addr,
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | xds_server_config_fetcher.cc | 89 const grpc_sockaddr* sock_addr = in IsLoopbackIp() local 91 if (sock_addr->sa_family == GRPC_AF_INET) { in IsLoopbackIp() 93 reinterpret_cast<const grpc_sockaddr_in*>(sock_addr); in IsLoopbackIp() 97 } else if (sock_addr->sa_family == GRPC_AF_INET6) { in IsLoopbackIp() 99 reinterpret_cast<const grpc_sockaddr_in6*>(sock_addr); in IsLoopbackIp()
|
/external/cronet/components/nacl/browser/ |
D | nacl_process_host.cc | 673 sockaddr_in sock_addr; in GetDebugStubSocketHandle() local 674 socklen_t sock_addr_size = sizeof(sock_addr); in GetDebugStubSocketHandle() 675 if (getsockname(s, reinterpret_cast<struct sockaddr*>(&sock_addr), in GetDebugStubSocketHandle() 677 sock_addr_size != sizeof(sock_addr)) { in GetDebugStubSocketHandle() 682 port = base::NetToHost16(sock_addr.sin_port); in GetDebugStubSocketHandle()
|
/external/python/cpython2/Modules/ |
D | socketmodule.h | 97 typedef union sock_addr { union
|
/external/cronet/net/socket/ |
D | udp_socket_posix.cc | 770 SockaddrStorage sock_addr; in InternalRecvFromConnectedSocket() local 772 remote_address_->ToSockAddr(sock_addr.addr, &sock_addr.addr_len); in InternalRecvFromConnectedSocket() 774 LogRead(result, buf->data(), sock_addr.addr_len, sock_addr.addr); in InternalRecvFromConnectedSocket()
|
/external/python/cpython3/Modules/ |
D | socketmodule.h | 229 typedef union sock_addr { union
|
/external/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 3039 let sock_addr = in linux_loopback() localVariable 3041 assert_eq!(sock_addr.family(), Some(AddressFamily::Packet)); in linux_loopback() 3042 match sock_addr.as_link_addr() { in linux_loopback() 3055 let sock_addr = in macos_loopback() localVariable 3057 assert_eq!(sock_addr.family(), Some(AddressFamily::Link)); in macos_loopback() 3058 match sock_addr.as_link_addr() { in macos_loopback() 3077 let sock_addr = in macos_tap() localVariable 3079 assert_eq!(sock_addr.family(), Some(AddressFamily::Link)); in macos_tap() 3080 match sock_addr.as_link_addr() { in macos_tap() 3099 let sock_addr = _sock_addr.unwrap(); in illumos_tap() localVariable [all …]
|
D | mod.rs | 1832 let sock_addr = SockaddrIn::from_str("127.0.0.1:6790").unwrap(); localVariable 1848 crate::sys::socket::bind(rsock, &sock_addr)?; 1872 sendmsg(ssock, &iov1, &[], flags, Some(&sock_addr)).unwrap();
|
/external/openthread/tools/otci/otci/ |
D | otci.py | 2259 _, sock_addr, peer_addr = line.strip().split('|')[:3] 2260 sock_addr = self.__parse_socket_addr(sock_addr.strip()) 2262 socks.append((sock_addr, peer_addr))
|