/external/curl/tests/server/ |
H A D | server_sockaddr.h | 32 struct sockaddr_in sa4; member in union:__anon3558
|
H A D | sockfilt.c | 1242 memset(&listener.sa4, 0, sizeof(listener.sa4)); 1243 listener.sa4.sin_family = AF_INET; 1244 listener.sa4.sin_addr.s_addr = INADDR_ANY; 1245 listener.sa4.sin_port = htons(*listenport); 1246 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); 1273 la_size = sizeof(localaddr.sa4); 1288 *listenport = ntohs(localaddr.sa4.sin_port); 1477 memset(&me.sa4, 0, sizeof(me.sa4)); [all...] |
H A D | tftpd.c | 648 fromaddrlen = sizeof(fromaddr.sa4); 788 memset(&me.sa4, 0, sizeof(me.sa4)); 789 me.sa4.sin_family = AF_INET; 790 me.sa4.sin_addr.s_addr = INADDR_ANY; 791 me.sa4.sin_port = htons(port); 792 rc = bind(sock, &me.sa, sizeof(me.sa4)); 824 fromlen = sizeof(from.sa4); 845 from.sa4.sin_family = AF_INET; 852 if(connect(peer, &from.sa, sizeof(from.sa4)) < [all...] |
H A D | sws.c | 1333 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4)); 1334 serveraddr.sa4.sin_family = AF_INET; 1335 serveraddr.sa4.sin_port = htons(port); 1336 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { 1342 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4)); 2119 memset(&me.sa4, 0, sizeof(me.sa4)); 2120 me.sa4.sin_family = AF_INET; 2121 me.sa4 [all...] |
H A D | rtspd.c | 1303 memset(&me.sa4, 0, sizeof(me.sa4)); 1304 me.sa4.sin_family = AF_INET; 1305 me.sa4.sin_addr.s_addr = INADDR_ANY; 1306 me.sa4.sin_port = htons(port); 1307 rc = bind(sock, &me.sa, sizeof(me.sa4));
|
/external/autotest/client/tests/ipv6connect/src/ |
H A D | ipv6connect.c | 70 struct sockaddr_in sa4; local 76 memset(&sa4, 0, sizeof(sa4)); 77 sa4.sin_family = AF_INET; 78 inet_pton(AF_INET, "127.0.0.1", &sa4.sin_addr); 79 sa4.sin_port = port; 80 if (connect(client_fd, (struct sockaddr*)(&sa4), 173 struct sockaddr_in sa4; local 179 memset(&sa4, 0, sizeof(sa4)); 312 struct sockaddr_in sa4; local [all...] |
/external/c-ares/ |
H A D | ares_process.c | 438 struct sockaddr_in sa4; member in union:__anon812 477 fromlen = sizeof(from.sa4); 875 struct sockaddr_in sa4; member in union:__anon813 912 memset(&local.sa4, 0, sizeof(local.sa4)); 913 local.sa4.sin_family = AF_INET; 914 local.sa4.sin_addr.s_addr = htonl(channel->local_ip4); 915 if (bind(s, &local.sa, sizeof(local.sa4)) < 0) 938 struct sockaddr_in sa4; member in union:__anon814 946 sa = (void *)&saddr.sa4; 1030 struct sockaddr_in sa4; member in union:__anon815 [all...] |
/external/skia/tests/ |
H A D | GrAllocatorTest.cpp | 89 GrSTAllocator<4, C> sa4; local 90 allocators.push_back(&sa4);
|
/external/fdlibm/ |
H A D | s_erf.c | 167 sa4 = 6.45387271733267880336e+02, /* 0x40842B19, 0x21EC2868 */ variable 232 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*( 293 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(
|
/external/curl/lib/ |
H A D | hostip.c | 168 const struct sockaddr_in *sa4; local 177 sa4 = (const void *)ai->ai_addr; 178 ipaddr4 = &sa4->sin_addr;
|
H A D | ftp.c | 992 struct sockaddr_in * const sa4 = (void *)sa; local 1125 Curl_inet_ntop(sa->sa_family, &sa4->sin_addr, hbuf, sizeof(hbuf)); 1178 sa4->sin_port = htons(port); 1269 port = ntohs(sa4->sin_port);
|
/external/mdnsresponder/mDNSShared/ |
H A D | dnssd_clientshim.c | 722 struct sockaddr_in sa4; local 724 mDNSPlatformMemZero(&sa4, sizeof(sa4)); 727 sa4.sin_family = AF_INET; 728 mDNSPlatformMemCopy(&sa4.sin_addr.s_addr, inRData, 4); 732 (const struct sockaddr *) &sa4, inTTL, x->context);
|
H A D | DebugServices.c | 2852 struct sockaddr_in sa4; local 2854 memset( &sa4, 0, sizeof( sa4 ) ); 2855 sa4.sin_family = AF_INET; 2856 p = (uint8_t *) &sa4.sin_port; 2859 p = (uint8_t *) &sa4.sin_addr.s_addr; 2864 DebugSNPrintF( s, sizeof( s ), "%##a", &sa4 );
|
H A D | dnssd_clientstub.c | 1266 struct sockaddr_in sa4; local 1268 const struct sockaddr *const sa = (rrtype == kDNSServiceType_A) ? (struct sockaddr*)&sa4 : (struct sockaddr*)&sa6; 1271 memset(&sa4, 0, sizeof(sa4)); 1273 sa4.sin_len = sizeof(struct sockaddr_in); 1275 sa4.sin_family = AF_INET; 1277 if (!cbh->cb_err) memcpy(&sa4.sin_addr, rdata, rdlen);
|