ns-allinone-2.35/ns-2.35/common/ivs.cc
void IvsSource::recv(Packet* pkt, Handler*)
{
	char wrk[128];/*XXX*/
	Tcl& tcl = Tcl::instance();
	hdr_msg *q = hdr_msg::access(pkt);
	sprintf(wrk, "%s handle {%s}", name(), q->msg());
	tcl.eval(wrk);
	Packet::free(pkt);
}
/*
 * main reception path - should only see acks, otherwise the
 * network connections are misconfigured
 */
main reception path - should only see acks, otherwise the
network connections are misconfigured
main reception path - should only see acks otherwise the network connections are misconfigured
void IvsSource::recv(Packet* pkt, Handler*)
{
	char wrk[128];
	Tcl& tcl = Tcl::instance();
	hdr_msg *q = hdr_msg::access(pkt);
	sprintf(wrk, "%s handle {%s}", name(), q->msg());
	tcl.eval(wrk);
	Packet::free(pkt);
}
void IvsSource :: recv ( Packet * pkt , Handler * ) { char wrk [ 128 ] ; Tcl & tcl = Tcl :: instance ( ) ; hdr_msg * q = hdr_msg :: access ( pkt ) ; sprintf ( wrk , " " , name ( ) , q -> msg ( ) ) ; tcl . eval ( wrk ) ; Packet :: free ( pkt ) ; }
main reception path - should only see acks, otherwise the
 network connections are misconfigured
main reception path - should only see acks otherwise the network connections are misconfigured
/*XXX*/