ns-allinone-2.35/ns-2.35/baytcp/tcp-full-bay.cc
void
BayFullTcpAgent::reset()
{
	TcpAgent::reset();
	highest_ack_ = 0;
	last_ack_sent_ = 0;
	rcv_nxt_ = 0;		//kmn
	flags_ = 0;
	t_seqno_ = iss_;
	close_on_empty_ = 0;	//added 7/30/97 by kmn
	switch_spa_thresh_ = 0;
	first_data_ = 0;		//don't open cwnd too early
}
/*
 * reset to starting point, don't set state_ here,
 * because our starting point might be LISTEN rather
 * than CLOSED if we're a passive opener
 */
reset to starting point, don't set state_ here,
because our starting point might be LISTEN rather
than CLOSED if we're a passive opener
reset to starting point don ' t set state_ here because our starting point might be LISTEN rather than CLOSED if we ' re a passive opener
void
BayFullTcpAgent::reset()
{
	TcpAgent::reset();
	highest_ack_ = 0;
	last_ack_sent_ = 0;
	rcv_nxt_ = 0;		
	flags_ = 0;
	t_seqno_ = iss_;
	close_on_empty_ = 0;	
	switch_spa_thresh_ = 0;
	first_data_ = 0;		
}
void BayFullTcpAgent :: reset ( ) { TcpAgent :: reset ( ) ; highest_ack_ = 0 ; last_ack_sent_ = 0 ; rcv_nxt_ = 0 ; flags_ = 0 ; t_seqno_ = iss_ ; close_on_empty_ = 0 ; switch_spa_thresh_ = 0 ; first_data_ = 0 ; }
reset to starting point, don't set state_ here,
 because our starting point might be LISTEN rather
 than CLOSED if we're a passive opener
reset to starting point don ' t set state_ here because our starting point might be LISTEN rather than CLOSED if we ' re a passive opener
//kmn //added 7/30/97 by kmn //don't open cwnd too early