/external/toybox/toys/pending/ |
D | tftpd.c | 78 socklen_t socklen, char *errmsg) in send_errpkt() argument 83 if (sendto(TT.sfd, g_errpkt, strlen(errmsg)+5, 0, dstaddr, socklen) < 0) in send_errpkt() 89 socklen_t socklen, char *file, int opcode, int tsize, int blksize) in do_action() argument 109 send_errpkt(dstaddr, socklen, "can't open file"); in do_action() 150 send_errpkt(dstaddr, socklen, "read-error"); in do_action() 160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action() 180 send_errpkt(dstaddr, socklen, "read-error"); in do_action() 218 send_errpkt(dstaddr, socklen, "write error"); in do_action() 241 socklen_t socklen = sizeof(struct sockaddr_storage); in tftpd_main() local 245 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) help_exit(0); in tftpd_main() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | ctrl_iface_common.c | 78 socklen_t socklen) in sockaddr_print() argument 88 getnameinfo((struct sockaddr *) sock, socklen, in sockaddr_print() 104 socklen - offsetof(struct sockaddr_un, sun_path)); in sockaddr_print()
|
D | ctrl_iface_common.h | 29 socklen_t socklen);
|
/external/libevent/include/event2/ |
D | listener.h | 48 …connlistener_cb)(struct evconnlistener *, evutil_socket_t, struct sockaddr *, int socklen, void *); 110 const struct sockaddr *sa, int socklen);
|
/external/libevent/ |
D | listener.c | 203 int socklen) in evconnlistener_new_bind() argument 241 if (bind(fd, sa, socklen)<0) { in evconnlistener_new_bind() 392 int socklen = sizeof(ss); in listener_read_cb() local 394 socklen_t socklen = sizeof(ss); in listener_read_cb() local 396 evutil_socket_t new_fd = accept(fd, (struct sockaddr*)&ss, &socklen); in listener_read_cb() 399 if (socklen == 0) { in listener_read_cb() 418 cb(lev, new_fd, (struct sockaddr*)&ss, (int)socklen, in listener_read_cb() 805 int socklen = sizeof(ss); in evconnlistener_new_async() local 822 if (getsockname(fd, (struct sockaddr*)&ss, &socklen)) { in evconnlistener_new_async()
|
D | 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);
|
D | evutil.c | 468 evutil_socket_connect(evutil_socket_t *fd_ptr, struct sockaddr *sa, int socklen) in evutil_socket_connect() argument 481 if (connect(*fd_ptr, sa, socklen) < 0) { in evutil_socket_connect() 648 evutil_new_addrinfo(struct sockaddr *sa, ev_socklen_t socklen, in evutil_new_addrinfo() argument 660 r1 = evutil_new_addrinfo(sa, socklen, &tmp); in evutil_new_addrinfo() 664 r2 = evutil_new_addrinfo(sa, socklen, &tmp); in evutil_new_addrinfo() 674 res = mm_calloc(1,sizeof(struct evutil_addrinfo)+socklen); in evutil_new_addrinfo() 679 memcpy(res->ai_addr, sa, socklen); in evutil_new_addrinfo() 680 res->ai_addrlen = socklen; in evutil_new_addrinfo() 993 int socklen; in addrinfo_from_hostent() local 1002 socklen = sizeof(struct sockaddr_in); in addrinfo_from_hostent() [all …]
|
D | bufferevent_sock.c | 354 struct sockaddr *sa, int socklen) in bufferevent_socket_connect() argument 384 r = bufferevent_async_connect(bev, fd, sa, socklen); in bufferevent_socket_connect() 392 r = evutil_socket_connect(&fd, sa, socklen); in bufferevent_socket_connect()
|
D | iocp-internal.h | 195 const struct sockaddr *sa, int socklen);
|
D | bufferevent_async.c | 609 const struct sockaddr *sa, int socklen) in bufferevent_async_connect() argument 642 rc = ext->ConnectEx(fd, sa, socklen, NULL, 0, NULL, in bufferevent_async_connect()
|
D | evdns.c | 4043 int socklen = sizeof(ss); in evdns_base_parse_hosts_line() local 4052 if (evutil_parse_sockaddr_port(addr, (struct sockaddr*)&ss, &socklen)<0) in evdns_base_parse_hosts_line() 4054 if (socklen > (int)sizeof(struct sockaddr_in6)) in evdns_base_parse_hosts_line() 4074 EVUTIL_ASSERT(socklen <= (int)sizeof(he->addr)); in evdns_base_parse_hosts_line() 4075 memcpy(&he->addr, &ss, socklen); in evdns_base_parse_hosts_line() 4077 he->addrlen = socklen; in evdns_base_parse_hosts_line() 4314 int socklen, addrlen; in evdns_getaddrinfo_gotresolve() local 4415 socklen = sizeof(sin); in evdns_getaddrinfo_gotresolve() 4424 socklen = sizeof(sin6); in evdns_getaddrinfo_gotresolve() 4433 ai = evutil_new_addrinfo(sa, socklen, &data->hints); in evdns_getaddrinfo_gotresolve()
|
/external/fio/engines/ |
D | net.c | 830 socklen_t socklen; in fio_netio_accept() local 847 socklen = sizeof(nd->addr); in fio_netio_accept() 848 f->fd = accept(nd->listenfd, (struct sockaddr *) &nd->addr, &socklen); in fio_netio_accept() 850 socklen = sizeof(nd->addr6); in fio_netio_accept() 851 f->fd = accept(nd->listenfd, (struct sockaddr *) &nd->addr6, &socklen); in fio_netio_accept()
|
/external/libvncserver/rfb/ |
D | rfbconfig.h.cmake | 104 /* The type for socklen */
|
/external/fio/ |
D | client.c | 410 socklen_t socklen; in fio_client_connect_ip() local 418 socklen = sizeof(client->addr6); in fio_client_connect_ip() 424 socklen = sizeof(client->addr); in fio_client_connect_ip() 435 if (connect(fd, addr, socklen) < 0) { in fio_client_connect_ip()
|
D | server.c | 1442 socklen_t socklen; in fio_init_server_ip() local 1475 socklen = sizeof(saddr_in6); in fio_init_server_ip() 1482 socklen = sizeof(saddr_in); in fio_init_server_ip() 1487 if (bind(sk, addr, socklen) < 0) { in fio_init_server_ip()
|
/external/netperf/src/missing/m4/ |
D | sockinttypes.m4 | 37 socklen_t socklen;
|
/external/netperf/m4/m4/ |
D | sockinttypes.m4 | 37 socklen_t socklen;
|
/external/blktrace/ |
D | blktrace.c | 2278 socklen_t socklen = sizeof(ns->addr); in net_add_connection() local 2280 fd = my_accept(ns->listen_fd, (struct sockaddr *)&ns->addr, &socklen); in net_add_connection()
|
/external/netperf/ |
D | acinclude.m4 | 224 socklen_t socklen;
|
D | Release_Notes | 388 *) Replace "break" with "break 2" in acinclude.m4 for a socklen macro
|