Home
last modified time | relevance | path

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

12345

/external/usrsctp/programs/
Ddiscard_server.c66 char namebuf[INET6_ADDRSTRLEN];
83 name = inet_ntop(AF_INET6, &addr.sin6.sin6_addr, namebuf, INET6_ADDRSTRLEN),
89 if (_snprintf(namebuf, INET6_ADDRSTRLEN, "%p", addr.sconn.sconn_addr) < 0) {
91 if (snprintf(namebuf, INET6_ADDRSTRLEN, "%p", addr.sconn.sconn_addr) < 0) {
138 char name[INET6_ADDRSTRLEN];
220 inet_ntop(AF_INET6, &addr.sin6_addr, name, INET6_ADDRSTRLEN), ntohs(addr.sin6_port),
230 inet_ntop(AF_INET6, &addr.sin6_addr, name, INET6_ADDRSTRLEN), ntohs(addr.sin6_port),
Decho_server.c66 char namebuf[INET6_ADDRSTRLEN];
83 name = inet_ntop(AF_INET6, &addr.sin6.sin6_addr, namebuf, INET6_ADDRSTRLEN),
89 if (_snprintf(namebuf, INET6_ADDRSTRLEN, "%p", addr.sconn.sconn_addr) < 0) {
91 if (snprintf(namebuf, INET6_ADDRSTRLEN, "%p", addr.sconn.sconn_addr) < 0) {
153 char name[INET6_ADDRSTRLEN];
235 inet_ntop(AF_INET6, &addr.sin6_addr, name, INET6_ADDRSTRLEN), ntohs(addr.sin6_port),
260 inet_ntop(AF_INET6, &addr.sin6_addr, name, INET6_ADDRSTRLEN), ntohs(addr.sin6_port),
Dprograms_helper.c147 char addr_buf[INET6_ADDRSTRLEN];
160 addr = inet_ntop(AF_INET6, &sin6->sin6_addr, addr_buf, INET6_ADDRSTRLEN);
165 if (_snprintf(addr_buf, INET6_ADDRSTRLEN, "%p", sconn->sconn_addr) < 0) {
167 if (snprintf(addr_buf, INET6_ADDRSTRLEN, "%p", sconn->sconn_addr) < 0) {
175 if (_snprintf(addr_buf, INET6_ADDRSTRLEN, "Unknown family %d", spc->spc_aaddr.ss_family) < 0) {
177 if (snprintf(addr_buf, INET6_ADDRSTRLEN, "Unknown family %d", spc->spc_aaddr.ss_family) < 0) {
Dclient.c202 char buf[INET6_ADDRSTRLEN]; in main()
206 name = inet_ntop(AF_INET6, &sin6->sin6_addr, buf, INET6_ADDRSTRLEN); in main()
250 char buf[INET6_ADDRSTRLEN]; in main()
254 name = inet_ntop(AF_INET6, &sin6->sin6_addr, buf, INET6_ADDRSTRLEN); in main()
Dclient_upcall.c239 char buf[INET6_ADDRSTRLEN]; in main()
243 name = inet_ntop(AF_INET6, &sin6->sin6_addr, buf, INET6_ADDRSTRLEN); in main()
287 char buf[INET6_ADDRSTRLEN]; in main()
291 name = inet_ntop(AF_INET6, &sin6->sin6_addr, buf, INET6_ADDRSTRLEN); in main()
Ddiscard_server_upcall.c59 char namebuf[INET6_ADDRSTRLEN]; in handle_upcall()
107 name = inet_ntop(AF_INET6, &addr6.sin6_addr, namebuf, INET6_ADDRSTRLEN), in handle_upcall()
/external/webrtc/rtc_base/
Dwin32.cc84 if (size < INET6_ADDRSTRLEN) { in inet_ntop_v6()
131 cursor += snprintf(cursor, INET6_ADDRSTRLEN - 2, "ffff:"); in inet_ntop_v6()
136 static_cast<socklen_t>(INET6_ADDRSTRLEN - (cursor - dst))); in inet_ntop_v6()
140 cursor += snprintf(cursor, INET6_ADDRSTRLEN - (cursor - dst), "%x", in inet_ntop_v6()
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c44 char buf[INET6_ADDRSTRLEN]; in ConnectAndAccept()
56 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in ConnectAndAccept()
154 char buf[INET6_ADDRSTRLEN]; in CreateServerConnectAndAccept()
165 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in CreateServerConnectAndAccept()
284 char buf[INET6_ADDRSTRLEN]; in ThreadedCreateServerConnectAndAccept()
292 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in ThreadedCreateServerConnectAndAccept()
/external/tcpdump/
Daddrtoname.h26 #ifndef INET6_ADDRSTRLEN
27 #define INET6_ADDRSTRLEN 46 macro
Dnetdissect-stdinc.h169 #ifndef INET6_ADDRSTRLEN
170 #define INET6_ADDRSTRLEN 46 macro
/external/llvm-project/lldb/source/Host/common/
DSocketAddress.cpp35 #ifndef INET6_ADDRSTRLEN // might not be defined in older Windows SDKs
36 #define INET6_ADDRSTRLEN 46 macro
55 char tmp[INET6_ADDRSTRLEN] = {0}; in inet_ntop()
137 char str[INET6_ADDRSTRLEN] = {0}; in GetIPAddress()
/external/dnsmasq/src/
Dconfig.h248 #if defined(INET6_ADDRSTRLEN) && defined(IPV6_V6ONLY) && !defined(NO_IPV6)
250 #define ADDRSTRLEN INET6_ADDRSTRLEN
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_types.hpp51 #if defined(INET6_ADDRSTRLEN)
52 const int max_addr_v6_str_len = INET6_ADDRSTRLEN + 1 + IF_NAMESIZE;
/external/wpa_supplicant_8/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];
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_iphlpapi.h26 #ifndef INET6_ADDRSTRLEN
27 #define INET6_ADDRSTRLEN 65 macro
/external/selinux/libsepol/src/
Dibpkey_record.c65 INET6_ADDRSTRLEN) == NULL) { in ibpkey_expand_subnet_prefix()
83 tmp_subnet_prefix = malloc(INET6_ADDRSTRLEN); in ibpkey_alloc_subnet_prefix_string()
147 char subnet_prefix_str[INET6_ADDRSTRLEN]; in hidden_def()
/external/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()
/external/android-clat/
Dipv6.c61 char srcstr[INET6_ADDRSTRLEN]; in log_bad_address()
62 char dststr[INET6_ADDRSTRLEN]; in log_bad_address()
Dclatd.c221 char oldstr[INET6_ADDRSTRLEN]; in ipv6_address_changed()
222 char newstr[INET6_ADDRSTRLEN]; in ipv6_address_changed()
247 char addrstr[INET6_ADDRSTRLEN]; in configure_clat_ipv6_address()
/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_custom.h40 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN
Dsockaddr_windows.h41 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN
Dsockaddr_posix.h41 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsockaddr_posix.h41 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN
Dsockaddr_custom.h40 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN
Dsockaddr_windows.h41 #define GRPC_INET6_ADDRSTRLEN INET6_ADDRSTRLEN

12345