/* send SMT frame set source address set station ID send frame  */
void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local)
/* send SMT frame set source address set station ID send frame  */
void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local)
{
	struct smt_header	*sm ;
	if (!smc->r.sm_ma_avail && !local) {
		smt_free_mbuf(smc,mb) ;
		return ;
	}
	sm = smtod(mb,struct smt_header *) ;
	sm->smt_source = smc->mib.m[MAC0].fddiMACSMTAddress ;
	sm->smt_sid = smc->mib.fddiSMTStationId ;
	smt_swap_para(sm,(int) mb->sm_len,0) ;
	hwm_conv_can(smc,(char *)sm,12) ;
	smc->mib.m[MAC0].fddiMACSMTTransmit_Ct++ ;
	smt_send_mbuf(smc,mb,local ? FC_SMT_LOC : fc) ;
}