Lines Matching refs:pSocketTable
61 switch(psTransport->pSocketTable[socketIndex].eSocket_State) in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
66 …psTransport->pSocketTable[socketIndex].eSocket_State = phFriNfc_LlcpTransportSocket_eSocketConnec… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
68 …psTransport->pSocketTable[socketIndex].pfSocketAccept_Cb(psTransport->pSocketTable[socketIndex].pA… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
69 psTransport->pSocketTable[socketIndex].pfSocketAccept_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
70 psTransport->pSocketTable[socketIndex].pAcceptContext = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
76 psTempLlcpSocket = psTransport->pSocketTable[socketIndex]; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
79 result = phFriNfc_LlcpTransport_Close(&psTransport->pSocketTable[socketIndex]); in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
88 …if(!psTransport->pSocketTable[socketIndex].bSocketSendPending && psTransport->pSocketTable[socketI… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
90 …psTransport->pSocketTable[socketIndex].pfSocketSend_Cb(psTransport->pSocketTable[socketIndex].pSen… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
91 psTransport->pSocketTable[socketIndex].pfSocketSend_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
102 …if(!psTransport->pSocketTable[socketIndex].bSocketSendPending && psTransport->pSocketTable[socketI… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
104 …psTransport->pSocketTable[socketIndex].pfSocketSend_Cb(psTransport->pSocketTable[socketIndex].pSen… in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
105 psTransport->pSocketTable[socketIndex].pfSocketSend_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_SendLlcp_CB()
512 if(psTransport->pSocketTable[index].bSocketListenPending in Handle_ConnectionFrame()
513 && (sServiceName.length == psTransport->pSocketTable[index].sServiceName.length) in Handle_ConnectionFrame()
514 …&& !memcmp(sServiceName.buffer,psTransport->pSocketTable[index].sServiceName.buffer,sServiceName.l… in Handle_ConnectionFrame()
519 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ConnectionFrame()
536 …if(psTransport->pSocketTable[index].bSocketListenPending && psTransport->pSocketTable[index].socke… in Handle_ConnectionFrame()
541 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ConnectionFrame()
561 …if(psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketDefault &… in Handle_ConnectionFrame()
565 psTransport->pSocketTable[index].index = index; in Handle_ConnectionFrame()
568 pLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ConnectionFrame()
583 …else if(((psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketCo… in Handle_ConnectionFrame()
584 …|| (psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketAccepted… in Handle_ConnectionFrame()
585 …&& ((psTransport->pSocketTable[index].socket_sSap == ssap)&&(psTransport->pSocketTable[index].sock… in Handle_ConnectionFrame()
679 …if(psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConnecti… in Handle_ConnectionCompleteFrame()
680 && psTransport->pSocketTable[index].socket_sSap == dsap) in Handle_ConnectionCompleteFrame()
686 psTransport->pSocketTable[index].socket_dSap = ssap; in Handle_ConnectionCompleteFrame()
689 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ConnectionCompleteFrame()
736 …if(psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConnected in Handle_DisconnectFrame()
737 && psTransport->pSocketTable[index].socket_sSap == dsap) in Handle_DisconnectFrame()
743 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_DisconnectFrame()
793 …psTransport->pSocketTable[index].pSocketErrCb(psTransport->pSocketTable[index].pContext, PHFRINFC_… in Handle_DisconnectFrame()
838 …if((psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketDiscon… in Handle_DisconnetModeFrame()
839 …|| psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConnectin… in Handle_DisconnetModeFrame()
840 && psTransport->pSocketTable[index].socket_sSap == dsap) in Handle_DisconnetModeFrame()
846 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_DisconnetModeFrame()
930 …if(( (psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConne… in Handle_Receive_IFrame()
931 …|| (psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketAccepted… in Handle_Receive_IFrame()
932 && psTransport->pSocketTable[index].socket_sSap == dsap in Handle_Receive_IFrame()
933 && psTransport->pSocketTable[index].socket_dSap == ssap) in Handle_Receive_IFrame()
939 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_Receive_IFrame()
1184 …if(psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConnecte… in Handle_ReceiveReady_Frame()
1185 && psTransport->pSocketTable[index].socket_sSap == dsap in Handle_ReceiveReady_Frame()
1186 && psTransport->pSocketTable[index].socket_dSap == ssap) in Handle_ReceiveReady_Frame()
1192 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ReceiveReady_Frame()
1193 psLocalLlcpSocket->index = psTransport->pSocketTable[index].index; in Handle_ReceiveReady_Frame()
1302 …if(psTransport->pSocketTable[index].eSocket_State == phFriNfc_LlcpTransportSocket_eSocketConnecte… in Handle_ReceiveNotReady_Frame()
1303 && psTransport->pSocketTable[index].socket_sSap == dsap in Handle_ReceiveNotReady_Frame()
1304 && psTransport->pSocketTable[index].socket_dSap == ssap) in Handle_ReceiveNotReady_Frame()
1310 psLocalLlcpSocket = &psTransport->pSocketTable[index]; in Handle_ReceiveNotReady_Frame()
1361 …psLocalLlcpSocket->pSocketErrCb(psTransport->pSocketTable[index].pContext,PHFRINFC_LLCP_ERR_BUSY_C… in Handle_ReceiveNotReady_Frame()
1400 if(psTransport->pSocketTable[index].socket_sSap == dsap in Handle_FrameReject_Frame()
1401 && psTransport->pSocketTable[index].socket_dSap == ssap) in Handle_FrameReject_Frame()
1413 …psTransport->pSocketTable[index].eSocket_State = phFriNfc_LlcpTransportSocket_eSocketDisconnected; in Handle_FrameReject_Frame()
1416 …psTransport->pSocketTable[index].pSocketErrCb( psTransport->pSocketTable[index].pContext,PHFRINFC_… in Handle_FrameReject_Frame()
1419 status = phFriNfc_LlcpTransport_ConnectionOriented_Close(&psTransport->pSocketTable[index]); in Handle_FrameReject_Frame()