Home
last modified time | relevance | path

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

/third_party/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()
104 socklen_t socklen, char *file, int opcode, int tsize, int blksize) in do_action() argument
124 send_errpkt(dstaddr, socklen, "can't open file"); in do_action()
165 send_errpkt(dstaddr, socklen, "read-error"); in do_action()
175 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action()
195 send_errpkt(dstaddr, socklen, "read-error"); in do_action()
233 send_errpkt(dstaddr, socklen, "write error"); in do_action()
256 socklen_t socklen = sizeof(struct sockaddr_storage); in tftpd_main() local
261 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) help_exit(0); in tftpd_main()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dctrl_iface_common.c78 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()
Dctrl_iface_common.h33 socklen_t socklen);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dctrl_iface_common.c78 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()
Dctrl_iface_common.h33 socklen_t socklen);
/third_party/libuv/src/unix/
Dcore.c1506 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()