Lines Matching refs:reqmp
34 mblk_t *reqmp; in softmac_send_notify_req() local
39 reqmp = mexchange(NULL, NULL, DL_NOTIFY_REQ_SIZE, M_PROTO, in softmac_send_notify_req()
41 if (reqmp == NULL) in softmac_send_notify_req()
44 ((dl_notify_req_t *)reqmp->b_rptr)->dl_notifications = notifications; in softmac_send_notify_req()
46 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_send_notify_req()
53 mblk_t *reqmp; in softmac_send_bind_req() local
58 reqmp = mexchange(NULL, NULL, DL_BIND_REQ_SIZE, M_PROTO, DL_BIND_REQ); in softmac_send_bind_req()
59 if (reqmp == NULL) in softmac_send_bind_req()
62 bind = (dl_bind_req_t *)reqmp->b_rptr; in softmac_send_bind_req()
69 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_send_bind_req()
75 mblk_t *reqmp; in softmac_send_unbind_req() local
80 reqmp = mexchange(NULL, NULL, DL_UNBIND_REQ_SIZE, M_PROTO, in softmac_send_unbind_req()
82 if (reqmp == NULL) in softmac_send_unbind_req()
85 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_send_unbind_req()
91 mblk_t *reqmp; in softmac_send_promisc_req() local
106 reqmp = mexchange(NULL, NULL, size, M_PROTO, dl_prim); in softmac_send_promisc_req()
107 if (reqmp == NULL) in softmac_send_promisc_req()
111 ((dl_promiscon_req_t *)reqmp->b_rptr)->dl_level = level; in softmac_send_promisc_req()
113 ((dl_promiscoff_req_t *)reqmp->b_rptr)->dl_level = level; in softmac_send_promisc_req()
115 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_send_promisc_req()
136 mblk_t *reqmp; in softmac_m_multicst() local
153 reqmp = mexchange(NULL, NULL, size, M_PROTO, dl_prim); in softmac_m_multicst()
154 if (reqmp == NULL) in softmac_m_multicst()
158 enabmulti = (dl_enabmulti_req_t *)reqmp->b_rptr; in softmac_m_multicst()
163 disabmulti = (dl_disabmulti_req_t *)reqmp->b_rptr; in softmac_m_multicst()
171 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_m_multicst()
180 mblk_t *reqmp; in softmac_m_unicst() local
188 reqmp = mexchange(NULL, NULL, size, M_PROTO, DL_SET_PHYS_ADDR_REQ); in softmac_m_unicst()
189 if (reqmp == NULL) in softmac_m_unicst()
192 phyaddr = (dl_set_phys_addr_req_t *)reqmp->b_rptr; in softmac_m_unicst()
199 return (softmac_proto_tx(slp, reqmp, NULL)); in softmac_m_unicst()