Lines Matching refs:originalCmdTpdu

425 int T1protocol_processIBlock(Tpdu* originalCmdTpdu,  in T1protocol_processIBlock()  argument
430 TpduType type = Tpdu_getType(originalCmdTpdu); in T1protocol_processIBlock()
461 void T1protocol_processRBlock(Tpdu* originalCmdTpdu, in T1protocol_processRBlock() argument
463 if ((originalCmdTpdu->pcb & IBLOCK_M_BIT_MASK) > 0) { in T1protocol_processRBlock()
466 if (T1protocol_isSequenceNumberOk(originalCmdTpdu, lastRespTpduReceived) == in T1protocol_processRBlock()
477 if (T1protocol_isSequenceNumberOk(originalCmdTpdu, lastRespTpduReceived) == in T1protocol_processRBlock()
579 int T1protocol_processSBlock(Tpdu* originalCmdTpdu, Tpdu* lastCmdTpduSent, in T1protocol_processSBlock() argument
597 if ((originalCmdTpdu->pcb & IBLOCK_NS_BIT_MASK) > 0) { in T1protocol_processSBlock()
598 originalCmdTpdu->pcb &= ~IBLOCK_NS_BIT_MASK; in T1protocol_processSBlock()
600 rc = Tpdu_formTpdu(originalCmdTpdu->nad, originalCmdTpdu->pcb, in T1protocol_processSBlock()
601 originalCmdTpdu->len, originalCmdTpdu->data, in T1protocol_processSBlock()
602 originalCmdTpdu); in T1protocol_processSBlock()
608 Tpdu_copy(lastCmdTpduSent, originalCmdTpdu); in T1protocol_processSBlock()
969 int T1protocol_handleTpduResponse(Tpdu* originalCmdTpdu, Tpdu* lastCmdTpduSent, in T1protocol_handleTpduResponse() argument
1000 rc = T1protocol_processIBlock(originalCmdTpdu, lastRespTpduReceived); in T1protocol_handleTpduResponse()
1004 T1protocol_processRBlock(originalCmdTpdu, lastRespTpduReceived); in T1protocol_handleTpduResponse()
1008 rc = T1protocol_processSBlock(originalCmdTpdu, lastCmdTpduSent, in T1protocol_handleTpduResponse()
1070 Tpdu originalCmdTpdu, lastCmdTpduSent, lastRespTpduReceived; in T1protocol_doRequestIFS() local
1071 originalCmdTpdu.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_doRequestIFS()
1078 &ATP.ifsc, &originalCmdTpdu); in T1protocol_doRequestIFS()
1083 Tpdu_copy(&lastCmdTpduSent, &originalCmdTpdu); in T1protocol_doRequestIFS()
1092 result = T1protocol_handleTpduResponse(&originalCmdTpdu, &lastCmdTpduSent, in T1protocol_doRequestIFS()
1095 free(originalCmdTpdu.data); in T1protocol_doRequestIFS()
1096 originalCmdTpdu.data = NULL; in T1protocol_doRequestIFS()
1140 Tpdu originalCmdTpdu, lastCmdTpduSent, lastRespTpduReceived; in T1protocol_transcieveApduPart() local
1141 originalCmdTpdu.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_transcieveApduPart()
1152 &originalCmdTpdu) < 0) { in T1protocol_transcieveApduPart()
1159 Tpdu_copy(&lastCmdTpduSent, &originalCmdTpdu); in T1protocol_transcieveApduPart()
1166 &originalCmdTpdu, &lastRespTpduReceived, DEFAULT_NBWT); in T1protocol_transcieveApduPart()
1211 rc = T1protocol_handleTpduResponse(&originalCmdTpdu, &lastCmdTpduSent, in T1protocol_transcieveApduPart()
1227 free(originalCmdTpdu.data); in T1protocol_transcieveApduPart()
1228 originalCmdTpdu.data = NULL; in T1protocol_transcieveApduPart()