Home | History | Annotate | Download | only in tftpd

Lines Matching refs:fromlen

88 static socklen_t	fromlen;
329 fromlen = sizeof (from);
331 (struct sockaddr *)&from, &fromlen);
374 fromlen = j;
984 if ((n = sendto(peer, dp, size + 4, 0, (struct sockaddr *)&from, fromlen)) != size + 4) {
993 *)&from, &fromlen );
1080 if (sendto(peer, ap, acklength, 0, (struct sockaddr *)&from, fromlen) != acklength) {
1088 *)&from, &fromlen);
1140 (void) sendto(peer, ackbuf, 4, 0, (struct sockaddr *)&from, fromlen);
1144 n = recvfrom(peer, buf, sizeof (buf), 0, (struct sockaddr *)&from, &fromlen); /* normally times out and quits */
1149 (void) sendto(peer, ackbuf, 4, 0, (struct sockaddr *)&from, fromlen); /* resend final ack */
1217 if (sendto(peer, buf, msglen, 0, (struct sockaddr *)&from, fromlen) != (ssize_t)msglen)