Lines Matching defs:mrp
437 struct mbuf *mcp, struct mbuf *mrp)
481 NG_FREE_M(mrp);
492 struct mbuf *mcp, struct mbuf *mrp)
502 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
503 if (mrp != NULL) {
504 rp = mtod(mrp, ng_hci_role_discovery_rp *);
550 NG_FREE_M(mrp);
561 struct mbuf *mcp, struct mbuf *mrp)
663 NG_FREE_M(mrp);
674 struct mbuf *mrp)
684 m_adj(mrp, sizeof(u_int8_t));
685 len = min(mrp->m_pkthdr.len, sizeof(unit->features));
686 m_copydata(mrp, 0, len, (caddr_t) unit->features);
696 NG_HCI_M_PULLUP(mrp, sizeof(*rp));
697 if (mrp != NULL) {
698 rp = mtod(mrp, ng_hci_read_buffer_size_rp *);
726 m_adj(mrp, sizeof(u_int8_t));
727 len = min(mrp->m_pkthdr.len, sizeof(unit->bdaddr));
728 m_copydata(mrp, 0, len, (caddr_t) &unit->bdaddr);
741 NG_FREE_M(mrp);
752 struct mbuf *mrp)
770 NG_FREE_M(mrp);
781 struct mbuf *mrp)
805 NG_FREE_M(mrp);
816 struct mbuf *mcp, struct mbuf *mrp)
869 NG_FREE_M(mrp);