Lines Matching refs:pSocket
196 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()
327 phFriNfc_LlcpTransport_Socket_t *pSocket; in Handle_Discovery_IncomingFrame() local
365 pSocket = phFriNfc_LlcpTransport_ServiceNameLoockup(psTransport, &sServiceName); in Handle_Discovery_IncomingFrame()
366 if (pSocket != NULL) in Handle_Discovery_IncomingFrame()
368 nSap = pSocket->socket_sSap; in Handle_Discovery_IncomingFrame()