Lines Matching defs: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)
666 NG_FREE_M(mrp);
677 struct mbuf *mrp)
687 m_adj(mrp, sizeof(u_int8_t));
688 len = min(mrp->m_pkthdr.len, sizeof(unit->features));
689 m_copydata(mrp, 0, len, (caddr_t) unit->features);
699 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
700 if (mrp != NULL) {
701 rp = mtod(mrp, ng_hci_read_buffer_size_rp *);
729 m_adj(mrp, sizeof(u_int8_t));
730 len = min(mrp->m_pkthdr.len, sizeof(unit->bdaddr));
731 m_copydata(mrp, 0, len, (caddr_t) &unit->bdaddr);
744 NG_FREE_M(mrp);
755 struct mbuf *mrp)
773 NG_FREE_M(mrp);
784 struct mbuf *mrp)
807 NG_FREE_M(mrp);
818 struct mbuf *mcp, struct mbuf *mrp)
870 NG_FREE_M(mrp);