Lines Matching defs:mrp
439 struct mbuf *mcp, struct mbuf *mrp)
483 NG_FREE_M(mrp);
494 struct mbuf *mcp, struct mbuf *mrp)
504 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
505 if (mrp != NULL) {
506 rp = mtod(mrp, ng_hci_role_discovery_rp *);
552 NG_FREE_M(mrp);
563 struct mbuf *mcp, struct mbuf *mrp)
665 NG_FREE_M(mrp);
676 struct mbuf *mrp)
686 m_adj(mrp, sizeof(u_int8_t));
687 len = min(mrp->m_pkthdr.len, sizeof(unit->features));
688 m_copydata(mrp, 0, len, (caddr_t) unit->features);
698 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
699 if (mrp != NULL) {
700 rp = mtod(mrp, ng_hci_read_buffer_size_rp *);
728 m_adj(mrp, sizeof(u_int8_t));
729 len = min(mrp->m_pkthdr.len, sizeof(unit->bdaddr));
730 m_copydata(mrp, 0, len, (caddr_t) &unit->bdaddr);
743 NG_FREE_M(mrp);
754 struct mbuf *mrp)
772 NG_FREE_M(mrp);
783 struct mbuf *mrp)
806 NG_FREE_M(mrp);
817 struct mbuf *mcp, struct mbuf *mrp)
869 NG_FREE_M(mrp);