Searched refs:addrstr (Results 1 – 8 of 8) sorted by relevance
/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 | 149 char addrstr[INET_ADDRSTRLEN]; in configure_tun_ip() local 150 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip() 151 logmsg(ANDROID_LOG_INFO, "Using IPv4 address %s on %s", addrstr, tunnel->device4); in configure_tun_ip() 231 char addrstr[INET6_ADDRSTRLEN]; in update_clat_ipv6_address() local 249 inet_ntop(AF_INET6, &interface_ip->ip6, addrstr, sizeof(addrstr)); in update_clat_ipv6_address() 253 logmsg(ANDROID_LOG_INFO, "Using IPv6 address %s on %s", addrstr, interface); in update_clat_ipv6_address() 258 logmsg(ANDROID_LOG_INFO, "clat IPv6 address changed from %s to %s", from_addr, addrstr); in update_clat_ipv6_address()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_cfg.c | 1875 char addrstr[IP_MAX]; local 1900 addrstr, IP_MAX); 1902 addrstr[0] = '\0'; 1904 if (script_env_append(envp, envc, "INTERNAL_ADDR4", addrstr) != 0) { 1921 addrstr, IP_MAX); 1923 addrstr[0] = '\0'; 1930 if (script_env_append(envp, envc, "INTERNAL_MASK4", addrstr) != 0) { 1935 if (script_env_append(envp, envc, "INTERNAL_NETMASK4", addrstr) != 0) { 1955 addrstr, IP_MAX); 1961 addrstr[0] = '\0'; [all …]
|
D | isakmp.c | 3048 char addrstr[IP_MAX]; local 3066 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3069 if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) { 3082 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3086 "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/dnsmasq/src/ |
D | util.c | 329 int parse_addr(int family, const char *addrstr, union mysockaddr *addr) in parse_addr() argument 337 int ret = getaddrinfo(addrstr, NULL, &hints, &res); in parse_addr()
|
D | dnsmasq.h | 745 int parse_addr(int family, const char *addrstr, union mysockaddr *addr);
|
/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()
|