[ns] Implementing a New Manet Unicast Routing Protocol in NS2

2008-09-10 Thread Maurizio Bellemo
Hi, I have implemented the code and it works, but the problem is when i try to realize a real broadcast, I got an error * check_pktCTRL:Invalid MAC Control subtype* I simply add the code to rebroadcast the packet. I modified only one function. void Protoname::recv_protoname_pkt(Packet* p) {

Re: [ns] Implementing a New Manet Unicast Routing Protocol

2007-02-14 Thread Wissam El-Mallah
Hi Francisco and all ns users, The value of the variables within a Broadcast message emitted by a node don’t change when a node receive such message. The problem is only in the value of the local variables of each node when they receive the message. They are affected by the reception of such a

[ns] Implementing a New Manet Unicast Routing Protocol

2007-02-14 Thread Wissam El-Mallah
Hi Francisco and all ns users, The value of the variables within a Broadcast message emitted by a node don’t change when a node receive such message. The problem is only in the value of the local variables of each node when they receive the message. They are affected by the reception of such a

[ns] Implementing a New Manet Unicast Routing Protocol

2007-02-09 Thread Wissam El-Mallah
Hello, I used the following guide to implement my routing protocol: -- Implementing a New Manet Unicast Routing Protocol in NS2 -- It work ok, but I have a problem when I receive a Broadcast message emitted by the other nodes. All my protected variables are affected by the reception of such a