hello ns-users I am using ns-allinone-2.31 installed on cygwin. I have added some encryption and decryption functions by creating a new class in ns2. I have also used it in a script file by calling it from there. Its working fine. The script file is
#========myTcl.tcl============ set encdec [new Agent/EncDecOtcl] $encdec call-my-priv-func2 #========end of tcl file========= Now i want to create a new packet and want to call that function from there so that data get encrypted and decrypted while sending and receiving. any help will be greatly appreiciated. Thanks in advance With best regards, Anuradha Sehgal