/frameworks/base/services/common_time/ |
diag_thread.cpp | 97 if ((listen_fd_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) { 108 addr.sin_family = AF_INET;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
socket.h | 160 #define AF_INET 2 /* Internet IP Protocol */ 195 #define PF_INET AF_INET
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 160 #define AF_INET 2 /* Internet IP Protocol */ 195 #define PF_INET AF_INET
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 160 #define AF_INET 2 /* Internet IP Protocol */ 195 #define PF_INET AF_INET
|
/system/core/toolbox/ |
iftop.c | 75 s = socket(AF_INET, SOCK_DGRAM, 0); 82 ifr.ifr_addr.sa_family = AF_INET;
|
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
b_sock.c | 154 if ((short)he->h_addrtype != AF_INET) 701 hint.ai_family = AF_INET; 721 server.sa_in.sin_family=AF_INET; 782 if (client.sa.sa_family == AF_INET) 924 if (sa.from.sa.sa_family != AF_INET) goto end;
|
/external/iproute2/misc/ |
ss.c | 111 .families= (1<<AF_INET)|(1<<AF_INET6), 646 if (a->family == AF_INET) { 651 ap = format_host(AF_INET, 4, a->data, buf, sizeof(buf)); 679 if (p->family == AF_INET && a->family == AF_INET6) { 938 if (he->h_addrtype == AF_INET) 975 he = gethostbyname2(addr, fam == AF_UNSPEC ? AF_INET : fam); 1092 fam = AF_INET; 1199 if (family == AF_INET) { 1434 if (s.local.family == AF_INET) { [all...] |
/external/iputils/ |
rarpd.c | 96 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { 125 if (ifrp->ifr_addr.sa_family != AF_INET) 314 if (hp->h_addrtype != AF_INET) { 401 fd = socket(AF_INET, SOCK_DGRAM, 0); 405 sin->sin_family = AF_INET;
|
/external/openssl/crypto/bio/ |
b_sock.c | 154 if ((short)he->h_addrtype != AF_INET) 701 hint.ai_family = AF_INET; 721 server.sa_in.sin_family=AF_INET; 782 if (client.sa.sa_family == AF_INET) 924 if (sa.from.sa.sa_family != AF_INET) goto end;
|
/external/qemu/slirp/ |
misc.c | 279 addr.sin_family = AF_INET; 283 if ((s = socket(AF_INET, SOCK_STREAM, 0)) < 0 || 316 s = socket(AF_INET, SOCK_STREAM, 0); 435 s = socket(AF_INET, SOCK_STREAM, 0); 438 sock_in.sin_family = AF_INET;
|
/external/chromium/net/socket/ |
transport_client_socket_pool_unittest.cc | 74 if (addrlist_.head()->ai_family == AF_INET) 198 if (addrlist_.head()->ai_family == AF_INET) 418 EXPECT_EQ(AF_INET, ai->ai_family); 420 EXPECT_EQ(AF_INET, ai->ai_family); 440 EXPECT_EQ(AF_INET, ai->ai_family); 442 EXPECT_EQ(AF_INET, ai->ai_family); 456 EXPECT_EQ(AF_INET, ai->ai_family); 460 EXPECT_EQ(AF_INET, ai->ai_family); 472 EXPECT_EQ(AF_INET, ai->ai_family); 474 EXPECT_EQ(AF_INET, ai->ai_family) [all...] |
tcp_server_socket_libevent.cc | 61 socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
tcp_server_socket_win.cc | 49 socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | 114 case AF_INET: 176 sin->sin_family = AF_INET; 621 if (intfAddr->sa_family == AF_INET) *sktPtr = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); 627 if (*sktPtr < 0) { err = errno; perror((intfAddr->sa_family == AF_INET) ? "socket AF_INET" : "socket AF_INET6"); } 643 if (intfAddr->sa_family == AF_INET) 711 bindAddr.sin_family = AF_INET; 717 } // endif (intfAddr->sa_family == AF_INET) 879 if (alias->multicastSocket4 == -1 && intfAddr->sa_family == AF_INET) 916 struct ifi_info *intfList = get_ifi_info(AF_INET, mDNStrue) [all...] |
/external/libppp/src/ |
iface.c | 171 if (sa[RTAX_IFA] && (sa[RTAX_IFA]->sa_family == AF_INET 218 case AF_INET: 230 peer4->sin_family = AF_INET; 303 case AF_INET: 315 peer4->sin_family = AF_INET; 389 case AF_INET: 685 case AF_INET:
|
server.c | 119 case AF_INET: 167 case AF_INET: 336 sin->sin_family = AF_INET;
|
/system/core/libnetutils/ |
ifc_utils.c | 121 ifc_ctl_sock = socket(AF_INET, SOCK_DGRAM, 0); 220 sin->sin_family = AF_INET; 281 if (ss.ss_family == AF_INET) { 513 rt.rt_dst.sa_family = AF_INET; 889 } else if (addr_ai->ai_family == AF_INET) { 895 ((addr_ai->ai_family == AF_INET) && (prefix_length < 0 || prefix_length > 32))) { 920 } else if (addr_ai->ai_family == AF_INET) {
|
/external/libpcap/ |
inet.c | 616 fd = socket(AF_INET, SOCK_DGRAM, 0); 625 ifr.ifr_addr.sa_family = AF_INET; 776 if(if_addrs[i].IPAddress.ss_family == AF_INET)
|
/external/ppp/pppd/plugins/radius/ |
sendserver.c | 235 sockfd = socket (AF_INET, SOCK_DGRAM, 0); 246 sin->sin_family = AF_INET; 290 sin->sin_family = AF_INET;
|
/external/v8/src/ |
platform-posix.cc | 361 socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 405 addr.sin_family = AF_INET; 448 hints.ai_family = AF_INET;
|
/bionic/libc/upstream-netbsd/libc/inet/ |
inet_ntop.c | 76 case AF_INET:
|
inet_pton.c | 77 case AF_INET:
|
/external/chromium/net/websockets/ |
websocket_throttle.cc | 25 case AF_INET: {
|
/external/chromium/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 156 result = getipnodebyname(hostname, AF_INET, AI_DEFAULT, herrno);
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
device_id_linux.cc | 108 int sd = socket(AF_INET, SOCK_DGRAM, 0);
|