Lines Matching defs:rsp

294 	struct ng_mesg	*msg = NULL, *rsp = NULL;
307 NG_MKRESPONSE(rsp, msg, NG_TEXTRESPONSE, M_NOWAIT);
308 if (rsp == NULL) {
323 snprintf(rsp->data, NG_TEXTRESPONSE,
353 NG_MKRESPONSE(rsp, msg, sizeof(unit->state), M_NOWAIT);
354 if (rsp == NULL) {
359 *((ng_hci_node_state_ep *)(rsp->data)) = unit->state;
378 NG_MKRESPONSE(rsp, msg, sizeof(unit->debug), M_NOWAIT);
379 if (rsp == NULL) {
384 *((ng_hci_node_debug_ep *)(rsp->data)) = unit->debug;
401 NG_MKRESPONSE(rsp, msg, sizeof(ng_hci_node_buffer_ep),
403 if (rsp == NULL) {
408 ep = (ng_hci_node_buffer_ep *)(rsp->data);
421 NG_MKRESPONSE(rsp, msg, sizeof(bdaddr_t), M_NOWAIT);
422 if (rsp == NULL) {
427 bcopy(&unit->bdaddr, rsp->data, sizeof(bdaddr_t));
432 NG_MKRESPONSE(rsp,msg,sizeof(unit->features),M_NOWAIT);
433 if (rsp == NULL) {
438 bcopy(&unit->features,rsp->data,sizeof(unit->features));
443 NG_MKRESPONSE(rsp, msg, sizeof(unit->stat), M_NOWAIT);
444 if (rsp == NULL) {
449 bcopy(&unit->stat, rsp->data, sizeof(unit->stat));
484 NG_MKRESPONSE(rsp, msg, sizeof(*e1) + s * sizeof(*e2),
486 if (rsp == NULL) {
491 e1 = (ng_hci_node_get_neighbor_cache_ep *)(rsp->data);
529 NG_MKRESPONSE(rsp, msg, sizeof(*e1) + s * sizeof(*e2),
531 if (rsp == NULL) {
536 e1 = (ng_hci_node_con_list_ep *)(rsp->data);
564 NG_MKRESPONSE(rsp, msg, sizeof(unit->link_policy_mask),
566 if (rsp == NULL) {
571 *((ng_hci_node_link_policy_mask_ep *)(rsp->data)) =
590 NG_MKRESPONSE(rsp, msg, sizeof(unit->packet_mask),
592 if (rsp == NULL) {
597 *((ng_hci_node_packet_mask_ep *)(rsp->data)) =
615 NG_MKRESPONSE(rsp, msg, sizeof(unit->role_switch),
617 if (rsp == NULL) {
622 *((ng_hci_node_role_switch_ep *)(rsp->data)) =
649 /* NG_RESPOND_MSG should take care of "item" and "rsp" */
650 NG_RESPOND_MSG(error, node, item, rsp);