Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c133 …phFriNfc_LlcpTransport_Socket_t * pLlcpSocket = (phFriNfc_LlcpTransport_Socket_t*)pContext; in phFriNfc_LlcpTransport_Connectionless_SendTo_CB() local
138 pfSavedCallback = pLlcpSocket->pfSocketSend_Cb; in phFriNfc_LlcpTransport_Connectionless_SendTo_CB()
141 pLlcpSocket->pfSocketSend_Cb = NULL; in phFriNfc_LlcpTransport_Connectionless_SendTo_CB()
142 pfSavedCallback(pLlcpSocket->pSendContext, status); in phFriNfc_LlcpTransport_Connectionless_SendTo_CB()
146 …atic void phFriNfc_LlcpTransport_Connectionless_Abort(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket) in phFriNfc_LlcpTransport_Connectionless_Abort() argument
148 if (pLlcpSocket->pfSocketSend_Cb != NULL) in phFriNfc_LlcpTransport_Connectionless_Abort()
150 pLlcpSocket->pfSocketSend_Cb(pLlcpSocket->pSendContext, NFCSTATUS_ABORTED); in phFriNfc_LlcpTransport_Connectionless_Abort()
151 pLlcpSocket->pSendContext = NULL; in phFriNfc_LlcpTransport_Connectionless_Abort()
152 pLlcpSocket->pfSocketSend_Cb = NULL; in phFriNfc_LlcpTransport_Connectionless_Abort()
154 if (pLlcpSocket->pfSocketRecvFrom_Cb != NULL) in phFriNfc_LlcpTransport_Connectionless_Abort()
[all …]
DphFriNfc_LlcpTransport_Connection.c37 …c NFCSTATUS phFriNfc_Llcp_Send_ReceiveReady_Frame(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket);
38 …NFCSTATUS phFriNfc_Llcp_Send_ReceiveNotReady_Frame(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket);
269 …void phFriNfc_LlcpTransport_ConnectionOriented_Abort(phFriNfc_LlcpTransport_Socket_t * pLlcpSocket) in phFriNfc_LlcpTransport_ConnectionOriented_Abort() argument
271 if (pLlcpSocket->pfSocketSend_Cb != NULL) in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
273 pLlcpSocket->pfSocketSend_Cb(pLlcpSocket->pSendContext, NFCSTATUS_ABORTED); in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
274 pLlcpSocket->pfSocketSend_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
276 pLlcpSocket->pSendContext = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
277 if (pLlcpSocket->pfSocketRecv_Cb != NULL) in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
279 pLlcpSocket->pfSocketRecv_Cb(pLlcpSocket->pRecvContext, NFCSTATUS_ABORTED); in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
280 pLlcpSocket->pfSocketRecv_Cb = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_Abort()
[all …]
DphFriNfc_LlcpTransport.c41 static NFCSTATUS phFriNfc_LlcpTransport_RegisterName(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
994 …CSTATUS phFriNfc_LlcpTransport_SocketGetLocalOptions(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket, in phFriNfc_LlcpTransport_SocketGetLocalOptions() argument
1000 if (pLlcpSocket == NULL || psLocalOptions == NULL) in phFriNfc_LlcpTransport_SocketGetLocalOptions()
1005 else if(pLlcpSocket->eSocket_Type != phFriNfc_LlcpTransport_eConnectionOriented) in phFriNfc_LlcpTransport_SocketGetLocalOptions()
1010 else if(pLlcpSocket->eSocket_State == phFriNfc_LlcpTransportSocket_eSocketDefault) in phFriNfc_LlcpTransport_SocketGetLocalOptions()
1016 status = phFriNfc_LlcpTransport_ConnectionOriented_SocketGetLocalOptions(pLlcpSocket, in phFriNfc_LlcpTransport_SocketGetLocalOptions()
1044 …TATUS phFriNfc_LlcpTransport_SocketGetRemoteOptions(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket, in phFriNfc_LlcpTransport_SocketGetRemoteOptions() argument
1050 if (pLlcpSocket == NULL || psRemoteOptions == NULL) in phFriNfc_LlcpTransport_SocketGetRemoteOptions()
1055 else if(pLlcpSocket->eSocket_Type != phFriNfc_LlcpTransport_eConnectionOriented) in phFriNfc_LlcpTransport_SocketGetRemoteOptions()
1060 else if(pLlcpSocket->eSocket_State != phFriNfc_LlcpTransportSocket_eSocketConnected) in phFriNfc_LlcpTransport_SocketGetRemoteOptions()
[all …]
DphFriNfc_LlcpTransport_Connection.h61 …cpTransport_ConnectionOriented_SocketGetLocalOptions(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket,
84 …Transport_ConnectionOriented_SocketGetRemoteOptions(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
101 …US phFriNfc_LlcpTransport_ConnectionOriented_Close(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket);
127 …iNfc_LlcpTransport_ConnectionOriented_Listen(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
155 …c_LlcpTransport_ConnectionOriented_Accept(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
180 …fc_LlcpTransport_ConnectionOriented_Reject( phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
208 …c_LlcpTransport_ConnectionOriented_Connect( phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
237 …LlcpTransport_ConnectionOriented_Disconnect(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
266 …Nfc_LlcpTransport_ConnectionOriented_Send(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
298 …fc_LlcpTransport_ConnectionOriented_Recv( phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
DphFriNfc_LlcpTransport.h397 …CSTATUS phFriNfc_LlcpTransport_SocketGetLocalOptions(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket,
421 …TATUS phFriNfc_LlcpTransport_SocketGetRemoteOptions(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
460 … phFriNfc_LlcpTransport_Socket_t **pLlcpSocket,
478 NFCSTATUS phFriNfc_LlcpTransport_Close(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket);
500 NFCSTATUS phFriNfc_LlcpTransport_Bind(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket,
528 NFCSTATUS phFriNfc_LlcpTransport_Listen(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
555 NFCSTATUS phFriNfc_LlcpTransport_Accept(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
579 NFCSTATUS phFriNfc_LlcpTransport_Reject( phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
605 NFCSTATUS phFriNfc_LlcpTransport_Connect( phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
635 …CSTATUS phFriNfc_LlcpTransport_ConnectByUri(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket,
[all …]
DphFriNfc_LlcpTransport_Connectionless.h54 …STATUS phFriNfc_LlcpTransport_Connectionless_Close(phFriNfc_LlcpTransport_Socket_t* pLlcpSocket);
83 …riNfc_LlcpTransport_Connectionless_SendTo(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket,
115 …cpTransport_Connectionless_RecvFrom(phFriNfc_LlcpTransport_Socket_t *pLlcpSocket,