Lines Matching refs:mh
268 if (vswp->mh != NULL) { in vsw_mac_open()
278 if ((rv = mac_open_by_linkname(vswp->physname, &vswp->mh)) != 0) { in vsw_mac_open()
316 if (vswp->mh != NULL) { in vsw_mac_close()
324 mac_close(vswp->mh); in vsw_mac_close()
325 vswp->mh = NULL; in vsw_mac_close()
526 if (vswp->mh == NULL) { in vsw_maccl_open()
552 rv = mac_client_open(vswp->mh, mchp, mac_cl_name, flags); in vsw_maccl_open()
769 mac_unicast_primary_get(vswp->mh, primary_addr); in vsw_set_if_hw_addr()
1268 rv = mac_set_mtu(vswp->mh, mtu, &mtu_orig); in vsw_mac_set_mtu()
1294 note = mac_no_notification(vswp->mh); in vsw_notify_add()
1305 mac_stat_get(vswp->mh, MAC_STAT_LINK_STATE); in vsw_notify_add()
1314 mnh = mac_notify_add(vswp->mh, vsw_notify_cb, vswp); in vsw_notify_add()
1367 link_state = mac_stat_get(vswp->mh, MAC_STAT_LINK_STATE); in vsw_notify_link()