Calculate buffer size able to transmit in a specific time and rate.
- txtime Available transmit time in micro seconds.
- rate Transmit rate in bytes per second.
Calculates the size of the buffer that can be transmitted in a specific time period at a specific transmit rate.
- Size of buffer in bytes.
Definition at line 398 of file tc.c.
bufsize = (double) txtime * (double) rate;
return bufsize / 1000000.;