Lines Matching refs:oacklen
779 int oacklen; in tftp() local
880 oacklen = process_options(tp->th_opcode, cp, buf.data + size); in tftp()
883 (*pf->f_recv)(pf, oacklen); in tftp()
885 (*pf->f_send)(pf, oacklen); in tftp()
1011 tftpd_sendfile(struct formats *pf, int oacklen) in tftpd_sendfile() argument
1017 if (oacklen != 0) { in tftpd_sendfile()
1024 oacklen - 2); in tftpd_sendfile()
1027 if (sendto(peer, &oackbuf, oacklen, 0, in tftpd_sendfile()
1028 (struct sockaddr *)&from, fromplen) != oacklen) { in tftpd_sendfile()
1185 tftpd_recvfile(struct formats *pf, int oacklen) in tftpd_recvfile() argument
1197 if (oacklen == 0) { in tftpd_recvfile()
1203 (void) memcpy(&ackbuf, &oackbuf, oacklen); in tftpd_recvfile()
1204 acklen = oacklen; in tftpd_recvfile()
1205 oacklen = 0; in tftpd_recvfile()