/external/toybox/toys/pending/ |
tftpd.c | 78 socklen_t socklen, char *errmsg) 83 if (sendto(TT.sfd, g_errpkt, strlen(errmsg)+5, 0, dstaddr, socklen) < 0) 89 socklen_t socklen, char *file, int opcode, int tsize, int blksize) 109 send_errpkt(dstaddr, socklen, "can't open file"); 150 send_errpkt(dstaddr, socklen, "read-error"); 160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) 180 send_errpkt(dstaddr, socklen, "read-error"); 218 send_errpkt(dstaddr, socklen, "write error"); 241 socklen_t socklen = sizeof(struct sockaddr_storage); local 245 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) help_exit(0) [all...] |
/external/libevent/include/event2/ |
listener.h | 45 @param socklen The length of addr 48 typedef void (*evconnlistener_cb)(struct evconnlistener *, evutil_socket_t, struct sockaddr *, int socklen, void *); 106 @param socklen The length of the address. 110 const struct sockaddr *sa, int socklen);
|
/external/wpa_supplicant_8/src/common/ |
ctrl_iface_common.h | 29 socklen_t socklen);
|
ctrl_iface_common.c | 78 socklen_t socklen) 88 getnameinfo((struct sockaddr *) sock, socklen, 104 socklen - offsetof(struct sockaddr_un, sun_path));
|
/libcore/ojluni/src/main/native/ |
linux_close.cpp | 134 socklen_t socklen = *fromlen; local 135 BLOCKING_IO_RETURN_INT( s, recvfrom(s, buf, len, flags, from, &socklen) ); 136 *fromlen = socklen; 153 socklen_t socklen = *addrlen; local 154 BLOCKING_IO_RETURN_INT( s, accept(s, addr, &socklen) ); 155 *addrlen = socklen;
|
net_util_md.c | 1006 socklen_t socklen = *len; local 1007 rv = getsockopt(fd, level, opt, result, &socklen); 1008 *len = socklen; [all...] |
/system/connectivity/shill/ |
arp_client.cc | 121 socklen_t socklen = sizeof(socket_address); local 128 &socklen); 142 CHECK(socklen >=
|
eap_listener.cc | 105 socklen_t socklen = sizeof(remote_address); local 109 &socklen);
|
/external/libevent/ |
iocp-internal.h | 195 const struct sockaddr *sa, int socklen);
|
util-internal.h | 172 int evutil_socket_connect(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen); 179 ev_socklen_t *socklen, int port); 246 ev_socklen_t socklen, const struct evutil_addrinfo *hints);
|
listener.c | 203 int socklen) 241 if (bind(fd, sa, socklen)<0) { 392 int socklen = sizeof(ss); local 394 socklen_t socklen = sizeof(ss); local 396 evutil_socket_t new_fd = accept(fd, (struct sockaddr*)&ss, &socklen); 399 if (socklen == 0) { 418 cb(lev, new_fd, (struct sockaddr*)&ss, (int)socklen, 805 int socklen = sizeof(ss); local 822 if (getsockname(fd, (struct sockaddr*)&ss, &socklen)) {
|
evutil.c | 468 evutil_socket_connect(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen) 481 if (connect(*fd_ptr, sa, socklen) < 0) { 648 evutil_new_addrinfo(struct sockaddr *sa, ev_socklen_t socklen, 660 r1 = evutil_new_addrinfo(sa, socklen, &tmp); 664 r2 = evutil_new_addrinfo(sa, socklen, &tmp); 674 res = mm_calloc(1,sizeof(struct evutil_addrinfo)+socklen); 679 memcpy(res->ai_addr, sa, socklen); 680 res->ai_addrlen = socklen; 993 int socklen; local 1002 socklen = sizeof(struct sockaddr_in) [all...] |
bufferevent_sock.c | 354 struct sockaddr *sa, int socklen) 384 r = bufferevent_async_connect(bev, fd, sa, socklen); 392 r = evutil_socket_connect(&fd, sa, socklen);
|
bufferevent_async.c | 609 const struct sockaddr *sa, int socklen) 642 rc = ext->ConnectEx(fd, sa, socklen, NULL, 0, NULL,
|
evdns.c | 4043 int socklen = sizeof(ss); local 4314 int socklen, addrlen; local [all...] |
/external/fio/engines/ |
net.c | 830 socklen_t socklen; local 847 socklen = sizeof(nd->addr); 848 f->fd = accept(nd->listenfd, (struct sockaddr *) &nd->addr, &socklen); 850 socklen = sizeof(nd->addr6); 851 f->fd = accept(nd->listenfd, (struct sockaddr *) &nd->addr6, &socklen);
|
/external/fio/ |
client.c | 410 socklen_t socklen; local 418 socklen = sizeof(client->addr6); 424 socklen = sizeof(client->addr); 435 if (connect(fd, addr, socklen) < 0) { [all...] |
server.c | 1442 socklen_t socklen; local [all...] |
/external/blktrace/ |
blktrace.c | 2278 socklen_t socklen = sizeof(ns->addr); local [all...] |
/hardware/ril/libril/ |
ril.cpp | 4298 socklen_t socklen = sizeof (peeraddr); local 4418 socklen_t socklen = sizeof (peeraddr); local [all...] |