• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/netgraph/bluetooth/l2cap/

Lines Matching refs:msg

260 	struct ng_mesg	*msg = NGI_MSG(item); /* item still has message */
263 switch (msg->header.typecookie) {
265 switch (msg->header.cmd) {
270 if (msg->header.arglen != sizeof(*ep))
273 ep = (ng_hci_node_up_ep *)(msg->data);
300 if (msg->header.arglen != sizeof(*ep))
303 ep = (ng_hci_sync_con_queue_ep *)(msg->data);
333 error = ng_l2cap_lp_con_cfm(l2cap, msg);
338 error = ng_l2cap_lp_con_ind(l2cap, msg);
343 error = ng_l2cap_lp_discon_ind(l2cap, msg);
348 error = ng_l2cap_lp_qos_cfm(l2cap, msg);
353 error = ng_l2cap_lp_qos_ind(l2cap, msg);
356 error = ng_l2cap_lp_enc_change(l2cap, msg);
382 struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
385 switch (msg->header.typecookie) {
387 switch (msg->header.cmd) {
390 error = ng_l2cap_l2ca_con_req(l2cap, msg);
395 error = ng_l2cap_l2ca_con_rsp_req(l2cap, msg);
400 error = ng_l2cap_l2ca_cfg_req(l2cap, msg);
405 error = ng_l2cap_l2ca_cfg_rsp_req(l2cap, msg);
410 error = ng_l2cap_l2ca_discon_req(l2cap, msg);
415 error = ng_l2cap_l2ca_grp_create(l2cap, msg);
420 error = ng_l2cap_l2ca_grp_close(l2cap, msg);
425 error = ng_l2cap_l2ca_grp_add_member_req(l2cap, msg);
430 error = ng_l2cap_l2ca_grp_rem_member(l2cap, msg);
435 error = ng_l2cap_l2ca_grp_get_members(l2cap, msg);
440 error = ng_l2cap_l2ca_ping_req(l2cap, msg);
445 error = ng_l2cap_l2ca_get_info_req(l2cap, msg);
450 error = ng_l2cap_l2ca_enable_clt(l2cap, msg);
477 struct ng_mesg *msg = NULL, *rsp = NULL;
481 NGI_GET_MSG(item, msg);
483 switch (msg->header.typecookie) {
485 switch (msg->header.cmd) {
487 NG_MKRESPONSE(rsp, msg, NG_TEXTRESPONSE, M_NOWAIT);
517 switch (msg->header.cmd) {
520 NG_MKRESPONSE(rsp, msg, sizeof(ng_l2cap_node_flags_ep),
531 NG_MKRESPONSE(rsp, msg, sizeof(ng_l2cap_node_debug_ep),
542 if (msg->header.arglen !=
547 *((ng_l2cap_node_debug_ep *)(msg->data));
564 NG_MKRESPONSE(rsp, msg,
611 NG_MKRESPONSE(rsp, msg,
644 NG_MKRESPONSE(rsp, msg,
654 if (msg->header.arglen !=
660 (msg->data));
675 NG_FREE_MSG(msg);