/external/lldb/include/lldb/Host/ |
D | SocketAddress.h | 37 SocketAddress (const struct sockaddr_in &s); 56 operator=(const struct sockaddr_in &s); 150 struct sockaddr_in & 151 sockaddr_in () in sockaddr_in() function 156 const struct sockaddr_in & 157 sockaddr_in () const in sockaddr_in() function 206 operator struct sockaddr_in * () 211 operator const struct sockaddr_in * () const 241 struct sockaddr_in sa_ipv4;
|
/external/chromium_org/net/base/ |
D | address_list_unittest.cc | 20 struct sockaddr_in address; in TEST() 50 struct sockaddr_in* addr = in TEST() 51 reinterpret_cast<struct sockaddr_in*>(storage[i].addr); in TEST() 52 storage[i].addr_len = sizeof(struct sockaddr_in); in TEST() 101 sizeof(struct sockaddr_in), in TEST() 102 offsetof(struct sockaddr_in, sin_addr), in TEST() 115 sizeof(struct sockaddr_in), in TEST() 116 offsetof(struct sockaddr_in, sin_addr), in TEST()
|
D | ip_endpoint.cc | 20 const socklen_t kSockaddrInSize = sizeof(struct sockaddr_in); 62 struct sockaddr_in* addr = reinterpret_cast<struct sockaddr_in*>(address); in ToSockAddr() 63 memset(addr, 0, sizeof(struct sockaddr_in)); in ToSockAddr()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.h | 53 struct sockaddr_in src; 65 struct sockaddr_in cli; // client's source address 95 struct sockaddr_in cli; // clien'ts source address 123 struct sockaddr_in addr; // the address we will bind to 124 struct sockaddr_in llq_addr; // the address we will receive llq requests on. 125 struct sockaddr_in ns_addr; // the real ns server address
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 232 struct sockaddr_in *sinptr; in get_ifi_info() 340 sinptr = (struct sockaddr_in *) &ifr->ifr_addr; in get_ifi_info() 342 ifi->ifi_addr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info() 346 memcpy(ifi->ifi_addr, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info() 366 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info() 368 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_addr; in get_ifi_info() 371 sinptr->sin_len = sizeof(struct sockaddr_in); in get_ifi_info() 374 memcpy(ifi->ifi_netmask, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info() 382 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_broadaddr; in get_ifi_info() 385 sinptr->sin_len = sizeof( struct sockaddr_in ); in get_ifi_info() [all …]
|
/external/srtp/include/ |
D | rtp.h | 77 struct sockaddr_in addr, unsigned int ssrc); 81 struct sockaddr_in addr, unsigned int ssrc); 89 struct sockaddr_in name, /* socket name */ 96 struct sockaddr_in name, /* socket name */
|
D | rtp_priv.h | 63 struct sockaddr_in addr; /* reciever's address */ 70 struct sockaddr_in addr; /* receiver's address */
|
/external/chromium_org/third_party/libsrtp/srtp/include/ |
D | rtp.h | 77 struct sockaddr_in addr, unsigned int ssrc); 81 struct sockaddr_in addr, unsigned int ssrc); 89 struct sockaddr_in name, /* socket name */ 96 struct sockaddr_in name, /* socket name */
|
D | rtp_priv.h | 63 struct sockaddr_in addr; /* reciever's address */ 70 struct sockaddr_in addr; /* receiver's address */
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | host_resolver_test.cc | 57 sockaddr_in fake_addr; in AddFakeAddress() 89 struct sockaddr_in* in; in TEST_F() 103 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 112 struct sockaddr_in* in; in TEST_F() 122 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 131 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 146 struct sockaddr_in* in; in TEST_F() 165 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 192 struct sockaddr_in* in; in TEST_F() 213 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() [all …]
|
/external/iputils/ |
D | rdisc.c | 87 static int join(int sock, struct sockaddr_in *sin); 88 static void solicitor(struct sockaddr_in *); 90 static void advertise(struct sockaddr_in *, int lft); 93 static void pr_pack(char *buf, int cc, struct sockaddr_in *from); 101 static int sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interfac… 174 struct sockaddr_in whereto;/* Address to send to */ 222 static __inline__ int isbroadcast(struct sockaddr_in *sin) in isbroadcast() 227 static __inline__ int ismulticast(struct sockaddr_in *sin) in ismulticast() 288 struct sockaddr_in from; in main() [all …]
|
D | clockdiff.c | 104 struct sockaddr_in server; 126 measure(struct sockaddr_in * addr) in measure() 153 length = sizeof(struct sockaddr_in); in measure() 170 length = sizeof(struct sockaddr_in); in measure() 201 (struct sockaddr *)addr, sizeof(struct sockaddr_in)); in measure() 303 measure_opt(struct sockaddr_in * addr) in measure_opt() 329 length = sizeof(struct sockaddr_in); in measure_opt() 346 length = sizeof(struct sockaddr_in); in measure_opt() 379 (struct sockaddr *)addr, sizeof(struct sockaddr_in)); in measure_opt() 625 struct sockaddr_in myaddr; in main()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | socket_test.cc | 39 void IP4ToSockAddr(uint32_t ip, uint16_t port, struct sockaddr_in* addr) { in IP4ToSockAddr() 75 sockaddr_in addr; in Bind() 232 sockaddr_in addr; in TEST_F() 248 EXPECT_EQ(sizeof(sockaddr_in), addrlen); in TEST_F() 266 sockaddr_in addr; in TEST_F() 267 sockaddr_in addr2; in TEST_F() 296 EXPECT_EQ(sizeof(sockaddr_in), addrlen); in TEST_F() 311 sockaddr_in addr; in TEST_F() 341 sockaddr_in addr; in TEST_F() 371 sockaddr_in addr; in TEST_F() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_network.c | 114 struct sockaddr_in sa; in u_socket_connect() 117 memset(&sa, 0, sizeof(struct sockaddr_in)); in u_socket_connect() 147 struct sockaddr_in sa; in u_socket_listen_on_port() 148 memset(&sa, 0, sizeof(struct sockaddr_in)); in u_socket_listen_on_port() 157 if (bind(s, (struct sockaddr *)&sa, sizeof(struct sockaddr_in)) == -1) { in u_socket_listen_on_port()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_network.c | 114 struct sockaddr_in sa; in u_socket_connect() 117 memset(&sa, 0, sizeof(struct sockaddr_in)); in u_socket_connect() 147 struct sockaddr_in sa; in u_socket_listen_on_port() 148 memset(&sa, 0, sizeof(struct sockaddr_in)); in u_socket_listen_on_port() 157 if (bind(s, (struct sockaddr *)&sa, sizeof(struct sockaddr_in)) == -1) { in u_socket_listen_on_port()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
D | sctp6_var.h | 42 extern void in6_sin6_2_sin(struct sockaddr_in *, struct sockaddr_in6 *sin6); 76 extern void in6_sin_2_v4mapsin6(struct sockaddr_in *sin, 78 extern void in6_sin6_2_sin(struct sockaddr_in *, struct sockaddr_in6 *sin6);
|
/external/netperf/ |
D | nettest_xti.c | 536 struct sockaddr_in server; in send_xti_tcp_stream() 823 server_call.addr.maxlen = sizeof(struct sockaddr_in); in send_xti_tcp_stream() 824 server_call.addr.len = sizeof(struct sockaddr_in); in send_xti_tcp_stream() 1245 struct sockaddr_in myaddr_in, peeraddr_in; in recv_xti_tcp_stream() 1379 bind_req.addr.maxlen = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() 1380 bind_req.addr.len = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() 1384 bind_resp.addr.maxlen = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() 1385 bind_resp.addr.len = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() 1480 call_req.addr.maxlen = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() 1481 call_req.addr.len = sizeof(struct sockaddr_in); in recv_xti_tcp_stream() [all …]
|
/external/dhcpcd/ |
D | ifaddrs.c | 38 struct sockaddr_in *saddr = NULL; in get_interface() 39 struct sockaddr_in *smask = NULL; in get_interface() 63 saddr = malloc(sizeof(struct sockaddr_in)); in get_interface() 71 smask = malloc(sizeof(struct sockaddr_in)); in get_interface()
|
/external/libpcap/tests/ |
D | findalldevstest.c | 75 inet_ntoa(((struct sockaddr_in *)(a->addr))->sin_addr)); in ifprint() 78 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); in ifprint() 81 inet_ntoa(((struct sockaddr_in *)(a->broadaddr))->sin_addr)); in ifprint() 84 inet_ntoa(((struct sockaddr_in *)(a->dstaddr))->sin_addr)); in ifprint()
|
/external/qemu/slirp/ |
D | udp.h | 101 int udp_output _P((struct socket *, struct mbuf *, struct sockaddr_in *)); 106 struct sockaddr_in *saddr, struct sockaddr_in *daddr,
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 119 ifa->ifa_addr = (struct sockaddr *)malloc(sizeof(struct sockaddr_in)); in sctp_handle_ifamsg() 120 memcpy(ifa->ifa_addr, sa, sizeof(struct sockaddr_in)); in sctp_handle_ifamsg() 205 struct sockaddr_in *sa; 245 sa = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in)); 286 struct sockaddr_in src, dst; in recv_function_raw() 294 struct sockaddr_in from; in recv_function_raw() 307 bzero((void *)&src, sizeof(struct sockaddr_in)); in recv_function_raw() 308 bzero((void *)&dst, sizeof(struct sockaddr_in)); in recv_function_raw() 331 fromlen = sizeof(struct sockaddr_in); in recv_function_raw() 332 bzero((void *)&from, sizeof(struct sockaddr_in)); in recv_function_raw() [all …]
|
/external/valgrind/main/none/tests/ |
D | fdleak_ipv4.c | 16 struct sockaddr_in baddr; in server() 17 struct sockaddr_in addr; in server() 42 struct sockaddr_in addr; in client()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 106 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 107 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 160 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 161 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 162 port1 = ((struct sockaddr_in *)addr1)->sin_port; 163 port2 = ((struct sockaddr_in *)addr2)->sin_port; 225 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 226 sa2 = (caddr_t)&((struct sockaddr_in *)addr2)->sin_addr; 227 port1 = ((struct sockaddr_in *)addr1)->sin_port; 228 port2 = ((struct sockaddr_in *)addr2)->sin_port; [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | socketaddress.cc | 262 void SocketAddress::ToSockAddr(sockaddr_in* saddr) const { in ToSockAddr() 277 bool SocketAddress::FromSockAddr(const sockaddr_in& saddr) { in FromSockAddr() 297 sockaddr_in* saddr = reinterpret_cast<sockaddr_in*>(addr); in ToSockAddrStorageHelper() 300 return sizeof(sockaddr_in); in ToSockAddrStorageHelper() 360 const sockaddr_in* saddr = reinterpret_cast<const sockaddr_in*>(&addr); in SocketAddressFromSockAddrStorage()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | socketaddress.cc | 279 void SocketAddress::ToSockAddr(sockaddr_in* saddr) const { in ToSockAddr() 294 bool SocketAddress::FromSockAddr(const sockaddr_in& saddr) { in FromSockAddr() 314 sockaddr_in* saddr = reinterpret_cast<sockaddr_in*>(addr); in ToSockAddrStorageHelper() 317 return sizeof(sockaddr_in); in ToSockAddrStorageHelper() 377 const sockaddr_in* saddr = reinterpret_cast<const sockaddr_in*>(&addr); in SocketAddressFromSockAddrStorage()
|