Lines Matching refs:mh

128 mac_features_to_flags(mac_handle_t mh)  in mac_features_to_flags()  argument
134 if (mac_capab_get(mh, MAC_CAPAB_HCKSUM, &cap_sum)) { in mac_features_to_flags()
148 if (mac_capab_get(mh, MAC_CAPAB_LSO, &cap_lso)) in mac_features_to_flags()
555 mac_unregister(mac_handle_t mh) in mac_unregister() argument
558 mac_impl_t *mip = (mac_impl_t *)mh; in mac_unregister()
563 if ((err = mac_disable_nowait(mh)) != 0) in mac_unregister()
677 mac_rx_ring(mac_handle_t mh, mac_ring_handle_t mrh, mblk_t *mp_chain, in mac_rx_ring() argument
688 mac_rx(mh, (mac_resource_handle_t)mrh, mp_chain); in mac_rx_ring()
695 mac_rx(mac_handle_t mh, mac_resource_handle_t mrh, mblk_t *mp_chain) in mac_rx() argument
697 mac_impl_t *mip = (mac_impl_t *)mh; in mac_rx()
705 mac_rx_common(mh, mrh, mp_chain); in mac_rx()
713 if ((mh = mip->mi_bridge_link) != NULL) in mac_rx()
714 mac_bridge_ref_cb(mh, B_TRUE); in mac_rx()
716 if (mh == NULL) { in mac_rx()
719 mac_bridge_rx_cb(mh, mrh, mp_chain); in mac_rx()
720 mac_bridge_ref_cb(mh, B_FALSE); in mac_rx()
730 mac_trill_snoop(mac_handle_t mh, mblk_t *mp) in mac_trill_snoop() argument
732 mac_impl_t *mip = (mac_impl_t *)mh; in mac_trill_snoop()
743 mac_rx_common(mac_handle_t mh, mac_resource_handle_t mrh, mblk_t *mp_chain) in mac_rx_common() argument
745 mac_impl_t *mip = (mac_impl_t *)mh; in mac_rx_common()
810 mac_srs->srs_rx.sr_lower_proc(mh, in mac_rx_common()
839 if ((bp = mac_rx_flow(mh, mrh, bp)) == NULL) in mac_rx_common()
853 mac_tx_update(mac_handle_t mh) in mac_tx_update() argument
855 mac_tx_ring_update(mh, NULL); in mac_tx_update()
862 mac_tx_ring_update(mac_handle_t mh, mac_ring_handle_t rh) in mac_tx_ring_update() argument
864 i_mac_tx_srs_notify((mac_impl_t *)mh, rh); in mac_tx_ring_update()
872 mac_link_update(mac_handle_t mh, link_state_t link) in mac_link_update() argument
874 mac_impl_t *mip = (mac_impl_t *)mh; in mac_link_update()
892 mac_link_redo(mac_handle_t mh, link_state_t link) in mac_link_redo() argument
894 mac_impl_t *mip = (mac_impl_t *)mh; in mac_link_redo()
953 mac_unicst_update(mac_handle_t mh, const uint8_t *addr) in mac_unicst_update() argument
955 mac_impl_t *mip = (mac_impl_t *)mh; in mac_unicst_update()
980 mac_dst_update(mac_handle_t mh, const uint8_t *addr) in mac_dst_update() argument
982 mac_impl_t *mip = (mac_impl_t *)mh; in mac_dst_update()
997 mac_pdata_update(mac_handle_t mh, void *mac_pdata, size_t dsize) in mac_pdata_update() argument
999 mac_impl_t *mip = (mac_impl_t *)mh; in mac_pdata_update()
1048 mac_capab_update(mac_handle_t mh) in mac_capab_update() argument
1054 i_mac_notify((mac_impl_t *)mh, MAC_NOTE_CAPAB_CHG); in mac_capab_update()
1065 mac_maxsdu_update(mac_handle_t mh, uint_t sdu_max) in mac_maxsdu_update() argument
1067 mac_impl_t *mip = (mac_impl_t *)mh; in mac_maxsdu_update()
1085 mac_maxsdu_update2(mac_handle_t mh, uint_t sdu_max, uint_t sdu_multicast) in mac_maxsdu_update2() argument
1087 mac_impl_t *mip = (mac_impl_t *)mh; in mac_maxsdu_update2()
1337 mac_handle_t mh; in i_mac_notify_thread() local
1343 if ((mh = mip->mi_bridge_link) != NULL) { in i_mac_notify_thread()
1344 newstate = mac_bridge_ls_cb(mh, in i_mac_notify_thread()
1361 mac_handle_t mh = (mac_handle_t)mip; in i_mac_notify_thread() local
1363 mac_perim_enter_by_mh(mh, &mph); in i_mac_notify_thread()
1364 mip->mi_tx_cksum_flags = mac_features_to_flags(mh); in i_mac_notify_thread()