/external/android-clat/ |
D | dump.c | 43 char addrstr[INET6_ADDRSTRLEN]; in dump_ip() local 67 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); in dump_ip() 68 printf("saddr = %s\n", addrstr); in dump_ip() 69 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); in dump_ip() 70 printf("daddr = %s\n", addrstr); in dump_ip() 75 char addrstr[INET6_ADDRSTRLEN]; in dump_ip6() local 85 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6() 86 printf("source = %s\n", addrstr); in dump_ip6() 88 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6() 89 printf("dest = %s\n", addrstr); in dump_ip6()
|
D | clatd.c | 160 char addrstr[INET_ADDRSTRLEN]; in configure_tun_ip() local 161 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip() 162 logmsg(ANDROID_LOG_INFO, "Using IPv4 address %s on %s", addrstr, tunnel->device4); in configure_tun_ip() 332 char addrstr[INET6_ADDRSTRLEN]; in configure_clat_ipv6_address() local 333 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, addrstr, sizeof(addrstr)); in configure_clat_ipv6_address() 334 logmsg(ANDROID_LOG_INFO, "Using IPv6 address %s on %s", addrstr, interface); in configure_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 | 3055 char addrstr[IP_MAX]; local 3073 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3076 if (script_env_append(&envp, &envc, "LOCAL_ADDR", addrstr) != 0) { 3089 inet_ntop(sin->sin_family, &sin->sin_addr, addrstr, IP_MAX); 3093 "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 | 284 int parse_addr(int family, const char* addrstr, union mysockaddr* addr) { in parse_addr() argument 291 int ret = getaddrinfo(addrstr, NULL, &hints, &res); in parse_addr()
|
D | dnsmasq.h | 697 int parse_addr(int family, const char* addrstr, union mysockaddr* addr);
|
/external/libnl/lib/ |
D | addr.c | 291 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() argument 297 str = strdup(addrstr); in nl_addr_parse()
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 350 for addrstr in "${array[@]}"; do 351 ip address $add_del $addrstr dev $if_name
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 3147 addrstr = ('"\'foo@example.com\' ' 3149 self.assertEqual(utils.parseaddr(addrstr), addr) 3150 self.assertEqual(utils.formataddr(addr), addrstr)
|