ns-allinone-2.35/tcp/tcp-int.cc
void
IntTcpAgent::send_much(int force, int reason, int /*maxburst*/)
{
	if (!session_)
		createTcpSession();
	if (!force && delsnd_timer_.status() == TIMER_PENDING)
		return;
	if (overhead_ && !force) {
		delsnd_timer_.resched(Random::uniform(overhead_));
		return;
	}
	session_->send_much(this, force,reason);
}
/*
 * Unlike in other flavors of TCP, IntTcpAgent does not decide when to send 
 * packets and how many of them to send. That decision is made by 
 * TcpSessionAgent. So send_much() does little more than defer to 
 * TcpSessionAgent.
 */
Unlike in other flavors of TCP, IntTcpAgent does not decide when to send
packets and how many of them to send. That decision is made by
TcpSessionAgent. So send_much() does little more than defer to
TcpSessionAgent.
Unlike in other flavors of TCP IntTcpAgent does not decide when to send packets and how many of them to send . That decision is made by TcpSessionAgent . So send_much () does little more than defer to TcpSessionAgent .
void
IntTcpAgent::send_much(int force, int reason, int )
{
	if (!session_)
		createTcpSession();
	if (!force && delsnd_timer_.status() == TIMER_PENDING)
		return;
	if (overhead_ && !force) {
		delsnd_timer_.resched(Random::uniform(overhead_));
		return;
	}
	session_->send_much(this, force,reason);
}
void IntTcpAgent :: send_much ( int force , int reason , int ) { if ( ! session_ ) createTcpSession ( ) ; if ( ! force && delsnd_timer_ . status ( ) == TIMER_PENDING ) return ; if ( overhead_ && ! force ) { delsnd_timer_ . resched ( Random :: uniform ( overhead_ ) ) ; return ; } session_ -> send_much ( this , force , reason ) ; }
Unlike in other flavors of TCP, IntTcpAgent does not decide when to send
 packets and how many of them to send.
Unlike in other flavors of TCP IntTcpAgent does not decide when to send packets and how many of them to send .
/*maxburst*/