Home
last modified time | relevance | path

Searched refs:inaddr (Results 1 – 11 of 11) sorted by relevance

/external/curl/lib/
Dsocketpair.c60 struct sockaddr_in inaddr; in Curl_socketpair() member
64 curl_socklen_t addrlen = sizeof(a.inaddr); in Curl_socketpair()
77 a.inaddr.sin_family = AF_INET; in Curl_socketpair()
78 a.inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in Curl_socketpair()
79 a.inaddr.sin_port = 0; in Curl_socketpair()
86 if(bind(listener, &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
95 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
Dcurl_addrinfo.c372 Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port) in Curl_ip2addr() argument
389 DEBUGASSERT(inaddr && hostname); in Curl_ip2addr()
405 memcpy(addrentry, inaddr, sizeof(struct in_addr)); in Curl_ip2addr()
411 memcpy(addrentry, inaddr, sizeof(struct in6_addr)); in Curl_ip2addr()
Dcurl_addrinfo.h76 Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port);
/external/openssh/
Dcanohost.c43 struct in_addr inaddr; in ipv64_normalise_mapped() local
52 memcpy(&inaddr, ((char *)&a6->sin6_addr) + 12, sizeof(inaddr)); in ipv64_normalise_mapped()
59 memcpy(&a4->sin_addr, &inaddr, sizeof(inaddr)); in ipv64_normalise_mapped()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dxdping.c40 struct in_addr inaddr; in get_stats() local
43 inaddr.s_addr = raddr; in get_stats()
57 inet_ntop(AF_INET, &inaddr, inaddrbuf, in get_stats()
/external/libevent/sample/
Dhttp-server.c401 void *inaddr; in display_listen_sock() local
414 inaddr = &((struct sockaddr_in*)&ss)->sin_addr; in display_listen_sock()
417 inaddr = &((struct sockaddr_in6*)&ss)->sin6_addr; in display_listen_sock()
431 addr = evutil_inet_ntop(ss.ss_family, inaddr, addrbuf, in display_listen_sock()
/external/toybox/toys/pending/
Dtftp.c32 struct sockaddr_storage inaddr;
79 ((struct sockaddr_in6 *)&TT.inaddr)->sin6_addr;
85 ((struct sockaddr_in *)&TT.inaddr)->sin_addr.s_addr;
457 memcpy((void *)&TT.inaddr, info->ai_addr, info->ai_addrlen); in tftp_main()
/external/rust/crates/mio/src/sys/windows/
Dnet.rs7 use winapi::shared::inaddr::{in_addr_S_un, IN_ADDR};
/external/toybox/android/linux/generated/
Dglobals.h1000 struct sockaddr_storage inaddr; member
/external/toybox/android/device/generated/
Dglobals.h1000 struct sockaddr_storage inaddr; member
/external/toybox/android/mac/generated/
Dglobals.h1000 struct sockaddr_storage inaddr; member