Lines Matching refs:mac_info
727 struct macInfo mac_info; in vxge_learn_mac() local
744 memset(&mac_info, 0, sizeof(struct macInfo)); in vxge_learn_mac()
745 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
752 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
753 mac_info.state = VXGE_LL_MAC_ADDR_IN_DA_TABLE; in vxge_learn_mac()
754 status = vxge_add_mac_addr(vdev, &mac_info); in vxge_learn_mac()
761 mac_info.state = VXGE_LL_MAC_ADDR_IN_LIST; in vxge_learn_mac()
763 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
768 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
789 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
1128 struct macInfo mac_info; in vxge_set_multicast() local
1184 memset(&mac_info, 0, sizeof(struct macInfo)); in vxge_set_multicast()
1200 memcpy(mac_info.macaddr, mac_address, ETH_ALEN); in vxge_set_multicast()
1202 if (is_multicast_ether_addr(mac_info.macaddr)) { in vxge_set_multicast()
1206 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1209 &mac_info); in vxge_set_multicast()
1217 memcpy(mac_info.macaddr, ha->addr, ETH_ALEN); in vxge_set_multicast()
1220 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1221 mac_info.state = VXGE_LL_MAC_ADDR_IN_DA_TABLE; in vxge_set_multicast()
1222 status = vxge_add_mac_addr(vdev, &mac_info); in vxge_set_multicast()
1242 memcpy(mac_info.macaddr, mac_address, ETH_ALEN); in vxge_set_multicast()
1244 if (is_multicast_ether_addr(mac_info.macaddr)) in vxge_set_multicast()
1250 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1251 status = vxge_del_mac_addr(vdev, &mac_info); in vxge_set_multicast()
1446 struct macInfo mac_info; in vxge_restore_vpath_mac_addr() local
1450 memset(&mac_info, 0, sizeof(struct macInfo)); in vxge_restore_vpath_mac_addr()
1457 memcpy(mac_info.macaddr, mac_address, ETH_ALEN); in vxge_restore_vpath_mac_addr()
1462 &mac_info); in vxge_restore_vpath_mac_addr()
1466 vpath->handle, mac_info.macaddr, in vxge_restore_vpath_mac_addr()
1467 mac_info.macmask, in vxge_restore_vpath_mac_addr()