Searched refs:mt_addr_length (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_bcast.c | 129 kmem_free(grp->mbg_addr, mip->mi_type->mt_addr_length); in mac_bcast_grp_free() 263 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_add() 502 size_t addr_len = mip->mi_type->mt_addr_length; in mac_bcast_delete() 571 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete() 585 mip->mi_type->mt_addr_length) == 0) in mac_bcast_delete()
|
H A D | mac_provider.c | 266 mip->mi_info.mi_addr_length = mip->mi_type->mt_addr_length; in mac_register() 281 if (mip->mi_type->mt_addr_length > 0) { in mac_register() 285 kmem_alloc(mip->mi_type->mt_addr_length, KM_SLEEP); in mac_register() 287 mip->mi_type->mt_addr_length); in mac_register() 295 mip->mi_type->mt_addr_length); in mac_register() 309 mip->mi_type->mt_addr_length); in mac_register() 517 mip->mi_type->mt_addr_length); in mac_register() 620 kmem_free(mip->mi_info.mi_unicst_addr, mip->mi_type->mt_addr_length); in mac_unregister() 957 if (mip->mi_type->mt_addr_length == 0) in mac_unicst_update() 966 if (bcmp(addr, mip->mi_addr, mip->mi_type->mt_addr_length) != 0) { in mac_unicst_update() [all …]
|
H A D | mac_client.c | 808 if ((len != mip->mi_type->mt_addr_length) || in mac_unicst_verify() 1019 if (!mac_unicst_verify(mh, addr, mip->mi_type->mt_addr_length)) in mac_unicast_primary_set() 1028 if (bcmp(addr, mip->mi_addr, mip->mi_type->mt_addr_length) == 0) { in mac_unicast_primary_set() 1072 bcopy(addr, mip->mi_addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_set() 1091 bcopy(mip->mi_addr, addr, mip->mi_type->mt_addr_length); in mac_unicast_primary_get() 1163 bcopy(mip->mi_dstaddr, addr, mip->mi_type->mt_addr_length); in mac_dst_get() 1268 size_t addr_len = mip->mi_type->mt_addr_length; in mac_addr_random() 2189 flow_desc.fd_mac_len = mip->mi_type->mt_addr_length; in mac_unicast_flow_create() 2538 uint_t mac_len = mip->mi_type->mt_addr_length; in i_mac_unicast_add() 4521 return (mip->mi_type->mt_addr_length); in mac_addr_len()
|
H A D | mac.c | 1378 mip->mi_type->mt_addr_length); in mac_addr_factory_init() 1507 *addr_len = mip->mi_type->mt_addr_length; in mac_addr_factory_value() 3272 mtp->mt_addr_length = mtrp->mtr_addrlen; in mactype_register() 3287 kmem_free(mtp->mt_brdcst_addr, mtp->mt_addr_length); in mactype_register() 3331 kmem_free(mtp->mt_brdcst_addr, mtp->mt_addr_length); in mactype_unregister() 5495 map->ma_len = mip->mi_type->mt_addr_length; in mac_add_macaddr_vlan() 5869 map->ma_len = mip->mi_type->mt_addr_length; in mac_init_macaddr()
|
H A D | mac_flow.c | 1645 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash() 1788 ft->ft_mip->mi_type->mt_addr_length, ft->ft_size)); in flow_l2_hash_fe()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mac_impl.h | 146 size_t mt_addr_length; member
|