Lines Matching refs:mrp
438 struct mbuf *mcp, struct mbuf *mrp)
482 NG_FREE_M(mrp);
493 struct mbuf *mcp, struct mbuf *mrp)
503 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
504 if (mrp != NULL) {
505 rp = mtod(mrp, ng_hci_role_discovery_rp *);
551 NG_FREE_M(mrp);
562 struct mbuf *mcp, struct mbuf *mrp)
664 NG_FREE_M(mrp);
675 struct mbuf *mrp)
685 m_adj(mrp, sizeof(u_int8_t));
686 len = min(mrp->m_pkthdr.len, sizeof(unit->features));
687 m_copydata(mrp, 0, len, (caddr_t) unit->features);
697 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
698 if (mrp != NULL) {
699 rp = mtod(mrp, ng_hci_read_buffer_size_rp *);
727 m_adj(mrp, sizeof(u_int8_t));
728 len = min(mrp->m_pkthdr.len, sizeof(unit->bdaddr));
729 m_copydata(mrp, 0, len, (caddr_t) &unit->bdaddr);
742 NG_FREE_M(mrp);
753 struct mbuf *mrp)
771 NG_FREE_M(mrp);
782 struct mbuf *mrp)
805 NG_FREE_M(mrp);
816 struct mbuf *mcp, struct mbuf *mrp)
868 NG_FREE_M(mrp);