/external/android-clat/ |
D | dump.c | 45 char addrstr[INET6_ADDRSTRLEN]; in dump_ip() local 69 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); in dump_ip() 70 printf("saddr = %s\n", addrstr); in dump_ip() 71 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); in dump_ip() 72 printf("daddr = %s\n", addrstr); in dump_ip() 77 char addrstr[INET6_ADDRSTRLEN]; in dump_ip6() local 87 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6() 88 printf("source = %s\n", addrstr); in dump_ip6() 90 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6() 91 printf("dest = %s\n", addrstr); in dump_ip6()
|
D | clatd.c | 119 char addrstr[INET_ADDRSTRLEN]; in configure_tun_ip() local 120 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip() 121 logmsg(ANDROID_LOG_INFO, "Using IPv4 address %s on %s", addrstr, tunnel->device4); in configure_tun_ip() 247 char addrstr[INET6_ADDRSTRLEN]; in configure_clat_ipv6_address() local 248 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, addrstr, sizeof(addrstr)); in configure_clat_ipv6_address() 249 logmsg(ANDROID_LOG_INFO, "Using IPv6 address %s on %s", addrstr, interface); in configure_clat_ipv6_address()
|
D | clatd_test.cpp | 933 char addrstr[INET6_ADDRSTRLEN]; in TEST_F() local 934 ASSERT_NE(nullptr, inet_ntop(AF_INET6, &myaddr, addrstr, sizeof(addrstr))); in TEST_F() 936 ASSERT_EQ(1, configure_clat_ipv6_address(&tunnel, ifname, addrstr)); in TEST_F()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | nettest.c | 174 char addrstr[64]; in log_address() local 184 inet_ntop(AF_INET, &s->sin_addr, addrstr, in log_address() 185 sizeof(addrstr)), in log_address() 193 inet_ntop(AF_INET6, &s6->sin6_addr, addrstr, in log_address() 194 sizeof(addrstr)), in log_address() 508 char addrstr[64]; in expected_addr_match() local 519 addrstr, sizeof(addrstr))); in expected_addr_match() 530 addrstr, sizeof(addrstr))); in expected_addr_match()
|
/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/libcups/backend/ |
D | snmp-supplies.c | 446 char addrstr[1024], /* Address string */ in backend_init_supplies() local 556 httpAddrString(addr, addrstr, sizeof(addrstr)); in backend_init_supplies() 562 addrstr); in backend_init_supplies()
|
/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 | 291 int parse_addr(int family, const char* addrstr, union mysockaddr* addr) { in parse_addr() argument 298 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 | 299 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() argument 305 str = strdup(addrstr); in nl_addr_parse()
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 400 for addrstr in "${array[@]}"; do 401 ip address $add_del $addrstr dev $if_name
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 3205 addrstr = ('"\'foo@example.com\' ' 3207 self.assertEqual(utils.parseaddr(addrstr), addr) 3208 self.assertEqual(utils.formataddr(addr), addrstr)
|