/external/ipsec-tools/src/racoon/ |
D | prsa_tok.l | 51 addr4 {octet}\.{octet}\.{octet}\.{octet} 55 addr6 (::({word6}|{addr4})?|({word6}:)+:?({word6}|{addr4})?) 84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
|
D | prsa_par.y | 151 %type <naddr> addr4 addr6 addr 226 addr4 234 addr4:
|
D | isakmp_unity.c | 293 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 372 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40); 391 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
|
D | isakmp_unity.h | 59 struct in_addr addr4; member
|
D | racoonctl.c | 1431 struct in_addr addr4; local 1433 memset(&addr4, 0, sizeof(addr4)); 1462 if (ntohs(attr->lorv) < sizeof(addr4)) { 1466 memcpy(&addr4, attr + 1, sizeof(addr4)); 1491 printf("Bound to address %s\n", inet_ntoa(addr4));
|
D | isakmp_cfg.c | 393 isakmp_cfg_getaddr4(attr, &iph1->mode_cfg->addr4); 783 in_addr_t addr4; local 820 && (iph1->mode_cfg->addr4.s_addr != htonl(-2))) 839 iph1->mode_cfg->addr4.s_addr = 854 attr, &iph1->mode_cfg->addr4.s_addr); 1544 RAD_FRAMED_IP_ADDRESS, iph1->mode_cfg->addr4) != 0) { 1552 RAD_LOGIN_IP_HOST, iph1->mode_cfg->addr4) != 0) { 1849 if((uint32_t)tmp.addr4.s_addr == 0) 1852 inet_ntop(AF_INET, &tmp.addr4, dest + p, IP_MAX); 1899 inet_ntop(AF_INET, &iph1->mode_cfg->addr4,
|
D | isakmp_cfg.h | 157 struct in_addr addr4; /* IPv4 address */ member
|
/external/webrtc/webrtc/base/ |
D | ipaddress_unittest.cc | 345 IPAddress addr4(kIPv6PublicAddr); in TEST() local 349 EXPECT_TRUE(addr4 == addr4); in TEST() 351 EXPECT_TRUE(addr4 == addr6); in TEST() 352 EXPECT_TRUE(addr6 == addr4); in TEST() 353 EXPECT_FALSE(addr4 == addr5); in TEST() 354 EXPECT_FALSE(addr5 == addr4); in TEST() 359 EXPECT_FALSE(addr == addr4); in TEST() 362 EXPECT_FALSE(addr4 == addr); in TEST() 365 EXPECT_FALSE(addr2 == addr4); in TEST() 368 EXPECT_FALSE(addr4 == addr2); in TEST() [all …]
|
D | socketaddress_unittest.cc | 279 SocketAddress addr4("b.b.c.d", 1); in TEST() local 280 EXPECT_PRED2(AreUnequal, addr3, addr4); in TEST() 284 addr4.SetIP(addr1.ip()); in TEST() 285 EXPECT_PRED2(AreEqual,addr3, addr4); in TEST() 321 SocketAddress addr4("b.b.c.d", 1); in TEST() local 322 EXPECT_PRED2(IsLessThan, addr3, addr4); in TEST()
|
D | socket_unittest.cc | 894 SocketAddress addr4; in UdpInternal() local 896 EXPECT_TRUE(client1->CheckNextPacket("foo", 3, &addr4)); in UdpInternal() 897 EXPECT_EQ(addr4.ipaddr(), addr2.ipaddr()); in UdpInternal() 900 EXPECT_EQ(6, client1->SendTo("bizbaz", 6, addr4)); in UdpInternal() 904 addr2 = addr4; in UdpInternal()
|
/external/c-ares/ |
D | ahost.c | 71 struct in_addr addr4; in main() local 126 if (ares_inet_pton(AF_INET, *argv, &addr4) == 1) in main() 128 ares_gethostbyaddr(channel, &addr4, sizeof(addr4), AF_INET, callback, in main()
|
D | ares_private.h | 119 struct in_addr addr4; member 123 #define addrV4 addr.addr4 227 struct in_addr addr4; member 232 struct in_addr addr4; member
|
D | ares_getnameinfo.c | 68 struct sockaddr_in addr4; member 191 memcpy(&niquery->addr.addr4, addr, sizeof(struct in_addr)); in ares_getnameinfo() 222 service = lookup_service(niquery->addr.addr4.sin_port, in nameinfo_callback() 257 ares_inet_ntop(AF_INET, &niquery->addr.addr4.sin_addr, ipbuf, in nameinfo_callback() 272 service = lookup_service(niquery->addr.addr4.sin_port, in nameinfo_callback()
|
D | adig.c | 257 if (ares_inet_pton(AF_INET, optarg, &srvr->addr.addr4) > 0) in main() 274 memcpy(&srvr->addr.addr4, hostent->h_addr, in main() 275 sizeof(srvr->addr.addr4)); in main()
|
/external/deqp/framework/delibs/deutil/ |
D | deSocket.c | 336 struct sockaddr_in* addr4 = (struct sockaddr_in*)bsdAddr; in deSocketAddressToBsdAddress() local 344 addr4->sin_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress() 345 addr4->sin_family = AF_INET; in deSocketAddressToBsdAddress() 346 addr4->sin_addr.s_addr = INADDR_ANY; in deSocketAddressToBsdAddress() 378 const struct sockaddr_in* addr4 = (const struct sockaddr_in*)bsdAddr; in deBsdAddressToSocketAddress() local 383 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr4->sin_port)); in deBsdAddressToSocketAddress() 387 inet_ntop(AF_INET, (void*)&addr4->sin_addr, buf, sizeof(buf)); in deBsdAddressToSocketAddress()
|
/external/libmicrohttpd/src/examples/ |
D | spdy_event_loop.c | 73 struct sockaddr_in * addr4 = (struct sockaddr_in *) addr; in new_session_callback() local 74 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) in new_session_callback() 79 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); in new_session_callback()
|
/external/dnsmasq/src/ |
D | cache.c | 780 domain_suffix = get_domain(addr.addr.addr4); in read_hostsfile() 789 if ((addr.addr.addr4.s_addr = inet_addr(token)) != (in_addr_t) -1) in read_hostsfile() 793 domain_suffix = get_domain(addr.addr.addr4); in read_hostsfile() 1048 if (crec->addr.addr.addr.addr4.s_addr != host_address->s_addr) in cache_add_dhcp_entry() 1050 strcpy(daemon->namebuff, inet_ntoa(crec->addr.addr.addr.addr4)); in cache_add_dhcp_entry() 1094 crec->addr.addr.addr.addr4 = *host_address; in cache_add_dhcp_entry() 1188 a = inet_ntoa(cache->addr.addr.addr.addr4); in dump_cache() 1252 strncpy(addrbuff, inet_ntoa(addr->addr.addr4), ADDRSTRLEN); in log_query()
|
D | dhcp.c | 944 config->hostname, inet_ntoa(crec->addr.addr.addr.addr4)); in dhcp_update_configs() 947 if (config_find_by_address(configs, crec->addr.addr.addr.addr4)) in dhcp_update_configs() 949 inet_ntoa(crec->addr.addr.addr.addr4), config->hostname); in dhcp_update_configs() 952 config->addr = crec->addr.addr.addr.addr4; in dhcp_update_configs()
|
D | forward.c | 70 pkt->ipi_spec_dst = source->addr.addr4; in send_from() 76 *a = source->addr.addr4; in send_from() 654 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query() 662 dst_addr_4 = dst_addr.addr.addr4 = *((struct in_addr *)CMSG_DATA(cmptr)); in receive_query()
|
D | rfc1035.c | 814 private_net(addr.addr.addr4)) in extract_addresses() 1238 if (addr.addr.addr4.s_addr == get_ifaddr(intr->intr).s_addr) in answer_request() 1307 private_net(addr.addr.addr4)) in answer_request() 1333 if (qtype == T_A && (addr.addr.addr4.s_addr = inet_addr(name)) != (in_addr_t) -1) in answer_request() 1360 if ((addr.addr.addr4 = get_ifaddr(intr->intr)).s_addr == (in_addr_t) -1) in answer_request()
|
/external/ipsec-tools/ |
D | setup.c | 609 struct sockaddr *addr4 = str2saddr(get_env(envp, "INTERNAL_ADDR4"), in privsep_script_exec() local 616 if (addr4 && local && remote) { in privsep_script_exec() 622 spdadd(addr4, NULL, IPPROTO_IP, local, remote); in privsep_script_exec() 628 racoon_free(addr4); in privsep_script_exec()
|
/external/android-clat/ |
D | translate.c | 92 struct in6_addr ipv4_addr_to_ipv6_addr(uint32_t addr4) { in ipv4_addr_to_ipv6_addr() argument 96 if (addr4 == Global_Clatd_Config.ipv4_local_subnet.s_addr) { in ipv4_addr_to_ipv6_addr() 101 addr6.s6_addr32[3] = addr4; in ipv4_addr_to_ipv6_addr()
|
/external/skia/src/pathops/ |
D | SkPathOpsOp.cpp | 398 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in debug_paths_draw_the_same() local 404 && addr2[x] != addr4[x] && addr2[x + 1] != addr4[x + 1]; in debug_paths_draw_the_same()
|
/external/libmicrohttpd/src/testspdy/ |
D | test_new_connection.c | 846 struct sockaddr_in * addr4 = (struct sockaddr_in *) addr; in new_session_callback() local 847 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) in new_session_callback() 851 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); in new_session_callback()
|
/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 219 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in pathsDrawTheSame() local 225 && addr2[x] != addr4[x] && addr2[x + 1] != addr4[x + 1]; in pathsDrawTheSame()
|