/system/core/toolbox/ |
ifconfig.c | 31 sin->sin_family = AF_INET; 79 if((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
|
netstat.c | 107 addr2str(AF_INET, &laddr, lport, lip); 108 addr2str(AF_INET, &raddr, rport, rip);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ssl.py | 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 67 s = socket.socket(socket.AF_INET) 170 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 173 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 178 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 187 s = socket.socket(socket.AF_INET) 197 s = socket.socket(socket.AF_INET) 211 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 220 s = ssl.wrap_socket(socket.socket(socket.AF_INET), [all...] |
test_asyncore.py | 324 self.assertEqual(family, socket.AF_INET) 357 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 372 d.create_socket(socket.AF_INET, socket.SOCK_STREAM) 476 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 499 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 540 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 673 s.create_socket(socket.AF_INET, socket.SOCK_STREAM) 674 self.assertEqual(s.socket.family, socket.AF_INET) 679 s1.create_socket(socket.AF_INET, socket.SOCK_STREAM) 685 s2.create_socket(socket.AF_INET, socket.SOCK_STREAM [all...] |
test_timeout.py | 17 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 102 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 167 self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ssl.py | 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 67 s = socket.socket(socket.AF_INET) 170 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 173 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 178 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 187 s = socket.socket(socket.AF_INET) 197 s = socket.socket(socket.AF_INET) 211 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 220 s = ssl.wrap_socket(socket.socket(socket.AF_INET), [all...] |
test_asyncore.py | 324 self.assertEqual(family, socket.AF_INET) 357 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 372 d.create_socket(socket.AF_INET, socket.SOCK_STREAM) 476 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 499 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 540 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 673 s.create_socket(socket.AF_INET, socket.SOCK_STREAM) 674 self.assertEqual(s.socket.family, socket.AF_INET) 679 s1.create_socket(socket.AF_INET, socket.SOCK_STREAM) 685 s2.create_socket(socket.AF_INET, socket.SOCK_STREAM [all...] |
test_timeout.py | 17 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 102 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 167 self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
/external/android-clat/ |
setif.c | 31 * family - address family (AF_INET, AF_INET6) 33 * prefixlen - bitlength of network (example: 24 for AF_INET's 255.255.255.0) 34 * broadcast - broadcast address (only for AF_INET, ignored for AF_INET6) 73 } else if(family == AF_INET) { 74 // AF_INET gets IFA_LOCAL + IFA_BROADCAST
|
/external/chromium/third_party/libjingle/source/talk/base/ |
socketaddress.cc | 271 buf[1] = AF_INET; 278 if (len < static_cast<int>(Size_()) || buf[1] != AF_INET) 287 saddr->sin_family = AF_INET; 297 if (saddr.sin_family != AF_INET)
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
inet_pton.c | 138 if (af == AF_INET) {
|
/external/chromium_org/remoting/client/plugin/ |
pepper_util.cc | 22 case AF_INET: {
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
fakenetwork.h | 106 if (it->ipaddr().family() == AF_INET) {
|
winping.cc | 146 if (family == AF_INET) { 202 rlen_ = ReplySize(dlen_, AF_INET); 259 if (ip.family() == AF_INET) {
|
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
HTTPTLSConnection.py | 23 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
/external/iproute2/ip/ |
ipmaddr.c | 136 m.addr.family = AF_INET; 208 case AF_INET: 270 if (!filter.family || filter.family == AF_INET) 317 fd = socket(AF_INET, SOCK_DGRAM, 0);
|
link_gre.c | 285 remote = format_host(AF_INET, 4, &addr, s1, sizeof(s1)); 294 local = format_host(AF_INET, 4, &addr, s1, sizeof(s1)); 335 inet_ntop(AF_INET, RTA_DATA(tb[IFLA_GRE_IKEY]), s2, sizeof(s2)); 340 inet_ntop(AF_INET, RTA_DATA(tb[IFLA_GRE_OKEY]), s2, sizeof(s2));
|
/hardware/broadcom/wlan/bcmdhd/bcmdhd_net_iface/ |
bcmdhd_net_iface.c | 32 state.sock = socket(AF_INET, SOCK_DGRAM, 0);
|
/system/core/adb/ |
test_track_devices.c | 62 server.sin_family = AF_INET;
|
test_track_jdwp.c | 62 server.sin_family = AF_INET;
|
/external/chromium/net/base/ |
address_list.cc | 62 ai->ai_family = AF_INET; 69 addr->sin_family = AF_INET; 206 DCHECK_EQ(AF_INET, ai->ai_family);
|
address_list_unittest.cc | 137 ai.ai_family = AF_INET; 209 good_ai->ai_socktype == AF_INET ? sizeof(struct sockaddr_in) : 251 good_ai->ai_socktype == AF_INET ? sizeof(struct sockaddr_in) :
|
/external/dnsmasq/contrib/wrt/ |
dhcp_release.c | 202 req.g.rtgen_family = AF_INET; 228 if (ifa->ifa_index == index && ifa->ifa_family == AF_INET) 319 dest.sin_family = AF_INET;
|
/external/dnsmasq/src/ |
netlink.c | 131 int family = AF_INET; 178 if (family == AF_INET && ipv6_callback) 192 if (ifa->ifa_family == AF_INET)
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 42 sin.sin_family = AF_INET; 53 if (ss.ss_family == AF_INET) { 121 if (ss.ss_family != AF_INET && ss.ss_family != AF_INET6 && ss.ss_family != AF_UNIX) {
|