/* Calculate time required to transmit buffer at a specific rate  */
int rtnl_tc_calc_txtime(int bufsize, int rate)
/* Calculate time required to transmit buffer at a specific rate  */
int rtnl_tc_calc_txtime(int bufsize, int rate)
{
	double tx_time_secs;
	tx_time_secs = (double) bufsize / (double) rate;
	return tx_time_secs * 1000000.;
}