Searched refs:socklen (Results 1 – 8 of 8) sorted by relevance
/third_party/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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 33 socklen_t socklen);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 33 socklen_t socklen);
|
/third_party/glib/gio/ |
D | gunixsocketaddress.c | 214 gssize socklen; in g_unix_socket_address_to_native() local 216 socklen = g_unix_socket_address_get_native_size (address); in g_unix_socket_address_to_native() 217 if (destlen < socklen) in g_unix_socket_address_to_native() 225 memset (sock, 0, socklen); in g_unix_socket_address_to_native()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | tcp_server.h | 118 int socklen, void *server);
|
/third_party/libuv/src/unix/ |
D | core.c | 1506 socklen_t socklen; in uv__getsockpeername() local 1515 socklen = (socklen_t) *namelen; in uv__getsockpeername() 1517 if (func(fd, name, &socklen)) in uv__getsockpeername() 1520 *namelen = (int) socklen; in uv__getsockpeername()
|