title: How can I pass an Integer value from a .cc file to .tcl file, when using ns2?
body: <p>I am counting packets using a variable in .cc file. 
  Now, I want to get that value in my .tcl script, store it in some variable  and perform some operation on it?
  How is that possible?</p>