ns-allinone-2.35/ns-2.35/baytcp/tcp-full-bay.cc
void BayFullTcpAgent::fast_retransmit(int seq)
{       
        rtt_backoff();                  // bug fix by van to avoid spurious rtx
	int onxt = t_seqno_;		// output() changes t_seqno_
	recover_ = maxseq_;		// keep a copy of highest sent
	recover_cause_ = REASON_DUPACK;	// why we started this recovery period
	output(seq, REASON_DUPACK);	// send one pkt
	t_seqno_ = onxt;
}
/*
 * fast_retransmit using the given seqno
 *	perform a fast retransmit
 *	kludge t_seqno_ (snd_nxt) so we do the
 *	retransmit then continue from where we were
 */
fast_retransmit using the given seqno
perform a fast retransmit
kludge t_seqno_ (snd_nxt) so we do the
retransmit then continue from where we were
fast_retransmit using the given seqno perform a fast retransmit kludge t_seqno_ ( snd_nxt ) so we do the retransmit then continue from where we were
void BayFullTcpAgent::fast_retransmit(int seq)
{       
        rtt_backoff();                  
	int onxt = t_seqno_;		
	recover_ = maxseq_;		
	recover_cause_ = REASON_DUPACK;	
	output(seq, REASON_DUPACK);	
	t_seqno_ = onxt;
}
void BayFullTcpAgent :: fast_retransmit ( int seq ) { rtt_backoff ( ) ; int onxt = t_seqno_ ; recover_ = maxseq_ ; recover_cause_ = REASON_DUPACK ; output ( seq , REASON_DUPACK ) ; t_seqno_ = onxt ; }
fast_retransmit using the given seqno
      perform a fast retransmit
      kludge t_seqno_ (snd_nxt) so we do the
      retransmit then continue from where we were
fast_retransmit using the given seqno perform a fast retransmit kludge t_seqno_ ( snd_nxt ) so we do the retransmit then continue from where we were
// bug fix by van to avoid spurious rtx // output() changes t_seqno_ // keep a copy of highest sent // why we started this recovery period // send one pkt