/external/chromium/net/base/ |
net_util_posix.cc | 71 if (family == AF_INET || family == AF_INET6) {
|
host_resolver_proc.cc | 28 case AF_INET: { 146 hints.ai_family = AF_INET;
|
/external/chromium_org/third_party/tlslite/tlslite/integration/ |
IMAP4_TLS.py | 127 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
/external/openssh/openbsd-compat/ |
bindresvport.c | 76 if (af == AF_INET) {
|
/libcore/luni/src/main/java/java/net/ |
Inet4Address.java | 52 super(AF_INET, ipaddress, hostName);
|
/frameworks/base/services/jni/ |
com_android_server_connectivity_Vpn.cpp | 123 ifr4.ifr_addr.sa_family = AF_INET; 124 ifr4.ifr_netmask.sa_family = AF_INET; 153 if (inet_pton(AF_INET, address, as_in_addr(&ifr4.ifr_addr)) != 1 || 201 rt4.rt_dst.sa_family = AF_INET; 202 rt4.rt_genmask.sa_family = AF_INET; 241 if (inet_pton(AF_INET, address, as_in_addr(&rt4.rt_dst)) != 1 || 441 inet4 = socket(AF_INET, SOCK_DGRAM, 0);
|
/external/chromium_org/net/ftp/ |
ftp_network_transaction_unittest.cc | 784 if (GetFamily() == AF_INET) { 812 ctrl_socket->set_use_epsv((GetFamily() != AF_INET)); 924 EXPECT_EQ((GetFamily() == AF_INET) ? "127.0.0.1" : "::1", [all...] |
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 105 case AF_INET: 159 case AF_INET: 224 case AF_INET: 304 int level = (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6; 305 int option = (family == AF_INET) ? IP_IPSEC_POLICY : IPV6_IPSEC_POLICY; 459 if (ss.ss_family == AF_INET 467 sin->sin_family = AF_INET; 495 if (ss.ss_family == AF_INET 502 sin->sin_family = AF_INET; 630 case AF_INET [all...] |
/external/iproute2/lib/ |
utils.c | 70 if (!get_addr_1(&addr, arg, AF_INET) && addr.family == AF_INET) { 318 addr->family = AF_INET; 319 if (family != AF_UNSPEC && family != AF_INET) 363 case AF_INET: 411 if (get_addr_1(&addr, name, AF_INET)) { 526 case AF_INET: 565 af = AF_INET; 608 case AF_INET:
|
/external/dnsmasq/src/ |
forward.c | 65 if (to->sa.sa_family == AF_INET) 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 139 if (serv->addr.sa.sa_family == AF_INET) 159 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 170 if (serv->addr.sa.sa_family == AF_INET) 316 !(forward->rfd4 = allocate_rfd(AF_INET))) 338 if (start->addr.sa.sa_family == AF_INET) 594 if (listen->family == AF_INET && (daemon->options & OPT_NOWILD)) 638 if (listen->family == AF_INET) 646 if (listen->family == AF_INET) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
natsocketfactory.cc | 47 if (family == AF_INET) { 70 if (family == AF_INET) { 330 return CreateSocket(AF_INET, type); 338 return CreateAsyncSocket(AF_INET, type); 376 return CreateSocket(AF_INET, type); 384 return CreateAsyncSocket(AF_INET, type);
|
sslsocketfactory.cc | 119 return CreateSocket(AF_INET, type); 127 return CreateAsyncSocket(AF_INET, type);
|
/external/chromium_org/tools/android/forwarder2/ |
socket.cc | 28 return family == AF_INET || family == AF_INET6; 74 family_(AF_INET), 151 family_ = AF_INET; 158 if (family_ == AF_INET) { 183 if (family_ == AF_INET) { 267 case AF_INET:
|
/external/iputils/ |
tracepath6.c | 152 case AF_INET: 223 case AF_INET: 336 case AF_INET: 455 ai->ai_family != AF_INET) 506 case AF_INET: 549 case AF_INET:
|
rdisc.c | 422 to->sin_family = AF_INET; 426 joinaddr.sin_family = AF_INET; 434 if ((s = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP)) < 0) { 704 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET); 874 sin.sin_family = AF_INET; 1019 baddr.sin_family = AF_INET; 1112 sock = socket(AF_INET, SOCK_DGRAM, 0); 1160 if (ifr->ifr_addr.sa_family != AF_INET) 1267 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); [all...] |
/external/libppp/src/ |
ncp.c | 98 ncp->afq = AF_INET; 180 case AF_INET: 194 if (ncprange_family(&addr->ifa) == AF_INET) 228 case AF_INET: 352 if (*af == AF_INET) { 359 *af = AF_INET;
|
/external/ppp/pppd/ |
sys-linux.c | 314 sock_fd = socket(AF_INET, SOCK_DGRAM, 0); [all...] |
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 114 #define AF_INET 2 146 #define PF_INET AF_INET
|
/device/generic/goldfish/libqemu/ |
test_host_1.c | 62 int sock = socket(AF_INET, type, 0); 68 addr.sin_family = AF_INET;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
host_resolver.cc | 105 hostent_.h_addrtype = AF_INET; 130 if (AF_INET == hostent_.h_addrtype) {
|
/external/chromium_org/net/dns/ |
host_resolver_proc.cc | 29 case AF_INET: { 135 hints.ai_family = AF_INET;
|
/external/chromium_org/net/udp/ |
udp_socket_libevent.cc | 48 ifr.ifr_addr.sa_family = AF_INET; 267 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; 542 if (addr_family_ == AF_INET) { 556 if (addr_family_ == AF_INET) { 571 case AF_INET: { 637 if (addr_family_ != AF_INET) 684 if (addr_family_ != AF_INET) 750 if (addr_family_ == AF_INET) {
|
/external/chromium_org/tools/measure_page_load_time/ie_bho/ |
MeasurePageLoadTimeBHO.cpp | 106 m_sockListen = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 118 addrBind.sin_family = AF_INET;
|
/external/dropbear/ |
fake-rfc2553.c | 38 * that ai_family is AF_INET. Don't use it for another purpose. 68 sizeof(struct in_addr), AF_INET); 132 ai->ai_addr->sa_family = ai->ai_family = AF_INET;
|
/external/iproute2/ip/ |
ip.c | 180 preferred_family = AF_INET; 194 preferred_family = AF_INET;
|