Lines Matching refs:sap
205 static struct tftphdr *sap; /* ack buffer used by sendtftp() */
1156 sap = &ackbuf.hdr;
1189 sap->th_opcode = ntohs((unsigned short)sap->th_opcode);
1190 sap->th_block = ntohs(sap->th_block);
1192 if (sap->th_opcode == opcode_ERROR) {
1197 if (sap->th_opcode == opcode_ACK) {
1198 if (sap->th_block == sendblock) {
1203 if (sap->th_block == (sendblock-1)) {