ns-allinone-2.35/ns-2.35/mcast/srm-topo.cc
void SrmNode::sched_nack(int seqno) 
{
	double backoff;
	Scheduler& s = Scheduler::instance();
	SRM_Event *event = new SRM_Event(seqno, 
					 SRM_PENDING_RREQ, SRM_NOIF);
	append(event);

	backoff = topology->backoff(id_);
//	tprintf(("node(%d) schd rrq after %f s\n", id_, backoff));
	s.schedule(this, event, backoff);
}
/* 
 * XXX Should take two sequence numbers. The iif field is a dummy. We should be
 * careful not to use it for NACKs 
 */
XXX Should take two sequence numbers. The iif field is a dummy. We should be
careful not to use it for NACKs
XXX Should take two sequence numbers . The iif field is a dummy . We should be careful not to use it for NACKs
void SrmNode::sched_nack(int seqno) 
{
	double backoff;
	Scheduler& s = Scheduler::instance();
	SRM_Event *event = new SRM_Event(seqno, 
					 SRM_PENDING_RREQ, SRM_NOIF);
	append(event);
	backoff = topology->backoff(id_);
	s.schedule(this, event, backoff);
}
void SrmNode :: sched_nack ( int seqno ) { double backoff ; Scheduler & s = Scheduler :: instance ( ) ; SRM_Event * event = new SRM_Event ( seqno , SRM_PENDING_RREQ , SRM_NOIF ) ; append ( event ) ; backoff = topology -> backoff ( id_ ) ; s . schedule ( this , event , backoff ) ; }
XXX Should take two sequence numbers.
XXX Should take two sequence numbers .
//	tprintf(("node(%d) schd rrq after %f s\n", id_, backoff));