Lines Matching refs:idtype

107 	ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype);  in ng_l2cap_l2ca_con_req()
130 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_con_req()
134 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ in ng_l2cap_l2ca_con_req()
197 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_con_rsp()
200 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_con_rsp()
203 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_con_rsp()
368 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)? in ng_l2cap_l2ca_encryption_change()
372 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_encryption_change()
871 if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_write_req()
874 } else if (l2ca_hdr->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ in ng_l2cap_l2ca_write_req()
889 l2ca_hdr->idtype); in ng_l2cap_l2ca_write_req()
964 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_write_rsp()
967 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_write_rsp()
970 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_write_rsp()
994 int idtype; in ng_l2cap_l2ca_receive() local
1007 idtype = NG_L2CAP_L2CA_IDTYPE_ATT; in ng_l2cap_l2ca_receive()
1017 idtype = NG_L2CAP_L2CA_IDTYPE_SMP; in ng_l2cap_l2ca_receive()
1027 idtype = (con->linktype==NG_HCI_LINK_ACL)? in ng_l2cap_l2ca_receive()
1030 ch = ng_l2cap_chan_by_scid(l2cap, hdr->dcid, idtype); in ng_l2cap_l2ca_receive()
1036 __func__, NG_NODE_NAME(l2cap->node), hdr->dcid, idtype); in ng_l2cap_l2ca_receive()
1081 *idp = idtype; in ng_l2cap_l2ca_receive()
1235 if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_ATT){ in ng_l2cap_l2ca_discon_req()
1250 }else if(ip->idtype == NG_L2CAP_L2CA_IDTYPE_SMP){ in ng_l2cap_l2ca_discon_req()
1267 ch = ng_l2cap_chan_by_scid(l2cap, ip->lcid, ip->idtype); in ng_l2cap_l2ca_discon_req()
1392 ip->idtype = ch->idtype; in ng_l2cap_l2ca_discon_ind()
1393 if(ch->idtype == NG_L2CAP_L2CA_IDTYPE_ATT|| in ng_l2cap_l2ca_discon_ind()
1394 ch->idtype == NG_L2CAP_L2CA_IDTYPE_SMP) in ng_l2cap_l2ca_discon_ind()