ns-allinone-2.35/ns-2.35/baytcp/tcp-full-bay.cc
BayFullTcpAgent::BayFullTcpAgent() : flags_(0),
	state_(TCPS_CLOSED), rq_(rcv_nxt_), last_ack_sent_(0), app_(0),
	delack_timer_(this)
{
	bind("segsperack_", &segs_per_ack_);
	bind("segsize_", &maxseg_);
	bind("tcprexmtthresh_", &tcprexmtthresh_);
	bind("iss_", &iss_);
	bind_bool("nodelay_", &nodelay_);
	bind_bool("data_on_syn_",&data_on_syn_);
	bind_bool("dupseg_fix_", &dupseg_fix_);
	bind_bool("dupack_reset_", &dupack_reset_);
	bind("interval_", &delack_interval_);
}
/*
 * Tcl bound variables:
 *	segsperack: for delayed ACKs, how many to wait before ACKing
 *	segsize: segment size to use when sending
 */
Tcl bound variables:
segsperack: for delayed ACKs, how many to wait before ACKing
segsize: segment size to use when sending
Tcl bound variables : segsperack : for delayed ACKs how many to wait before ACKing segsize : segment size to use when sending
BayFullTcpAgent::BayFullTcpAgent() : flags_(0),
	state_(TCPS_CLOSED), rq_(rcv_nxt_), last_ack_sent_(0), app_(0),
	delack_timer_(this)
{
	bind("segsperack_", &segs_per_ack_);
	bind("segsize_", &maxseg_);
	bind("tcprexmtthresh_", &tcprexmtthresh_);
	bind("iss_", &iss_);
	bind_bool("nodelay_", &nodelay_);
	bind_bool("data_on_syn_",&data_on_syn_);
	bind_bool("dupseg_fix_", &dupseg_fix_);
	bind_bool("dupack_reset_", &dupack_reset_);
	bind("interval_", &delack_interval_);
}
BayFullTcpAgent :: BayFullTcpAgent ( ) : flags_ ( 0 ) , state_ ( TCPS_CLOSED ) , rq_ ( rcv_nxt_ ) , last_ack_sent_ ( 0 ) , app_ ( 0 ) , delack_timer_ ( this ) { bind ( " " , & segs_per_ack_ ) ; bind ( " " , & maxseg_ ) ; bind ( " " , & tcprexmtthresh_ ) ; bind ( " " , & iss_ ) ; bind_bool ( " " , & nodelay_ ) ; bind_bool ( " " , & data_on_syn_ ) ; bind_bool ( " " , & dupseg_fix_ ) ; bind_bool ( " " , & dupack_reset_ ) ; bind ( " " , & delack_interval_ ) ; }
Tcl bound variables:
      segsperack: for delayed ACKs, how many to wait before ACKing
      segsize: segment size to use when sending
Tcl bound variables : segsperack : for delayed ACKs how many to wait before ACKing segsize : segment size to use when sending