Home
last modified time | relevance | path

Searched refs:mt_addr_length (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_provider.c223 mip->mi_info.mi_addr_length = mip->mi_type->mt_addr_length; in mac_register()
238 if (mip->mi_type->mt_addr_length > 0) { in mac_register()
242 kmem_alloc(mip->mi_type->mt_addr_length, KM_SLEEP); in mac_register()
244 mip->mi_type->mt_addr_length); in mac_register()
252 mip->mi_type->mt_addr_length); in mac_register()
266 mip->mi_type->mt_addr_length); in mac_register()
463 mip->mi_type->mt_addr_length); in mac_register()
558 kmem_free(mip->mi_info.mi_unicst_addr, mip->mi_type->mt_addr_length); in mac_unregister()
865 if (mip->mi_type->mt_addr_length == 0) in mac_unicst_update()
874 if (bcmp(addr, mip->mi_addr, mip->mi_type->mt_addr_length) != 0) { in mac_unicst_update()
[all …]
H A Dmac_bcast.c128 kmem_free(grp->mbg_addr, mip->mi_type->mt_addr_length); in mac_bcast_grp_free()
268 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_add()
507 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_delete()
576 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete()
590 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete()
H A Dmac_client.c790 if ((len != mip->mi_type->mt_addr_length) || in mac_unicst_verify()
998 if (!mac_unicst_verify(mh, addr, mip->mi_type->mt_addr_length)) in mac_unicast_primary_set()
1007 if (bcmp(addr, mip->mi_addr, mip->mi_type->mt_addr_length) == 0) { in mac_unicast_primary_set()
1051 bcopy(addr, mip->mi_addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_set()
1070 bcopy(mip->mi_addr, addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_get()
1142 bcopy(mip->mi_dstaddr, addr, mip->mi_type->mt_addr_length); in mac_dst_get()
1247 size_t addr_len = mip->mi_type->mt_addr_length; in mac_addr_random()
2121 flow_desc.fd_mac_len = mip->mi_type->mt_addr_length; in mac_unicast_flow_create()
2451 uint_t mac_len = mip->mi_type->mt_addr_length; in i_mac_unicast_add()
4320 return (mip->mi_type->mt_addr_length); in mac_addr_len()
H A Dmac.c1294 mip->mi_type->mt_addr_length); in mac_addr_factory_init()
1423 *addr_len = mip->mi_type->mt_addr_length; in mac_addr_factory_value()
2924 mtp->mt_addr_length = mtrp->mtr_addrlen; in mactype_register()
2939 kmem_free(mtp->mt_brdcst_addr, mtp->mt_addr_length); in mactype_register()
2983 kmem_free(mtp->mt_brdcst_addr, mtp->mt_addr_length); in mactype_unregister()
4979 map->ma_len = mip->mi_type->mt_addr_length; in mac_add_macaddr()
5226 map->ma_len = mip->mi_type->mt_addr_length; in mac_init_macaddr()
H A Dmac_flow.c1644 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash()
1787 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash_fe()
/titanic_41/usr/src/uts/common/sys/
H A Dmac_impl.h166 size_t mt_addr_length; member