Home
last modified time | relevance | path

Searched refs:inet_ntop (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/musl/libc-test/src/functionalext/supplement/network/
Dinet_ntop.c31 const char *ptr = inet_ntop(AF_INET, &sin_addr, ip4test, sizeof(ip4test)); in inet_ntop_0100()
47 const char *ptr = inet_ntop(AF_INET6, &sin_addr, ip6test, sizeof(ip6test)); in inet_ntop_0200()
63 const char *ptr = inet_ntop(AF_INET6, &sin_addr, ip6test, sizeof(ip6test)); in inet_ntop_0300()
79 const char *ptr = inet_ntop(AF_INET6, &sin_addr, ip6test, sizeof(ip6test)); in inet_ntop_0400()
94 const char *ptr = inet_ntop(AF_UNIX, &sin_addr, ip4test, sizeof(ip4test)); in inet_ntop_0500()
108 const char *ptr = inet_ntop(AF_INET6, &sin_addr, ip6test, sizeof(ip6test)); in inet_ntop_0600()
/third_party/musl/libc-test/src/functional/
Dinet_pton.c44 if (inet_ntop(AF_INET6,binaddr,txtaddr,sizeof txtaddr)!=txtaddr) \
79 if (inet_ntop(AF_INET,&a,buf,sizeof buf)!=buf) \
97 if (inet_ntop(AF_INET,"xxxx","",0) != 0 || errno != ENOSPC) in main()
/third_party/iptables/libiptc/
Dlibip6tc.c142 inet_ntop(AF_INET6, &e->ipv6.src, buf, sizeof buf); in dump_entry()
149 inet_ntop(AF_INET6, &e->ipv6.smsk, buf, sizeof buf); in dump_entry()
155 inet_ntop(AF_INET6, &e->ipv6.dst, buf, sizeof buf); in dump_entry()
162 inet_ntop(AF_INET6, &e->ipv6.dmsk, buf, sizeof buf); in dump_entry()
/third_party/toybox/toys/pending/
Droute.c152 else if (!inet_ntop(AF_INET, &dest, destip, 32)) perror_exit("inet"); in display_routes()
155 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes()
157 if (!inet_ntop(AF_INET, &mask, maskip, 32)) perror_exit("inet"); in display_routes()
432 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
436 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
/third_party/toybox/toys/net/
Dnetstat.c47 if (!inet_ntop(af, addr, buf, 256)) { in addr2str()
303 if (inet_ntop(AF_INET, &dest, out, 16)) destip = out; in display_routes()
308 if (inet_ntop(AF_INET, &gate, out, 16)) gateip = out; in display_routes()
314 if (inet_ntop(AF_INET, &mask, out, 16)) maskip = out; in display_routes()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_udp.c100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
130 inet_ntop(AF_INET6, &from->sin6_addr, addr,
177 inet_ntop(AF_INET6, &from->sin6_addr, addr,
252 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
559 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
653 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
/third_party/libcoap/src/
Daddress.c144 (void)inet_ntop(addr->addr.sa.sa_family, addrptr, dst, len); in coap_address_ntop()
147 (void)inet_ntop(addr->addr.sa.sa_family, addrptr, dst, len); in coap_address_ntop()
/third_party/python/Modules/
Dgetnameinfo.c173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
/third_party/pulseaudio/src/pulsecore/
Darpa-inet.h15 const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_udp.c100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
130 inet_ntop(AF_INET6, &from->sin6_addr, addr,
177 inet_ntop(AF_INET6, &from->sin6_addr, addr,
249 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
539 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
/third_party/curl/lib/
Dinet_ntop.h34 inet_ntop(af, addr, buf, (curl_socklen_t)size)
/third_party/musl/libc-test/src/regression/
Dinet_ntop-v4mapped.c13 if (!inet_ntop(AF_INET6, addr, buf, sizeof buf)) in main()
/third_party/musl/porting/uniproton/kernel/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/porting/liteos_a/kernel/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/ndk_musl_include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/porting/liteos_m/kernel/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/musl/porting/liteos_a_newlib/kernel/include/arpa/
Dinet.h20 const char *inet_ntop (int, const void *__restrict, char *__restrict, socklen_t);
/third_party/libnl/lib/route/link/
Dsit.c270 if(inet_ntop(AF_INET, &sit->local, addr, sizeof(addr))) in sit_dump_details()
278 if(inet_ntop(AF_INET, &sit->remote, addr, sizeof(addr))) in sit_dump_details()
306 if(inet_ntop(AF_INET6, &sit->ip6rd_prefix, addr6, INET6_ADDRSTRLEN)) in sit_dump_details()
314 if(inet_ntop(AF_INET, &sit->ip6rd_relay_prefix, addr, sizeof(addr))) in sit_dump_details()
/third_party/libxml2/os400/
Dwrappers.h61 #define inet_ntop _lx_inet_ntop macro
/third_party/pulseaudio/src/modules/rtp/
Dsdp.c63 pa_assert_se(inet_ntop(af, src, buf_src, sizeof(buf_src))); in pa_sdp_build()
64 pa_assert_se(inet_ntop(af, dst, buf_dst, sizeof(buf_dst))); in pa_sdp_build()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dip_addr.c27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL) in hostapd_ip_txt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dip_addr.c27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL) in hostapd_ip_txt()
/third_party/iptables/iptables/
Dxtables-monitor.c338 inet_ntop(AF_INET, &iph->saddr, addrbuf, sizeof(addrbuf)); in trace_print_packet()
340 inet_ntop(AF_INET, &iph->daddr, addrbuf, sizeof(addrbuf)); in trace_print_packet()
377 inet_ntop(AF_INET6, &ip6h->ip6_src, addrbuf, sizeof(addrbuf)); in trace_print_packet()
379 inet_ntop(AF_INET6, &ip6h->ip6_dst, addrbuf, sizeof(addrbuf)); in trace_print_packet()

123456