Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dtftpd.c239 int fd = 0, recvmsg_len, rbuflen, opcode, blksize = TFTPD_BLKSIZE, tsize = 0, set =1; in tftpd_main() local
253 recvmsg_len = recvfrom(fd, toybuf, blksize, 0, (void *)&dstaddr, &socklen); in tftpd_main()
262 if (recvmsg_len<4 || recvmsg_len>TFTPD_BLKSIZE || toybuf[recvmsg_len-1]) { in tftpd_main()
284 if (buf >= toybuf+recvmsg_len || strcasecmp(buf, "octet")) { in tftpd_main()
291 rbuflen = toybuf + recvmsg_len - buf; in tftpd_main()