Hi I'm simulating wireless network using ns2. I want to implement dcma protocol with mpls in it and compare it with the existing protocol. I was successful in doing the dcma and 802.11 part, but I dont know how to append the mpls part or call the mpls file in the tcl script. I have attached the code. Please have a look at it and let me know how to do it.

I'm running it on Fedora OS 6 and the ns version used is ns 2.29

I have attached the IEEE paper I'm referring and the tcl file that I have made.

Link to my IEEE paper:
http://dl.dropbox.com/u/38279183/dcma.pdf
Link to my tcl file
http://dl.dropbox.com/u/38279183/dcma.tcl

Hi isnt there anyone who knows ns2 coding here.?