Lines Matching refs:rsp

278 	struct ng_mesg	*msg = NULL, *rsp = NULL;
291 NG_MKRESPONSE(rsp, msg, NG_TEXTRESPONSE, M_NOWAIT);
292 if (rsp == NULL) {
307 snprintf(rsp->data, NG_TEXTRESPONSE,
337 NG_MKRESPONSE(rsp, msg, sizeof(unit->state), M_NOWAIT);
338 if (rsp == NULL) {
343 *((ng_hci_node_state_ep *)(rsp->data)) = unit->state;
362 NG_MKRESPONSE(rsp, msg, sizeof(unit->debug), M_NOWAIT);
363 if (rsp == NULL) {
368 *((ng_hci_node_debug_ep *)(rsp->data)) = unit->debug;
385 NG_MKRESPONSE(rsp, msg, sizeof(ng_hci_node_buffer_ep),
387 if (rsp == NULL) {
392 ep = (ng_hci_node_buffer_ep *)(rsp->data);
405 NG_MKRESPONSE(rsp, msg, sizeof(bdaddr_t), M_NOWAIT);
406 if (rsp == NULL) {
411 bcopy(&unit->bdaddr, rsp->data, sizeof(bdaddr_t));
416 NG_MKRESPONSE(rsp,msg,sizeof(unit->features),M_NOWAIT);
417 if (rsp == NULL) {
422 bcopy(&unit->features,rsp->data,sizeof(unit->features));
427 NG_MKRESPONSE(rsp, msg, sizeof(unit->stat), M_NOWAIT);
428 if (rsp == NULL) {
433 bcopy(&unit->stat, rsp->data, sizeof(unit->stat));
468 NG_MKRESPONSE(rsp, msg, sizeof(*e1) + s * sizeof(*e2),
470 if (rsp == NULL) {
475 e1 = (ng_hci_node_get_neighbor_cache_ep *)(rsp->data);
509 NG_MKRESPONSE(rsp, msg, sizeof(*e1) + s * sizeof(*e2),
511 if (rsp == NULL) {
516 e1 = (ng_hci_node_con_list_ep *)(rsp->data);
544 NG_MKRESPONSE(rsp, msg, sizeof(unit->link_policy_mask),
546 if (rsp == NULL) {
551 *((ng_hci_node_link_policy_mask_ep *)(rsp->data)) =
570 NG_MKRESPONSE(rsp, msg, sizeof(unit->packet_mask),
572 if (rsp == NULL) {
577 *((ng_hci_node_packet_mask_ep *)(rsp->data)) =
595 NG_MKRESPONSE(rsp, msg, sizeof(unit->role_switch),
597 if (rsp == NULL) {
602 *((ng_hci_node_role_switch_ep *)(rsp->data)) =
629 /* NG_RESPOND_MSG should take care of "item" and "rsp" */
630 NG_RESPOND_MSG(error, node, item, rsp);