Home
last modified time | relevance | path

Searched refs:socklen (Results 1 – 9 of 9) sorted by relevance

/external/toybox/toys/pending/
Dtftpd.c78 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)) { in tftpd_main()
[all …]
/external/fio/engines/
Dnet.c830 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/
Drfbconfig.h.cmake94 /* The type for socklen */
/external/fio/
Dclient.c410 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()
Dserver.c1442 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/libvncserver/
Drfbconfig.h.in425 /* The type for socklen */
Dacinclude.m41 AH_TEMPLATE(socklen_t, [The type for socklen])
/external/blktrace/
Dblktrace.c2278 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/libvncserver/autom4te.cache/
Dtraces.12 m4trace:acinclude.m4:1: -1- AH_OUTPUT([socklen_t], [/* The type for socklen */