Lines Matching refs:pSocket

111 …_LlcpTransport_ConnectionOriented_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket)  in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()  argument
114 phFriNfc_LlcpTransport_t *psTransport = pSocket->psTransport; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
116 if(pSocket->bSocketSendPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
119 if(CHECK_SEND_RW(pSocket)) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
122 result = static_performSendInfo(pSocket); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
130 else if(pSocket->bSocketRRPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
133 pSocket->bSocketRRPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
136 result = phFriNfc_Llcp_Send_ReceiveReady_Frame(pSocket); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
139 else if(pSocket->bSocketRNRPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
142 pSocket->bSocketRNRPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
145 result = phFriNfc_Llcp_Send_ReceiveNotReady_Frame(pSocket); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
148 else if(pSocket->bSocketAcceptPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
153 pSocket->bSocketAcceptPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
156 pSocket->sLlcpHeader.dsap = pSocket->socket_dSap; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
157 pSocket->sLlcpHeader.ptype = PHFRINFC_LLCP_PTYPE_CC; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
158 pSocket->sLlcpHeader.ssap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
161 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketAccepted; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
165 &pSocket->sLlcpHeader, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
167 &pSocket->sSocketSendBuffer, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
169 pSocket->index, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
178 else if(pSocket->bSocketConnectPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
183 pSocket->bSocketConnectPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
186 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketConnecting; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
190 &pSocket->sLlcpHeader, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
192 &pSocket->sSocketSendBuffer, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
194 pSocket->index, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
203 else if(pSocket->bSocketDiscPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
208 pSocket->bSocketDiscPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
211 pSocket->eSocket_State = phFriNfc_LlcpTransportSocket_eSocketDisconnecting; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
215 &pSocket->sLlcpHeader, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
217 &pSocket->sSocketSendBuffer, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
219 pSocket->index, in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
226 pSocket->pSocketErrCb(pSocket->pContext, PHFRINFC_LLCP_ERR_DISCONNECTED); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()