HomeSort by relevance Sort by last modified time
    Searched refs:AF_INET (Results 176 - 200 of 515) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
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)
test_socket.py 21 def try_address(host, port=0, family=socket.AF_INET):
50 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
61 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
173 self.cli = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
187 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
250 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
279 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
318 socket.AF_INET
473 from socket import inet_aton as f, inet_pton, AF_INET
474 g = lambda a: inet_pton(AF_INET, a
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
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)
test_socket.py 21 def try_address(host, port=0, family=socket.AF_INET):
50 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
61 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
173 self.cli = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
187 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
250 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
279 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
318 socket.AF_INET
473 from socket import inet_aton as f, inet_pton, AF_INET
474 g = lambda a: inet_pton(AF_INET, a
    [all...]
  /external/dhcpcd/
if-bsd.c 105 if ((socket_afnet = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
169 _s.sin->sin_family = AF_INET; \
217 su.sin.sin_family = AF_INET; \
397 if (sa->sa_family != AF_INET)
433 case AF_INET:
  /external/iproute2/ip/
iprule.c 66 if (r->rtm_family == AF_INET)
216 af = AF_INET;
373 req.r.rtm_family = AF_INET;
419 af = AF_INET;
464 case AF_INET:
iptunnel.c 318 p->iph.daddr ? format_host(AF_INET, 4, &p->iph.daddr, s1, sizeof(s1)) : "any",
319 p->iph.saddr ? rt_addr_n2a(AF_INET, 4, &p->iph.saddr, s2, sizeof(s2)) : "any");
335 format_host(AF_INET, 4, &prl[i].addr, s1, sizeof(s1)));
370 format_host(AF_INET, 4, &ip6rd.relay_prefix, s1, sizeof(s1)),
573 if (get_prefix(&prefix, *argv, AF_INET))
602 preferred_family = AF_INET;
604 case AF_INET:
  /external/libvncserver/libvncclient/
sockets.c 311 addr.sin_family = AF_INET;
315 sock = socket(AF_INET, SOCK_STREAM, 0);
443 addr.sin_family = AF_INET;
449 sock = socket(AF_INET, SOCK_STREAM, 0);
493 addr.sin_family = AF_INET;
504 sock = socket(AF_INET, SOCK_STREAM, 0);
673 case AF_INET:
  /external/mdnsresponder/mDNSPosix/
mDNSUNP.c 247 sockfd = socket(AF_INET, SOCK_DGRAM, 0);
339 case AF_INET:
373 sinptr->sin_family = AF_INET;
387 sinptr->sin_family = AF_INET;
406 sinptr->sin_family = AF_INET;
593 sin->sin_family = AF_INET;
606 sin->sin_family = AF_INET;
  /external/tcpdump/
print-pgm.c 262 nla_af = AF_INET;
309 nla_af = AF_INET;
391 source_af = AF_INET;
415 group_af = AF_INET;
618 nla_af = AF_INET;
749 nla_af = AF_INET;
782 nla_af = AF_INET;
  /external/ppp/pppd/
sys-solaris.c 300 fd = socket(AF_INET, SOCK_DGRAM, 0);
393 fd = socket(AF_INET, SOCK_DGRAM, 0);
    [all...]
  /external/ipsec-tools/src/racoon/
grabmyaddr.c 170 if (m->ifa_family != AF_INET &&
193 if (m->ifa_family == AF_INET) {
250 fd = socket(AF_INET, SOCK_DGRAM, 0);
356 if (ifap->ifa_addr->sa_family != AF_INET
487 case AF_INET:
562 case AF_INET:
  /external/toybox/toys/other/
ifconfig.c 59 // Convert hostname to binary address for AF_INET or AF_INET6
91 if (slash) len = atolx_range(slash+1, 0, (af == AF_INET) ? 32 : 128);
132 ifre.ifr_addr.sa_family = AF_INET;
150 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" :
346 TT.sockfd = xsocket(AF_INET, SOCK_DGRAM, 0);
492 si->sin_family = AF_INET;
495 else mask = get_addrinfo(*argv, AF_INET, &si->sin_addr);
  /external/toybox/toys/pending/
netstat.c 239 if (af == AF_INET) sock_len = sizeof(struct sockaddr_in);
281 addr2str(AF_INET, &laddr, lport, lip, label);
282 addr2str(AF_INET, &raddr, rport, rip, label);
548 if (inet_ntop(AF_INET, &dest, toybuf, sizeof(toybuf)) ) destip = xstrdup(toybuf);
554 if (inet_ntop(AF_INET, &gate, toybuf, sizeof(toybuf)) ) gateip = xstrdup(toybuf);
560 if (inet_ntop(AF_INET, &mask, toybuf, sizeof(toybuf)) ) maskip = xstrdup(toybuf);
  /external/boringssl/src/crypto/bio/
bio_test.cc 74 int listening_sock = socket(AF_INET, SOCK_STREAM, 0);
83 sin.sin_family = AF_INET;
84 if (!inet_pton(AF_INET, "127.0.0.1", &sin.sin_addr)) {
  /external/dnsmasq/src/
util.c 256 if (s1->sa.sa_family == AF_INET &&
331 if (addr->sa.sa_family == AF_INET)
333 inet_ntop(AF_INET, &addr->in.sin_addr, buf, ADDRSTRLEN);
  /frameworks/base/core/java/android/net/
VpnService.java 19 import static android.system.OsConstants.AF_INET;
583 * {@code family} must be either {@code AF_INET} (for IPv4) or {@code AF_INET6} (for IPv6).
586 * @param family The address family ({@code AF_INET} or {@code AF_INET6}) to allow.
591 if (family == AF_INET) {
596 throw new IllegalArgumentException(family + " is neither " + AF_INET + " nor " +
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/net/
inet_pton.c 51 case AF_INET:
  /external/android-clat/
getaddr.c 70 if(targ_p->family == AF_INET) {
netlink_msg.c 36 * family - AF_INET or AF_INET6
39 if(family == AF_INET) {
setif.c 34 * family - address family (AF_INET, AF_INET6)
36 * prefixlen - bitlength of network (example: 24 for AF_INET's 255.255.255.0)
37 * broadcast - broadcast address (only for AF_INET, ignored for AF_INET6)
76 } else if(family == AF_INET) {
77 // AF_INET gets IFA_LOCAL + IFA_BROADCAST
  /external/chromium-libpac/src/
net_util.cc 31 int mode = AF_INET;
  /external/iputils/
tracepath.c 172 inet_ntop(AF_INET, &sin->sin_addr, abuf, sizeof(abuf));
181 h = gethostbyaddr((char *) &sin->sin_addr, sizeof(sin->sin_addr), AF_INET);
356 fd = socket(AF_INET, SOCK_DGRAM, 0);
361 target.sin_family = AF_INET;

Completed in 1109 milliseconds

1 2 3 4 5 6 78 91011>>