Lines Matching defs:op

166 	ng_l2cap_l2ca_con_op	*op = NULL;
181 sizeof(*op), M_NOWAIT);
188 op = (ng_l2cap_l2ca_con_op *)(msg->data);
196 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
197 op->lcid = ch->con->con_handle;
199 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
200 op->lcid = ch->con->con_handle;
202 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)?
205 op->lcid = ch->scid;
207 op->encryption = ch->con->encryption;
208 op->result = result;
209 op->status = status;
340 ng_l2cap_l2ca_enc_chg_op *op = NULL;
355 sizeof(*op), M_NOWAIT);
362 op = (ng_l2cap_l2ca_enc_chg_op *)(msg->data);
363 op->result = result;
366 op->lcid = ch->con->con_handle;
367 op->idtype = (ch->scid==NG_L2CAP_ATT_CID)?
371 op->idtype =(ch->con->linktype ==NG_HCI_LINK_ACL)?
392 ng_l2cap_l2ca_con_rsp_op *op = NULL;
407 sizeof(*op), M_NOWAIT);
414 op = (ng_l2cap_l2ca_con_rsp_op *)(msg->data);
415 op->result = result;
583 ng_l2cap_l2ca_cfg_op *op = NULL;
598 sizeof(*op), M_NOWAIT);
605 op = (ng_l2cap_l2ca_cfg_op *)(msg->data);
606 op->result = result;
607 op->imtu = ch->imtu;
608 bcopy(&ch->oflow, &op->oflow, sizeof(op->oflow));
609 op->flush_timo = ch->flush_timo;
743 ng_l2cap_l2ca_cfg_rsp_op *op = NULL;
758 sizeof(*op), M_NOWAIT);
765 op = (ng_l2cap_l2ca_cfg_rsp_op *)(msg->data);
766 op->result = result;
937 ng_l2cap_l2ca_write_op *op = NULL;
952 sizeof(*op), M_NOWAIT);
959 op = (ng_l2cap_l2ca_write_op *)(msg->data);
960 op->result = result;
961 op->length = length;
963 op->idtype = NG_L2CAP_L2CA_IDTYPE_ATT;
964 op->lcid = ch->con->con_handle;
966 op->idtype = NG_L2CAP_L2CA_IDTYPE_SMP;
967 op->lcid = ch->con->con_handle;
969 op->idtype = (ch->con->linktype == NG_HCI_LINK_ACL)?
972 op->lcid = ch->scid;
1332 ng_l2cap_l2ca_discon_op *op = NULL;
1347 sizeof(*op), M_NOWAIT);
1354 op = (ng_l2cap_l2ca_discon_op *)(msg->data);
1355 op->result = result;
1561 ng_l2cap_l2ca_ping_op *op = NULL;
1578 sizeof(*op) + size, M_NOWAIT);
1585 op = (ng_l2cap_l2ca_ping_op *)(msg->data);
1586 op->result = result;
1587 bcopy(&con->remote, &op->bdaddr, sizeof(op->bdaddr));
1589 op->echo_size = size;
1590 m_copydata(data, 0, size, (caddr_t) op + sizeof(*op));
1682 ng_l2cap_l2ca_get_info_op *op = NULL;
1699 sizeof(*op) + size, M_NOWAIT);
1706 op = (ng_l2cap_l2ca_get_info_op *)(msg->data);
1707 op->result = result;
1709 op->info_size = size;
1710 m_copydata(data, 0, size, (caddr_t) op + sizeof(*op));
1732 * ng_l2cap_l2ca_enable_clt_op *op = NULL;
1803 * sizeof(*op), M_NOWAIT);
1810 * op = (ng_l2cap_l2ca_enable_clt_op *)(msg->data);
1811 * op->result = result;