Hi, I am a distributed systems researcher and I am relatively new to NS-2. I want to do some fancy MAC level packet scheduling in order to guarantee end-to-end timeliness on ad hoc networks. I read the documentation and looked at the source code but I am not certain were to begin. As far as I can tell, the interface queue is implemented in priqueue.cc and priqueue.h where routing protocol packets are placed at the head of the queue. The link layer (ll.cc and ll.h) contains a pointer (ifq) to the base queue class (Queue.cc and Queue.h). In order to implement my scheduling policy, I am going to derive a class from Queue. How do I include this new queue class into my new MAC protocol? Once again, sorry if this is a stupid question but I am new to NS-2.
Thanks! Fahmy -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
