ns-allinone-2.35/tcp/tfrc.cc
double TfrcAgent::rfc3390(int )
{
        if (size_ <= 1095) {
                return (4.0);
        } else if (size_ < 2190) {
                return (3.0);
        } else {
                return (2.0);
        }
}
/*
 * Calculate initial sending rate from RFC 3390.
 */
Calculate initial sending rate from RFC 3390.
Calculate initial sending rate from RFC 3390 .
double TfrcAgent::rfc3390(int )
{
        if (size_ <= 1095) {
                return (4.0);
        } else if (size_ < 2190) {
                return (3.0);
        } else {
                return (2.0);
        }
}
double TfrcAgent :: rfc3390 ( int ) { if ( size_ <= 1095 ) { return ( 4.0 ) ; } else if ( size_ < 2190 ) { return ( 3.0 ) ; } else { return ( 2.0 ) ; } }
Calculate initial sending rate from RFC 3390.
Calculate initial sending rate from RFC 3390 .