/external/android-clat/ |
D | dump.c | 42 char addrstr[INET6_ADDRSTRLEN]; in dump_ip() local 66 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); in dump_ip() 67 printf("saddr = %s\n",addrstr); in dump_ip() 68 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); in dump_ip() 69 printf("daddr = %s\n",addrstr); in dump_ip() 74 char addrstr[INET6_ADDRSTRLEN]; in dump_ip6() local 84 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6() 85 printf("source = %s\n",addrstr); in dump_ip6() 87 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6() 88 printf("dest = %s\n",addrstr); in dump_ip6()
|
D | clatd.c | 185 char addrstr[INET_ADDRSTRLEN]; in configure_tun_ip() local 186 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip() 187 logmsg(ANDROID_LOG_INFO, "Using IPv4 address %s on %s", addrstr, tunnel->device4); in configure_tun_ip() 270 char addrstr[INET6_ADDRSTRLEN]; in update_clat_ipv6_address() local 288 inet_ntop(AF_INET6, &interface_ip->ip6, addrstr, sizeof(addrstr)); in update_clat_ipv6_address() 292 logmsg(ANDROID_LOG_INFO, "Using IPv6 address %s on %s", addrstr, interface); in update_clat_ipv6_address() 297 logmsg(ANDROID_LOG_INFO, "clat IPv6 address changed from %s to %s", from_addr, addrstr); in update_clat_ipv6_address()
|
/external/bluetooth/bluedroid/test/bluedroidtest/ |
D | bluedroidtest.c | 190 char addrstr[10] = {0}; in hex_dump() local 203 snprintf(addrstr, sizeof(addrstr), "%.4x", in hex_dump() 222 bdt_log("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr); in hex_dump() 235 bdt_log("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr); in hex_dump()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_cfg.c | 1871 char addrstr[IP_MAX]; local 1896 addrstr, IP_MAX); 1898 addrstr[0] = '\0'; 1900 if (script_env_append(envp, envc, "INTERNAL_ADDR4", addrstr) != 0) { 1917 addrstr, IP_MAX); 1919 addrstr[0] = '\0'; 1926 if (script_env_append(envp, envc, "INTERNAL_MASK4", addrstr) != 0) { 1931 if (script_env_append(envp, envc, "INTERNAL_NETMASK4", addrstr) != 0) { 1951 addrstr, IP_MAX); 1957 addrstr[0] = '\0'; [all …]
|
D | isakmp.c | 3049 char addrstr[IP_MAX]; local 3067 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3070 if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) { 3083 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3087 "REMOTE_ADDR", addrstr) != 0) {
|
/external/iptables/extensions/ |
D | libip6t_rt.c | 72 parse_addresses(const char *addrstr, struct in6_addr *addrp) in parse_addresses() argument 77 buffer = strdup(addrstr); in parse_addresses()
|
/external/libnl/lib/ |
D | addr.c | 245 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() argument 251 str = strdup(addrstr); in nl_addr_parse()
|