Lines Matching defs:con_handle

79 "Connection already exists, state=%d, con_handle=%d\n",
81 con->con_handle);
169 "Invalid connection state, state=%d, con_handle=%d\n",
171 con->con_handle);
188 con->con_handle = ep->con_handle;
230 "Connection already exists, state=%d, con_handle=%d\n",
232 con->con_handle);
307 con = ng_l2cap_con_by_handle(l2cap, ep->con_handle);
311 "Connection does not exist, con_handle=%d\n",
312 __func__, NG_NODE_NAME(l2cap->node), ep->con_handle);
321 "Invalid connection state, state=%d, con_handle=%d\n",
323 con->con_handle);
349 ng_l2cap_lp_qos_req(ng_l2cap_p l2cap, u_int16_t con_handle,
358 con = ng_l2cap_con_by_handle(l2cap, con_handle);
362 "Connection does not exist, con_handle=%d\n",
363 __func__, NG_NODE_NAME(l2cap->node), con_handle);
372 "Invalid connection state, state=%d, con_handle=%d\n",
374 con->con_handle);
395 ep->con_handle = con_handle;
458 con = ng_l2cap_con_by_handle(l2cap, ep->con_handle);
462 "Connection does not exist, con_handle=%d\n",
463 __func__, NG_NODE_NAME(l2cap->node), ep->con_handle);
472 "Invalid connection state, state=%d, con_handle=%d\n",
474 con->con_handle);
503 con = ng_l2cap_con_by_handle(l2cap, ep->con_handle);
507 "Connection does not exist, con_handle=%d\n",
508 __func__, NG_NODE_NAME(l2cap->node), ep->con_handle);
517 "Invalid connection state, state=%d, con_handle=%d\n",
519 con->con_handle);
527 if((ch->con->con_handle == ep->con_handle) &&
606 acl_hdr->con_handle = htole16(NG_HCI_MK_CON_HANDLE(
607 con->con_handle, flag, 0));
620 "%s: %s - attaching ACL packet, con_handle=%d, PB=%#x, length=%d\n",
621 __func__, NG_NODE_NAME(l2cap->node), con->con_handle,
663 u_int16_t con_handle, length, pb;
684 acl_hdr->con_handle = le16toh(acl_hdr->con_handle);
685 con_handle = NG_HCI_CON_HANDLE(acl_hdr->con_handle);
686 pb = NG_HCI_PB_FLAG(acl_hdr->con_handle);
690 "%s: %s - got ACL data packet, con_handle=%d, PB=%#x, length=%d\n",
691 __func__, NG_NODE_NAME(l2cap->node), con_handle, pb, length);
694 con = ng_l2cap_con_by_handle(l2cap, con_handle);
698 "Connection does not exist, con_handle=%d\n",
699 __func__, NG_NODE_NAME(l2cap->node), con_handle);
741 "%s: %s - staring new L2CAP packet, con_handle=%d, length=%d\n",
742 __func__, NG_NODE_NAME(l2cap->node), con_handle,
751 "%s: %s - unexpected ACL data packet fragment, con_handle=%d\n",
753 con->con_handle);
832 "%s: %s - sending ACL packet, con_handle=%d, len=%d\n",
833 __func__, NG_NODE_NAME(l2cap->node), con->con_handle,
839 "%s: %s - could not send ACL data packet, con_handle=%d, error=%d\n",
841 con->con_handle, error);
850 "%s: %s - %d ACL packets have been sent, con_handle=%d\n",
852 con->con_handle);
871 ng_l2cap_process_lp_timeout(node_p node, hook_p hook, void *arg1, int con_handle)
882 con = ng_l2cap_con_by_handle(l2cap, con_handle);
886 "%s: %s - could not find connection, con_handle=%d\n",
887 __func__, NG_NODE_NAME(node), con_handle);
893 "%s: %s - no pending LP timeout, con_handle=%d, state=%d, flags=%#x\n",
894 __func__, NG_NODE_NAME(node), con_handle, con->state,
914 ng_l2cap_process_discon_timeout(node_p node, hook_p hook, void *arg1, int con_handle)
928 con = ng_l2cap_con_by_handle(l2cap, con_handle);
932 "%s: %s - could not find connection, con_handle=%d\n",
933 __func__, NG_NODE_NAME(node), con_handle);
939 "%s: %s - no pending disconnect timeout, con_handle=%d, state=%d, flags=%#x\n",
940 __func__, NG_NODE_NAME(node), con_handle, con->state,
962 ep->con_handle = con->con_handle;