Lines Matching refs:scid
473 dcid = le16toh(cp->scid); in ng_l2cap_process_con_req()
506 send_l2cap_con_rej(con, ident, ch->scid, dcid, in ng_l2cap_process_con_req()
526 u_int16_t scid, dcid, result, status; in ng_l2cap_process_con_rsp() local
536 scid = le16toh(cp->scid); in ng_l2cap_process_con_rsp()
559 __func__, NG_NODE_NAME(l2cap->node), scid, in ng_l2cap_process_con_rsp()
565 if (cmd->ch->scid != scid) { in ng_l2cap_process_con_rsp()
568 __func__, NG_NODE_NAME(l2cap->node), cmd->ch->scid, in ng_l2cap_process_con_rsp()
569 scid); in ng_l2cap_process_con_rsp()
608 cmd->ch->state = ((cmd->ch->scid == NG_L2CAP_ATT_CID)|| in ng_l2cap_process_con_rsp()
609 (cmd->ch->scid == NG_L2CAP_SMP_CID)) in ng_l2cap_process_con_rsp()
633 send_l2cap_reject(con, ident, NG_L2CAP_REJ_INVALID_CID, 0, scid, dcid); in ng_l2cap_process_con_rsp()
782 u_int16_t scid, cflag, result; in ng_l2cap_process_cfg_rsp() local
794 scid = le16toh(cp->scid); in ng_l2cap_process_cfg_rsp()
812 if (cmd->ch->scid != scid) { in ng_l2cap_process_cfg_rsp()
816 __func__, NG_NODE_NAME(l2cap->node), cmd->ch->scid, in ng_l2cap_process_cfg_rsp()
817 scid); in ng_l2cap_process_cfg_rsp()
826 __func__, NG_NODE_NAME(l2cap->node), cmd->ch->scid, in ng_l2cap_process_cfg_rsp()
920 send_l2cap_reject(con, ident, NG_L2CAP_REJ_INVALID_CID, 0, scid, 0); in ng_l2cap_process_cfg_rsp()
936 u_int16_t scid, dcid; in ng_l2cap_process_discon_req() local
945 scid = le16toh(cp->scid); in ng_l2cap_process_discon_req()
970 if (ch->dcid != scid || ch->scid != dcid) { in ng_l2cap_process_discon_req()
975 __func__, NG_NODE_NAME(l2cap->node), ch->scid, ch->dcid, in ng_l2cap_process_discon_req()
976 scid, dcid); in ng_l2cap_process_discon_req()
996 _ng_l2cap_discon_rsp(cmd->aux, ident, dcid, scid); in ng_l2cap_process_discon_req()
1011 send_l2cap_reject(con, ident, NG_L2CAP_REJ_INVALID_CID, 0, scid, dcid); in ng_l2cap_process_discon_req()
1026 u_int16_t scid, dcid; in ng_l2cap_process_discon_rsp() local
1036 scid = le16toh(cp->scid); in ng_l2cap_process_discon_rsp()
1055 __func__, NG_NODE_NAME(l2cap->node), scid, in ng_l2cap_process_discon_rsp()
1061 if (cmd->ch->scid != scid || cmd->ch->dcid != dcid) { in ng_l2cap_process_discon_rsp()
1065 __func__, NG_NODE_NAME(l2cap->node), cmd->ch->scid, in ng_l2cap_process_discon_rsp()
1066 scid, cmd->ch->dcid, dcid); in ng_l2cap_process_discon_rsp()
1294 u_int16_t mtu, u_int16_t scid, u_int16_t dcid) in send_l2cap_reject() argument
1302 _ng_l2cap_cmd_rej(cmd->aux, cmd->ident, reason, mtu, scid, dcid); in send_l2cap_reject()
1321 send_l2cap_con_rej(ng_l2cap_con_p con, u_int8_t ident, u_int16_t scid, in send_l2cap_con_rej() argument
1330 _ng_l2cap_con_rsp(cmd->aux, cmd->ident, scid, dcid, result, 0); in send_l2cap_con_rej()
1349 send_l2cap_cfg_rsp(ng_l2cap_con_p con, u_int8_t ident, u_int16_t scid, in send_l2cap_cfg_rsp() argument
1361 _ng_l2cap_cfg_rsp(cmd->aux, cmd->ident, scid, 0, result, opt); in send_l2cap_cfg_rsp()