Home
last modified time | relevance | path

Searched refs:INET6_ADDRSTRLEN (Results 1 – 25 of 74) sorted by relevance

123

/third_party/libuv/test/
Dtest-ip-name.c36 char dst[INET6_ADDRSTRLEN]; in TEST_IMPL()
52 ASSERT_EQ(0, uv_ip6_name(addr6, dst, INET6_ADDRSTRLEN)); in TEST_IMPL()
55 ASSERT_EQ(0, uv_ip_name(addr, dst, INET6_ADDRSTRLEN)); in TEST_IMPL()
61 ASSERT_EQ(UV_EAFNOSUPPORT, uv_ip_name(addr, dst, INET6_ADDRSTRLEN)); in TEST_IMPL()
/third_party/musl/porting/liteos_m/kernel/include/arpa/
Dinet.h28 #undef INET6_ADDRSTRLEN
30 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/arpa/
Dinet.h28 #undef INET6_ADDRSTRLEN
30 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
Dinet.h28 #undef INET6_ADDRSTRLEN
30 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/uniproton/kernel/include/arpa/
Dinet.h28 #undef INET6_ADDRSTRLEN
30 #define INET6_ADDRSTRLEN 46 macro
/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c44 char ip_str[INET6_ADDRSTRLEN];
144 char dst_str[INET6_ADDRSTRLEN]; in setup()
179 char dst_str[INET6_ADDRSTRLEN], gw_str[INET6_ADDRSTRLEN]; in brk_on_route_error()
/third_party/pulseaudio/src/pulsecore/
Dparseaddr.c139 char buf[INET6_ADDRSTRLEN]; in pa_is_ip_address()
153 char buf[INET6_ADDRSTRLEN]; in pa_is_ip6_address()
/third_party/selinux/libsepol/src/
Dibpkey_record.c65 INET6_ADDRSTRLEN) == NULL) { in ibpkey_expand_subnet_prefix()
82 tmp_subnet_prefix = malloc(INET6_ADDRSTRLEN); in ibpkey_alloc_subnet_prefix_string()
144 char subnet_prefix_str[INET6_ADDRSTRLEN]; in sepol_ibpkey_key_extract()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_udp.c87 char addr[INET6_ADDRSTRLEN]; in wpa_supplicant_ctrl_iface_attach()
120 char addr[INET6_ADDRSTRLEN];
165 char addr[INET6_ADDRSTRLEN];
227 char addr[INET6_ADDRSTRLEN];
532 char addr[INET6_ADDRSTRLEN];
629 char addr[INET6_ADDRSTRLEN];
/third_party/toybox/toys/pending/
Dtraceroute.c84 char addr_str[INET6_ADDRSTRLEN];
419 memset(addr_str, '\0', INET6_ADDRSTRLEN); in do_trace()
421 addr_str, INET6_ADDRSTRLEN); in do_trace()
430 memset(addr_str, '\0', INET6_ADDRSTRLEN); in do_trace()
432 &from)->sin6_addr, addr_str, INET6_ADDRSTRLEN); in do_trace()
626 addr_str, INET6_ADDRSTRLEN); in traceroute_main()
Droute.c409 char ipv6_src_addr[41], flag_val[10], buf2[INET6_ADDRSTRLEN]; in display_routes6()
430 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
434 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
/third_party/lwip/src/include/lwip/
Dinet.h128 #ifndef INET6_ADDRSTRLEN
129 #define INET6_ADDRSTRLEN IP6ADDR_STRLEN_MAX macro
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
Darpa_inet_test.cpp306 char s1[INET6_ADDRSTRLEN];
309 const char* result2 = inet_ntop(AF_INET6, &ss1, s1, INET6_ADDRSTRLEN);
310 const char* result3 = inet_ntop(AF_INET6, &ss1, s1, 2 * INET6_ADDRSTRLEN);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_udp.c87 char addr[INET6_ADDRSTRLEN]; in wpa_supplicant_ctrl_iface_attach()
120 char addr[INET6_ADDRSTRLEN];
165 char addr[INET6_ADDRSTRLEN];
227 char addr[INET6_ADDRSTRLEN];
512 char addr[INET6_ADDRSTRLEN];
/third_party/ffmpeg/libavformat/
Dnetwork.h236 #ifndef INET6_ADDRSTRLEN
237 #define INET6_ADDRSTRLEN INET_ADDRSTRLEN macro
/third_party/libcoap/src/
Dcoap_session.c43 char tmp_buf[INET6_ADDRSTRLEN] = {0}; in loopback_packet_check()
107 char tmp_buf[INET6_ADDRSTRLEN] = { 0 }; in loopback_packet_check()
134 if (strcpy_s(tmp_buf, INET6_ADDRSTRLEN, pip_addr->IpAddress.String) != 0) { in loopback_packet_check()
154 char src_buf[INET6_ADDRSTRLEN] = {0}; in is_loopback_packet()
155 coap_address_ntop(&(packet->addr_info.remote), src_buf, INET6_ADDRSTRLEN); in is_loopback_packet()
1915 #ifndef INET6_ADDRSTRLEN in coap_new_endpoint()
1916 #define INET6_ADDRSTRLEN 40 in coap_new_endpoint() macro
1918 unsigned char addr_str[INET6_ADDRSTRLEN + 8]; in coap_new_endpoint()
1920 if (coap_print_addr(&ep->bind_addr, addr_str, INET6_ADDRSTRLEN + 8)) { in coap_new_endpoint()
2014 #ifndef INET6_ADDRSTRLEN
[all …]
Dcoap_debug.c210 #ifndef INET6_ADDRSTRLEN
211 #define INET6_ADDRSTRLEN 46 macro
220 char scratch[INET6_ADDRSTRLEN]; in coap_print_addr()
258 char scratch[INET6_ADDRSTRLEN]; in coap_print_addr()
301 char scratch[INET6_ADDRSTRLEN]; in coap_print_addr()
382 if (len < INET6_ADDRSTRLEN) in coap_print_ip_addr()
/third_party/musl/Benchmark/musl/
Dlibc_network.cpp203 char str[INET6_ADDRSTRLEN] = {0}; in Bm_function_Inet_ntop_ipv6()
204 benchmark::DoNotOptimize(inet_ntop(AF_INET6, &addr.s6_addr, str, INET6_ADDRSTRLEN)); in Bm_function_Inet_ntop_ipv6()
/third_party/musl/libc-test/src/api/
Darpa_inet.c14 C(INET6_ADDRSTRLEN) in f()
/third_party/musl/porting/liteos_a_newlib/kernel/include/netinet/
Din.h64 #undef INET6_ADDRSTRLEN
66 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/liteos_m/kernel/include/netinet/
Din.h64 #undef INET6_ADDRSTRLEN
66 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
Din.h64 #undef INET6_ADDRSTRLEN
66 #define INET6_ADDRSTRLEN 46 macro
/third_party/musl/porting/uniproton/kernel/include/netinet/
Din.h64 #undef INET6_ADDRSTRLEN
66 #define INET6_ADDRSTRLEN 46 macro
/third_party/node/src/
Dnode_sockaddr-inl.h50 char host[INET6_ADDRSTRLEN]; in GetAddress()
56 uv_inet_ntop(addr->sa_family, src, host, INET6_ADDRSTRLEN); in GetAddress()
Dnode_os.cc178 char ip[INET6_ADDRSTRLEN]; in GetInterfaceAddresses()
179 char netmask[INET6_ADDRSTRLEN]; in GetInterfaceAddresses()
227 strncpy(ip, "<unknown sa family>", INET6_ADDRSTRLEN); in GetInterfaceAddresses()

123