Home
last modified time | relevance | path

Searched refs:addrstr (Results 1 – 8 of 8) sorted by relevance

/external/android-clat/
Ddump.c42 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()
Dclatd.c149 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/
Disakmp_cfg.c1875 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 …]
Disakmp.c3048 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/
Dlibip6t_rt.c72 parse_addresses(const char *addrstr, struct in6_addr *addrp) in parse_addresses() argument
77 buffer = strdup(addrstr); in parse_addresses()
/external/dnsmasq/src/
Dutil.c329 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()
Ddnsmasq.h745 int parse_addr(int family, const char *addrstr, union mysockaddr *addr);
/external/libnl/lib/
Daddr.c245 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()