Lines Matching refs:mh

379 mac_close(mac_handle_t mh)
381 mac_impl_t *mip = (mac_impl_t *)mh;
406 mac_info(mac_handle_t mh)
408 return (&((mac_impl_t *)mh)->mi_info);
412 mac_devinfo_get(mac_handle_t mh)
414 return (((mac_impl_t *)mh)->mi_dip);
418 mac_driver(mac_handle_t mh)
420 return (((mac_impl_t *)mh)->mi_driver);
424 mac_name(mac_handle_t mh)
426 return (((mac_impl_t *)mh)->mi_name);
430 mac_type(mac_handle_t mh)
432 return (((mac_impl_t *)mh)->mi_type->mt_type);
436 mac_nativetype(mac_handle_t mh)
438 return (((mac_impl_t *)mh)->mi_type->mt_nativetype);
448 mac_minor(mac_handle_t mh)
450 return (((mac_impl_t *)mh)->mi_minor);
667 mac_stat_get(mac_handle_t mh, uint_t stat)
669 mac_impl_t *mip = (mac_impl_t *)mh;
758 mac_unicst_verify(mac_handle_t mh, const uint8_t *addr, uint_t len)
760 mac_impl_t *mip = (mac_impl_t *)mh;
776 mac_sdu_get(mac_handle_t mh, uint_t *min_sdu, uint_t *max_sdu)
778 mac_impl_t *mip = (mac_impl_t *)mh;
787 mac_sdu_get2(mac_handle_t mh, uint_t *min_sdu, uint_t *max_sdu,
790 mac_impl_t *mip = (mac_impl_t *)mh;
967 mac_unicast_primary_set(mac_handle_t mh, const uint8_t *addr)
969 mac_impl_t *mip = (mac_impl_t *)mh;
974 if (!mac_unicst_verify(mh, addr, mip->mi_type->mt_addr_length))
1009 VERIFY(i_mac_capab_get(mh, MAC_CAPAB_AGGR, &aggr_cap));
1041 mac_unicast_primary_get(mac_handle_t mh, uint8_t *addr)
1043 mac_impl_t *mip = (mac_impl_t *)mh;
1062 mac_unicast_primary_info(mac_handle_t mh, char *client_name, boolean_t *in_use)
1064 mac_impl_t *mip = (mac_impl_t *)mh;
1100 mac_dst_get(mac_handle_t mh, uint8_t *addr)
1102 mac_impl_t *mip = (mac_impl_t *)mh;
1257 mac_client_open(mac_handle_t mh, mac_client_handle_t *mchp, char *name,
1260 mac_impl_t *mip = (mac_impl_t *)mh;
3521 mac_ioctl(mac_handle_t mh, queue_t *wq, mblk_t *bp)
3523 mac_impl_t *mip = (mac_impl_t *)mh;
3550 mac_link_get(mac_handle_t mh)
3552 return (((mac_impl_t *)mh)->mi_linkstate);
3561 mac_notify_add(mac_handle_t mh, mac_notify_t notify_fn, void *arg)
3563 mac_impl_t *mip = (mac_impl_t *)mh;
3594 mac_notify_remove_wait(mac_handle_t mh)
3596 mac_impl_t *mip = (mac_impl_t *)mh;
3975 mac_margin_get(mac_handle_t mh, uint32_t *marginp)
3977 mac_impl_t *mip = (mac_impl_t *)mh;
4039 i_mac_capab_get(mac_handle_t mh, mac_capab_t cap, void *cap_data)
4041 mac_impl_t *mip = (mac_impl_t *)mh;
4058 mac_capab_get(mac_handle_t mh, mac_capab_t cap, void *cap_data)
4060 mac_impl_t *mip = (mac_impl_t *)mh;
4080 return (i_mac_capab_get(mh, cap, cap_data));
4084 mac_sap_verify(mac_handle_t mh, uint32_t sap, uint32_t *bind_sap)
4086 mac_impl_t *mip = (mac_impl_t *)mh;
4093 mac_header(mac_handle_t mh, const uint8_t *daddr, uint32_t sap, mblk_t *payload,
4096 mac_impl_t *mip = (mac_impl_t *)mh;
4109 mac_header_info(mac_handle_t mh, mblk_t *mp, mac_header_info_t *mhip)
4111 mac_impl_t *mip = (mac_impl_t *)mh;
4118 mac_vlan_header_info(mac_handle_t mh, mblk_t *mp, mac_header_info_t *mhip)
4120 mac_impl_t *mip = (mac_impl_t *)mh;
4129 if ((err = mac_header_info(mh, mp, mhip)) != 0)
4157 (void) mac_sap_verify(mh, sap, &mhip->mhi_bindsap);
4174 mac_header_cook(mac_handle_t mh, mblk_t *mp)
4176 mac_impl_t *mip = (mac_impl_t *)mh;
4193 mac_header_uncook(mac_handle_t mh, mblk_t *mp)
4195 mac_impl_t *mip = (mac_impl_t *)mh;
4212 mac_addr_len(mac_handle_t mh)
4214 mac_impl_t *mip = (mac_impl_t *)mh;
4221 mac_is_vnic(mac_handle_t mh)
4223 return (((mac_impl_t *)mh)->mi_state_flags & MIS_IS_VNIC);
4227 mac_get_lower_mac_handle(mac_handle_t mh)
4229 mac_impl_t *mip = (mac_impl_t *)mh;
4231 ASSERT(mac_is_vnic(mh));
4236 mac_is_vnic_primary(mac_handle_t mh)
4238 mac_impl_t *mip = (mac_impl_t *)mh;
4240 ASSERT(mac_is_vnic(mh));
4337 i_mac_set_resources(mac_handle_t mh, mac_resource_props_t *mrp)
4339 mac_impl_t *mip = (mac_impl_t *)mh;
4473 mac_set_resources(mac_handle_t mh, mac_resource_props_t *mrp)
4477 i_mac_perim_enter((mac_impl_t *)mh);
4478 err = i_mac_set_resources(mh, mrp);
4479 i_mac_perim_exit((mac_impl_t *)mh);
4487 mac_get_resources(mac_handle_t mh, mac_resource_props_t *mrp)
4489 mac_impl_t *mip = (mac_impl_t *)mh;
4505 mac_get_effective_resources(mac_handle_t mh, mac_resource_props_t *mrp)
4507 mac_impl_t *mip = (mac_impl_t *)mh;
4520 mac_set_pvid(mac_handle_t mh, uint16_t pvid)
4522 mac_impl_t *mip = (mac_impl_t *)mh;
4545 mac_get_pvid(mac_handle_t mh)
4547 mac_impl_t *mip = (mac_impl_t *)mh;
4553 mac_get_llimit(mac_handle_t mh)
4555 mac_impl_t *mip = (mac_impl_t *)mh;
4561 mac_get_ldecay(mac_handle_t mh)
4563 mac_impl_t *mip = (mac_impl_t *)mh;
4572 mac_rename_primary(mac_handle_t mh, const char *new_name)
4574 mac_impl_t *mip = (mac_impl_t *)mh;
5053 mac_set_upper_mac(mac_client_handle_t mch, mac_handle_t mh,
5057 mac_impl_t *mip = (mac_impl_t *)mh;
5074 mac_mark_exclusive(mac_handle_t mh)
5076 mac_impl_t *mip = (mac_impl_t *)mh;
5078 ASSERT(MAC_PERIM_HELD(mh));
5106 mac_unmark_exclusive(mac_handle_t mh)
5108 mac_impl_t *mip = (mac_impl_t *)mh;
5110 ASSERT(MAC_PERIM_HELD(mh));
5123 mac_set_mtu(mac_handle_t mh, uint_t new_mtu, uint_t *old_mtu_arg)
5125 mac_impl_t *mip = (mac_impl_t *)mh;
5148 rv = mac_maxsdu_update(mh, new_mtu);
5164 mac_get_hwrxgrp_info(mac_handle_t mh, int grp_index, uint_t *grp_num,
5168 mac_impl_t *mip = (mac_impl_t *)mh;
5227 mac_get_hwtxgrp_info(mac_handle_t mh, int grp_index, uint_t *grp_num,
5231 mac_impl_t *mip = (mac_impl_t *)mh;
5291 mac_hwgrp_num(mac_handle_t mh, int type)
5293 mac_impl_t *mip = (mac_impl_t *)mh;
5307 mac_txavail_get(mac_handle_t mh)
5309 mac_impl_t *mip = (mac_impl_t *)mh;
5318 mac_rxavail_get(mac_handle_t mh)
5320 mac_impl_t *mip = (mac_impl_t *)mh;
5329 mac_rxrsvd_get(mac_handle_t mh)
5331 mac_impl_t *mip = (mac_impl_t *)mh;
5340 mac_txrsvd_get(mac_handle_t mh)
5342 mac_impl_t *mip = (mac_impl_t *)mh;
5351 mac_rxhwlnksavail_get(mac_handle_t mh)
5353 mac_impl_t *mip = (mac_impl_t *)mh;
5362 mac_rxhwlnksrsvd_get(mac_handle_t mh)
5364 mac_impl_t *mip = (mac_impl_t *)mh;
5373 mac_txhwlnksavail_get(mac_handle_t mh)
5375 mac_impl_t *mip = (mac_impl_t *)mh;
5384 mac_txhwlnksrsvd_get(mac_handle_t mh)
5386 mac_impl_t *mip = (mac_impl_t *)mh;