/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) { 1845 if((uint32_t)tmp.addr4.s_addr == 0) 1848 inet_ntop(AF_INET, &tmp.addr4, dest + p, IP_MAX); 1895 inet_ntop(AF_INET, &iph1->mode_cfg->addr4,
|
D | isakmp_cfg.h | 157 struct in_addr addr4; /* IPv4 address */ member
|
D | isakmp_xauth.c | 532 iph1->mode_cfg->addr4 = rad_cvt_addr(data); 963 iph1->mode_cfg->addr4.s_addr = inet_addr(tmpaddr);
|
D | handler.c | 1062 if (sin->sin_addr.s_addr == p->mode_cfg->addr4.s_addr)
|
D | cfparse.y | 989 if (inet_pton(AF_INET, $1->v, &network.addr4) != 1)
|
/external/android-clat/ |
D | translate.c | 100 struct in6_addr ipv4_addr_to_ipv6_addr(uint32_t addr4) { in ipv4_addr_to_ipv6_addr() argument 104 if (addr4 == Global_Clatd_Config.ipv4_local_subnet.s_addr) { in ipv4_addr_to_ipv6_addr() 109 addr6.s6_addr32[3] = addr4; in ipv4_addr_to_ipv6_addr()
|
/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() 1251 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() 642 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query() 650 dst_addr_4 = dst_addr.addr.addr4 = *((struct in_addr *)CMSG_DATA(cmptr)); in receive_query()
|
D | rfc1035.c | 812 private_net(addr.addr.addr4)) in extract_addresses() 1236 if (addr.addr.addr4.s_addr == get_ifaddr(intr->intr).s_addr) in answer_request() 1305 private_net(addr.addr.addr4)) in answer_request() 1331 if (qtype == T_A && (addr.addr.addr4.s_addr = inet_addr(name)) != (in_addr_t) -1) in answer_request() 1358 if ((addr.addr.addr4 = get_ifaddr(intr->intr)).s_addr == (in_addr_t) -1) in answer_request()
|
D | dnsmasq.h | 202 struct in_addr addr4; member
|
D | network.c | 100 tmp->addr.in.sin_addr.s_addr == addr->addr.addr4.s_addr) in iface_check()
|
/external/ipsec-tools/ |
D | setup.c | 600 struct sockaddr *addr4 = str2saddr(get_env(envp, "INTERNAL_ADDR4"), in privsep_script_exec() local 607 if (addr4 && local && remote) { in privsep_script_exec() 613 spdadd(addr4, NULL, IPPROTO_IP, local, remote); in privsep_script_exec() 619 racoon_free(addr4); in privsep_script_exec()
|
/external/checkpolicy/ |
D | checkpolicy.c | 907 struct in_addr addr4; in main() local 927 p = (char *)&addr4; in main() 928 len = sizeof(addr4); in main()
|
/external/chromium/net/base/ |
D | net_util_unittest.cc | 417 struct sockaddr_in* addr4 = &static_addr4; in GetIPv4Address() local 418 memset(addr4, 0, sizeof(static_addr4)); in GetIPv4Address() 419 addr4->sin_port = htons(port); in GetIPv4Address() 420 addr4->sin_family = ai->ai_family; in GetIPv4Address() 421 memcpy(&addr4->sin_addr, bytes, 4); in GetIPv4Address() 423 ai->ai_addr = (sockaddr*)addr4; in GetIPv4Address()
|