Lines Matching refs:originalCmdTpdu
426 int T1protocol_processIBlock(Tpdu* originalCmdTpdu, in T1protocol_processIBlock() argument
431 TpduType type = Tpdu_getType(originalCmdTpdu); in T1protocol_processIBlock()
462 void T1protocol_processRBlock(Tpdu* originalCmdTpdu, in T1protocol_processRBlock() argument
464 if ((originalCmdTpdu->pcb & IBLOCK_M_BIT_MASK) > 0) { in T1protocol_processRBlock()
467 if (T1protocol_isSequenceNumberOk(originalCmdTpdu, lastRespTpduReceived) == in T1protocol_processRBlock()
478 if (T1protocol_isSequenceNumberOk(originalCmdTpdu, lastRespTpduReceived) == in T1protocol_processRBlock()
584 int T1protocol_processSBlock(__attribute((unused)) Tpdu* originalCmdTpdu, in T1protocol_processSBlock() argument
964 int T1protocol_handleTpduResponse(Tpdu* originalCmdTpdu, Tpdu* lastCmdTpduSent, in T1protocol_handleTpduResponse() argument
995 rc = T1protocol_processIBlock(originalCmdTpdu, lastRespTpduReceived); in T1protocol_handleTpduResponse()
999 T1protocol_processRBlock(originalCmdTpdu, lastRespTpduReceived); in T1protocol_handleTpduResponse()
1003 rc = T1protocol_processSBlock(originalCmdTpdu, lastCmdTpduSent, in T1protocol_handleTpduResponse()
1131 Tpdu originalCmdTpdu, lastCmdTpduSent, lastRespTpduReceived; in T1protocol_transcieveApduPart() local
1132 originalCmdTpdu.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_transcieveApduPart()
1143 &originalCmdTpdu) < 0) { in T1protocol_transcieveApduPart()
1150 Tpdu_copy(&lastCmdTpduSent, &originalCmdTpdu); in T1protocol_transcieveApduPart()
1158 &originalCmdTpdu, &lastRespTpduReceived, DEFAULT_NBWT); in T1protocol_transcieveApduPart()
1210 rc = T1protocol_handleTpduResponse(&originalCmdTpdu, &lastCmdTpduSent, in T1protocol_transcieveApduPart()
1226 free(originalCmdTpdu.data); in T1protocol_transcieveApduPart()
1227 originalCmdTpdu.data = NULL; in T1protocol_transcieveApduPart()