Lines Matching refs:handle
44 ** NFA_P2P_REG_SERVER_EVT will be returned with status and handle.
110 ** NFA_P2P_REG_CLIENT_EVT will be returned with status and handle.
159 ** NFA_STATUS_BAD_HANDLE if handle is not valid
163 tNFA_STATUS NFA_P2pDeregister (tNFA_HANDLE handle)
168 P2P_TRACE_API1 ("NFA_P2pDeregister (): handle:0x%02X", handle);
170 xx = handle & NFA_HANDLE_MASK;
175 P2P_TRACE_ERROR0 ("NFA_P2pDeregister (): Handle is invalid or not registered");
183 p_msg->handle = handle;
202 ** NFA_STATUS_BAD_HANDLE if handle is not valid
206 tNFA_STATUS NFA_P2pAcceptConn (tNFA_HANDLE handle,
213 P2P_TRACE_API3 ("NFA_P2pAcceptConn (): handle:0x%02X, MIU:%d, RW:%d", handle, miu, rw);
215 xx = handle & NFA_HANDLE_MASK;
219 P2P_TRACE_ERROR0 ("NFA_P2pAcceptConn (): Connection Handle is not valid");
230 P2P_TRACE_ERROR0 ("NFA_P2pAcceptConn (): Connection Handle is not valid");
243 p_msg->conn_handle = handle;
264 ** NFA_STATUS_BAD_HANDLE if handle is not valid
268 tNFA_STATUS NFA_P2pRejectConn (tNFA_HANDLE handle)
273 P2P_TRACE_API1 ("NFA_P2pRejectConn (): handle:0x%02X", handle);
275 xx = handle & NFA_HANDLE_MASK;
279 P2P_TRACE_ERROR0 ("NFA_P2pRejectConn (): Connection Handle is not valid");
290 P2P_TRACE_ERROR0 ("NFA_P2pRejectConn (): Connection Handle is not valid");
298 p_msg->conn_handle = handle;
320 ** NFA_STATUS_BAD_HANDLE if handle is not valid
324 tNFA_STATUS NFA_P2pDisconnect (tNFA_HANDLE handle, BOOLEAN flush)
329 P2P_TRACE_API2 ("NFA_P2pDisconnect (): handle:0x%02X, flush=%d", handle, flush);
331 xx = handle & NFA_HANDLE_MASK;
340 P2P_TRACE_ERROR0 ("NFA_P2pDisconnect (): Connection Handle is not valid");
346 P2P_TRACE_ERROR0 ("NFA_P2pDisconnect (): Handle is not valid");
354 p_msg->conn_handle = handle;
395 P2P_TRACE_ERROR0 ("NFA_P2pConnectByName (): Client Handle is not valid");
456 P2P_TRACE_ERROR0 ("NFA_P2pConnectBySap (): Client Handle is not valid");
494 ** NFA_STATUS_BAD_HANDLE if handle is not valid
500 tNFA_STATUS NFA_P2pSendUI (tNFA_HANDLE handle,
509 P2P_TRACE_API3 ("NFA_P2pSendUI (): handle:0x%X, DSAP:0x%02X, length:%d", handle, dsap, length);
513 xx = handle & NFA_HANDLE_MASK;
518 P2P_TRACE_ERROR1 ("NFA_P2pSendUI (): Handle (0x%X) is not valid", handle);
523 P2P_TRACE_ERROR3 ("NFA_P2pSendUI (): handle:0x%X, length(%d) must be less than remote link MIU(%d)",
524 handle, length, nfa_p2p_cb.remote_link_miu);
529 P2P_TRACE_WARNING1 ("NFA_P2pSendUI (): handle:0x%X, logical data link is already congested",
530 handle);
540 P2P_TRACE_WARNING1 ("NFA_P2pSendUI(): handle:0x%X, logical data link is congested",
541 handle);
548 p_msg->handle = handle;
592 ** NFA_STATUS_BAD_HANDLE if handle is not valid
595 tNFA_STATUS NFA_P2pReadUI (tNFA_HANDLE handle,
605 P2P_TRACE_API1 ("NFA_P2pReadUI (): handle:0x%X", handle);
609 xx = handle & NFA_HANDLE_MASK;
614 P2P_TRACE_ERROR1 ("NFA_P2pReadUI (): Handle (0x%X) is not valid", handle);
640 ** NFA_STATUS_BAD_HANDLE if handle is not valid
643 tNFA_STATUS NFA_P2pFlushUI (tNFA_HANDLE handle,
649 P2P_TRACE_API1 ("NFA_P2pReadUI (): handle:0x%X", handle);
653 xx = handle & NFA_HANDLE_MASK;
658 P2P_TRACE_ERROR1 ("NFA_P2pFlushUI (): Handle (0x%X) is not valid", handle);
681 ** NFA_STATUS_BAD_HANDLE if handle is not valid
687 tNFA_STATUS NFA_P2pSendData (tNFA_HANDLE handle,
695 P2P_TRACE_API2 ("NFA_P2pSendData (): handle:0x%X, length:%d", handle, length);
699 xx = handle & NFA_HANDLE_MASK;
702 if ( (!(handle & NFA_P2P_HANDLE_FLAG_CONN))
706 P2P_TRACE_ERROR1 ("NFA_P2pSendData (): Handle(0x%X) is not valid", handle);
711 P2P_TRACE_ERROR1 ("NFA_P2pSendData (): handle:0x%X, Remote set RW to 0 (flow off)", handle);
716 P2P_TRACE_ERROR2 ("NFA_P2pSendData (): handle:0x%X, Data more than remote MIU(%d)",
717 handle, nfa_p2p_cb.conn_cb[xx].remote_miu);
722 P2P_TRACE_WARNING1 ("NFA_P2pSendData (): handle:0x%X, data link connection is already congested",
723 handle);
734 P2P_TRACE_WARNING1 ("NFA_P2pSendData (): handle:0x%X, data link connection is congested",
735 handle);
742 p_msg->conn_handle = handle;
783 ** NFA_STATUS_BAD_HANDLE if handle is not valid
786 tNFA_STATUS NFA_P2pReadData (tNFA_HANDLE handle,
795 P2P_TRACE_API1 ("NFA_P2pReadData (): handle:0x%X", handle);
799 xx = handle & NFA_HANDLE_MASK;
802 if ( (!(handle & NFA_P2P_HANDLE_FLAG_CONN))
806 P2P_TRACE_ERROR1 ("NFA_P2pReadData (): Handle(0x%X) is not valid", handle);
832 ** NFA_STATUS_BAD_HANDLE if handle is not valid
835 tNFA_STATUS NFA_P2pFlushData (tNFA_HANDLE handle,
841 P2P_TRACE_API1 ("NFA_P2pFlushData (): handle:0x%X", handle);
845 xx = handle & NFA_HANDLE_MASK;
848 if ( (!(handle & NFA_P2P_HANDLE_FLAG_CONN))
852 P2P_TRACE_ERROR1 ("NFA_P2pFlushData (): Handle(0x%X) is not valid", handle);
875 ** NFA_STATUS_BAD_HANDLE if handle is not valid
891 P2P_TRACE_ERROR0 ("NFA_P2pSetLocalBusy (): Connection Handle is not valid");
902 P2P_TRACE_ERROR0 ("NFA_P2pSetLocalBusy (): Connection Handle is not valid");
934 tNFA_STATUS NFA_P2pGetLinkInfo (tNFA_HANDLE handle)
939 P2P_TRACE_API1 ("NFA_P2pGetLinkInfo (): handlehandle);
947 xx = handle & NFA_HANDLE_MASK;
952 P2P_TRACE_ERROR0 ("NFA_P2pGetLinkInfo (): Handle is invalid or not registered");
960 p_msg->handle = handle;
983 tNFA_STATUS NFA_P2pGetRemoteSap (tNFA_HANDLE handle,
989 P2P_TRACE_API2 ("NFA_P2pGetRemoteSap(): handle:0x%x, SN:<%s>", handle, p_service_name);
997 xx = handle & NFA_HANDLE_MASK;
1002 P2P_TRACE_ERROR0 ("NFA_P2pGetRemoteSap (): Handle is invalid or not registered");
1010 p_msg->handle = handle;