/external/wpa_supplicant_8/src/common/ |
ctrl_iface_common.h | 23 socklen_t addrlen; member in struct:wpa_ctrl_dst
|
/device/google/marlin/dataservices/sockev/src/ |
sockev_cli.c | 48 socklen_t addrlen; local 82 (struct sockaddr *)&src_addr, &addrlen);
|
/device/huawei/angler/dataservices/sockev/src/ |
sockev_cli.c | 48 socklen_t addrlen; local 82 (struct sockaddr *)&src_addr, &addrlen);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
recvfrom.cc | 36 socklen_t addrlen = sizeof(serveraddr); local 38 int succeeded = getsockname(sockfd, (struct sockaddr *)&serveraddr, &addrlen);
|
/external/compiler-rt/test/msan/Linux/ |
sendmsg.cc | 45 socklen_t addrlen = sizeof(serveraddr); local 46 getsockname(sockfd, (struct sockaddr *)&serveraddr, &addrlen); 56 msg.msg_namelen = addrlen; 65 ret = connect(sockfd, (struct sockaddr *)&serveraddr, addrlen); 72 sendto(sockfd, buf, kBufSize, 0, (struct sockaddr *)&serveraddr, addrlen);
|
/external/c-ares/ |
ares__get_hostent.c | 41 size_t addrlen, linesize, naliases; local 138 addrlen = 0; 148 addrlen = sizeof(addr.addrV4); 151 if ((family == AF_INET6) || ((family == AF_UNSPEC) && (!addrlen))) 157 addrlen = sizeof(addr.addrV6); 160 if (!addrlen) 187 hostent->h_addr_list[0] = malloc(addrlen); 223 hostent->h_length = (int)addrlen;
|
ares_gethostbyaddr.c | 71 void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen, 82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || 83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) 148 size_t addrlen; local 155 addrlen = sizeof(aquery->addr.addrV4); 157 (int)addrlen, AF_INET, &host); 161 addrlen = sizeof(aquery->addr.addrV6); 163 (int)addrlen, AF_INET6, &host);
|
/system/core/adb/sysdeps/posix/ |
network.cpp | 33 static sockaddr* loopback_addr4(sockaddr_storage* addr, socklen_t* addrlen, int port) { 35 *addrlen = sizeof(*addr4); 43 static sockaddr* loopback_addr6(sockaddr_storage* addr, socklen_t* addrlen, int port) { 45 *addrlen = sizeof(*addr6); 61 socklen_t addrlen = sizeof(addr_storage); local 62 sockaddr* addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, 0); 64 if (bind(s.get(), addr, addrlen) != 0) { 69 addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, port); 71 if (connect(s.get(), addr, addrlen) != 0) { 99 socklen_t addrlen = sizeof(addr_storage) local [all...] |
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 109 socklen_t addrlen; local 111 addrlen = sizeof(addr); 113 (sockaddr *)&addr, &addrlen); 121 connect(tunnel, (sockaddr *)&addr, addrlen);
|
/external/curl/lib/ |
connect.h | 85 unsigned int addrlen; member in struct:Curl_sockaddr_ex
|
socks.c | 711 int addrlen = (int) socksreq[4]; local 712 len = 5 + addrlen + 2;
|
/external/ltp/utils/sctp/func_tests/ |
test_1_to_1_shutdown.c | 68 socklen_t addrlen; local 103 addrlen = sizeof(acpt_addr); 105 &addrlen);
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
reactive_socket_accept_op.hpp | 50 std::size_t addrlen = o->peer_endpoint_ ? o->peer_endpoint_->capacity() : 0; local 54 o->peer_endpoint_ ? &addrlen : 0, o->ec_, new_socket); 61 o->peer_endpoint_->resize(addrlen);
|
/system/core/libcutils/ |
sockets_unix.cpp | 103 socklen_t addrlen = sizeof(addr); local 104 int ret = TEMP_FAILURE_RETRY(getsockname(fd, (struct sockaddr *)&addr, &addrlen));
|
/system/netd/libnetdutils/include/netdutils/ |
Syscalls.h | 47 virtual Status getsockname(Fd sock, sockaddr* addr, socklen_t* addrlen) const = 0; 52 virtual Status bind(Fd sock, const sockaddr* addr, socklen_t addrlen) const = 0; 54 virtual Status connect(Fd sock, const sockaddr* addr, socklen_t addrlen) const = 0; 109 socklen_t addrlen = sizeof(addr); local 110 RETURN_IF_NOT_OK(getsockname(sock, asSockaddrPtr(&addr), &addrlen)); 159 socklen_t addrlen = sizeof(addr); local 160 ASSIGN_OR_RETURN(auto used, recvfrom(sock, dst, flags, asSockaddrPtr(&addr), &addrlen));
|
/external/iputils/ninfod/ |
ninfod.h | 62 socklen_t addrlen; member in struct:packetcontext
|
/external/libnfnetlink/src/ |
rtnl.c | 208 socklen_t addrlen; local 215 addrlen = sizeof(h->rtnl_local); 227 if (bind(h->rtnl_fd, (struct sockaddr *) &h->rtnl_local, addrlen) < 0) { 234 &addrlen) < 0) { 239 if (addrlen != sizeof(h->rtnl_local)) {
|
/external/ltp/testcases/kernel/syscalls/getpeername/ |
getpeername01.c | 55 socklen_t *addrlen; member in struct:test_case_t 103 test_cases[i].addrlen));
|
/external/openssh/ |
canohost.c | 71 socklen_t addrlen; local 76 addrlen = sizeof(addr); 80 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) != 0) 83 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) != 0) 89 addrlen = sizeof(struct sockaddr_in6); 90 ipv64_normalise_mapped(&addr, &addrlen); 97 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop,
|
/art/runtime/jdwp/ |
jdwp_socket.cc | 219 socklen_t addrlen; local 228 addrlen = sizeof(addr); 230 sock = accept(listenSock, &addr.addrPlain, &addrlen); 459 socklen_t addrlen; local 461 tmpSock = accept(listenSock, &addr.addrPlain, &addrlen);
|
/external/clang/test/Analysis/ |
casts.c | 22 socklen_t addrlen = sizeof(storage); local 23 getsockname(sock, sockaddr, &addrlen);
|
/external/libmicrohttpd/src/microspdy/ |
daemon.c | 191 socklen_t addrlen; local 256 addrlen = sizeof (struct sockaddr_in6); 260 if (NULL == (servaddr6 = malloc (addrlen))) 265 memset (servaddr6, 0, addrlen); 288 addrlen = sizeof (struct sockaddr_in); 292 if (NULL == (servaddr4 = malloc (addrlen))) 297 memset (servaddr4, 0, addrlen); 333 if (-1 == bind (daemon->socket_fd, daemon->address, addrlen))
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
accept4_01.c | 69 accept4_01(int fd, struct sockaddr *sockaddr, socklen_t *addrlen, int flags) 91 args[2] = (long)addrlen; 96 return ltp_syscall(__NR_accept4, fd, sockaddr, addrlen, flags); 108 socklen_t addrlen; local 121 addrlen = sizeof(struct sockaddr_in); 123 acceptfd = accept4_01(lfd, (struct sockaddr *)&claddr, &addrlen, 126 acceptfd = accept4(lfd, (struct sockaddr *)&claddr, &addrlen,
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-mcast_receiver.c | 405 socklen_t addrlen; local 407 addrlen = sizeof(addr); 409 (struct sockaddr *)&addr, &addrlen);
|
/external/ltp/testcases/network/tcp_cmds/echo/ |
echoes.c | 144 socklen_t addrlen; local 239 addrlen = sizeof(struct sockaddr); 240 /* printf("addrlen=%d\n", addrlen); */ 242 if (getsockname(s, &address, &addrlen) == -1) { 251 if (getpeername(s, &address, &addrlen) == -1) {
|