Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c36 …iNfc_LlcpTransport_Connectionless_HandlePendingOperations(phFriNfc_LlcpTransport_Socket_t *pSocket) in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations() argument
41 if ((pSocket->pfSocketSend_Cb != NULL) && in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
42 (pSocket->psTransport->bSendPending == FALSE)) in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
45 pSocket->sLlcpHeader.dsap = pSocket->socket_dSap; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
46 pSocket->sLlcpHeader.ptype = PHFRINFC_LLCP_PTYPE_UI; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
47 pSocket->sLlcpHeader.ssap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
50 status = phFriNfc_LlcpTransport_LinkSend(pSocket->psTransport, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
51 &pSocket->sLlcpHeader, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
53 &pSocket->sSocketSendBuffer, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
55 pSocket->index, in phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations()
[all …]
DphFriNfc_LlcpTransport_Connection.c111 …_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()
[all …]
DphFriNfc_LlcpTransport.c196 phFriNfc_LlcpTransport_Socket_t * pSocket; in phFriNfc_LlcpTransport_ServiceNameLoockup() local
201 pSocket = &psTransport->pSocketTable[index]; in phFriNfc_LlcpTransport_ServiceNameLoockup()
204 if((((pSocket->eSocket_Type == phFriNfc_LlcpTransport_eConnectionOriented) in phFriNfc_LlcpTransport_ServiceNameLoockup()
205 && (pSocket->eSocket_State == phFriNfc_LlcpTransportSocket_eSocketRegistered)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
206 || ((pSocket->eSocket_Type == phFriNfc_LlcpTransport_eConnectionLess) in phFriNfc_LlcpTransport_ServiceNameLoockup()
207 && (pSocket->eSocket_State == phFriNfc_LlcpTransportSocket_eSocketBound))) in phFriNfc_LlcpTransport_ServiceNameLoockup()
209 (pServiceName->length == pSocket->sServiceName.length) in phFriNfc_LlcpTransport_ServiceNameLoockup()
210 && !memcmp(pServiceName->buffer, pSocket->sServiceName.buffer, pServiceName->length)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
230 pCachedServiceName->nSap = pSocket->socket_sSap; in phFriNfc_LlcpTransport_ServiceNameLoockup()
243 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);
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_manager_win.cc573 UdpSocket2Windows* pSocket = NULL; in Process() local
578 (ULONG_PTR*)&pSocket, &pOverlapped, 200); in Process()
592 if(pSocket == NULL) in Process()
603 pSocket->IOCompleted(pIOContext,ioSize,error); in Process()