/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/ |
handlers.c | 756 * 2: Address type (either "AF_INET" or "AF_INET6") 790 addr_type = info->h_addrtype == AF_INET ? "AF_INET" : "AF_INET6"; 799 if (info->h_addrtype == AF_INET) { 817 if (info->h_addrtype == AF_INET) { 858 addr.sin_family = AF_INET; 862 int sock = socket(AF_INET, SOCK_STREAM, 0);
|
/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) 203 af = AF_INET; 353 req.r.rtm_family = AF_INET; 399 af = AF_INET; 444 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/tcpdump/ |
print-pgm.c | 256 nla_af = AF_INET; 303 nla_af = AF_INET; 385 source_af = AF_INET; 409 group_af = AF_INET; 607 nla_af = AF_INET;
|
print-esp.c | 209 if (inet_pton(AF_INET, spikey, &sin->sin_addr) == 1) { 213 sin->sin_family = AF_INET; 440 sin->sin_family == AF_INET &&
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 240 sockfd = socket(AF_INET, SOCK_DGRAM, 0); 332 case AF_INET: 366 sinptr->sin_family = AF_INET; 380 sinptr->sin_family = AF_INET; 399 sinptr->sin_family = AF_INET; 586 sin->sin_family = AF_INET; 599 sin->sin_family = 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:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
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_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/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);
|
/external/android-clat/ |
getaddr.c | 70 if(targ_p->family == AF_INET) {
|
netlink_msg.c | 35 * family - AF_INET or AF_INET6 38 if(family == AF_INET) {
|
/external/chromium/net/base/ |
net_util_win.cc | 112 if (family == AF_INET || family == AF_INET6) {
|
/external/chromium-libpac/src/ |
net_util.cc | 30 int mode = AF_INET;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 50 hints.ai_family = AF_INET;
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
s_cb.c | 793 case AF_INET: 817 case AF_INET: 874 case AF_INET: 898 case 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;
|
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.h | 82 # define AF_DNSSD AF_INET
|
/external/openssl/apps/ |
s_cb.c | 793 case AF_INET: 817 case AF_INET: 874 case AF_INET: 898 case AF_INET:
|
/external/wpa_supplicant_8/src/ap/ |
iapp.c | 202 addr.sin_family = AF_INET; 426 if (paddr->sin_family != AF_INET) { 440 if (paddr->sin_family != AF_INET) { 449 uaddr.sin_family = AF_INET;
|
vlan_init.c | 49 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { 50 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 119 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { 120 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 170 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { 171 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 217 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { 218 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) " 253 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { 254 wpa_printf(MSG_ERROR, "VLAN: %s: socket(AF_INET,SOCK_STREAM) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
RtpStream.cpp | 57 uint16_t *p = (ss.ss_family == AF_INET) ?
|
/bionic/libc/netbsd/ |
gethnamaddr.c | 506 hp = gethostbyname_internal(name, AF_INET, res, NULL, 0); 638 case AF_INET: 839 af = AF_INET; 843 case AF_INET: 939 } else if (inet_pton(AF_INET, p, (char *)(void *)rs->host_addr) > 0) { 949 af = AF_INET; 1010 hp = _gethtbyname2(name, AF_INET); 1176 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) 1265 case AF_INET: 1331 case AF_INET [all...] |