Home
last modified time | relevance | path

Searched refs:addr4 (Results 1 – 25 of 48) sorted by relevance

12

/external/ipsec-tools/src/racoon/
Dprsa_tok.l51 addr4 {octet}\.{octet}\.{octet}\.{octet}
55 addr6 (::({word6}|{addr4})?|({word6}:)+:?({word6}|{addr4})?)
84 {addr4} { prsalval.chr = strdup(prsatext); return ADDR4; }
Dprsa_par.y151 %type <naddr> addr4 addr6 addr
226 addr4
234 addr4:
Disakmp_unity.c293 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);
Disakmp_unity.h59 struct in_addr addr4; member
Dracoonctl.c1431 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));
Disakmp_cfg.c393 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,
Disakmp_cfg.h157 struct in_addr addr4; /* IPv4 address */ member
/external/webrtc/webrtc/base/
Dipaddress_unittest.cc345 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 …]
Dsocketaddress_unittest.cc279 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()
Dsocket_unittest.cc894 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/
Dahost.c71 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()
Dares_private.h119 struct in_addr addr4; member
123 #define addrV4 addr.addr4
227 struct in_addr addr4; member
232 struct in_addr addr4; member
Dares_getnameinfo.c68 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()
Dadig.c257 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/
DdeSocket.c336 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/
Dspdy_event_loop.c73 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/
Dcache.c780 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()
Ddhcp.c944 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()
Dforward.c70 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()
Drfc1035.c814 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/
Dsetup.c609 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/
Dtranslate.c92 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/
DSkPathOpsOp.cpp398 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/
Dtest_new_connection.c846 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/
DPathOpsExtendedTest.cpp219 uint32_t* addr4 = bits.getAddr32(bitWidth, y + 1); in pathsDrawTheSame() local
225 && addr2[x] != addr4[x] && addr2[x + 1] != addr4[x + 1]; in pathsDrawTheSame()

12