Home
last modified time | relevance | path

Searched refs:pSocket (Results 1 – 5 of 5) sorted by relevance

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c35 …iNfc_LlcpTransport_Connectionless_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket) in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations() argument
40 if ((pSocket->pfSocketSend_Cb != NULL) && in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
41 (pSocket->psTransport->bSendPending == FALSE)) in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
44 pSocket->sLlcpHeader.dsap = pSocket->socket_dSap; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
45 pSocket->sLlcpHeader.ptype = PHFRINFC_LLCP_PTYPE_UI; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
46 pSocket->sLlcpHeader.ssap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
49 status = phFriNfc_LlcpTransport_LinkSend(pSocket->psTransport, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
50 &pSocket->sLlcpHeader, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
52 &pSocket->sSocketSendBuffer, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
54 pSocket); in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
[all …]
DphFriNfc_LlcpTransport_Connection.c124 …_LlcpTransport_ConnectionOriented_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations() argument
127 phFriNfc_LlcpTransport_t *psTransport = pSocket->psTransport; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
130 if(pSocket->bSocketSendPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
133 if(CHECK_SEND_RW(pSocket)) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
135 result = static_performSendInfo(pSocket); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
139 else if(pSocket->bSocketRRPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
142 pSocket->bSocketRRPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
145 result = phFriNfc_Llcp_Send_ReceiveReady_Frame(pSocket); in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
148 else if(pSocket->bSocketRNRPending == TRUE) in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
151 pSocket->bSocketRNRPending = FALSE; in phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations()
[all …]
DphFriNfc_LlcpTransport.c195 phFriNfc_LlcpTransport_Socket_t * pSocket; in phFriNfc_LlcpTransport_ServiceNameLoockup() local
200 pSocket = &psTransport->pSocketTable[index]; in phFriNfc_LlcpTransport_ServiceNameLoockup()
203 if((((pSocket->eSocket_Type == phFriNfc_LlcpTransport_eConnectionOriented) in phFriNfc_LlcpTransport_ServiceNameLoockup()
204 && (pSocket->eSocket_State == phFriNfc_LlcpTransportSocket_eSocketRegistered)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
205 || ((pSocket->eSocket_Type == phFriNfc_LlcpTransport_eConnectionLess) in phFriNfc_LlcpTransport_ServiceNameLoockup()
206 && (pSocket->eSocket_State == phFriNfc_LlcpTransportSocket_eSocketBound))) in phFriNfc_LlcpTransport_ServiceNameLoockup()
208 (pServiceName->length == pSocket->sServiceName.length) in phFriNfc_LlcpTransport_ServiceNameLoockup()
209 && !memcmp(pServiceName->buffer, pSocket->sServiceName.buffer, pServiceName->length)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
229 pCachedServiceName->nSap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_ServiceNameLoockup()
242 return pSocket; in phFriNfc_LlcpTransport_ServiceNameLoockup()
[all …]
DphFriNfc_LlcpTransport_Connectionless.h39 …Nfc_LlcpTransport_Connectionless_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket);
DphFriNfc_LlcpTransport_Connection.h39 …LlcpTransport_ConnectionOriented_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket);