Re: [ns] OSPF on ns-2

2011-06-07 Thread Pedro Dias
Hello, I still need any information about OSPF in ns-2. Can you help me? Thanks in advance, 2011/5/25 Pedro Dias pedro...@gmail.com Hi all, how can I configure OSPF on ns-2? I've tested the link state based protocol ( LS ), but it seems to use only the number of hops to calculate the link

[ns] how to use MCPS_DATA_request?

2011-06-07 Thread Jose Aguiar Silva
hello all, I am trying to broadcast a 802.15.4 MAC packet in p802_15_4mac.cc file. My code is: packet = Packet::alloc(); FrameCtrl frmCtrl; UINT_8 txop = 0; hdr_cmn *ch = HDR_CMN(packet); ch-direction() == hdr_cmn::DOWN; MCPS_DATA_request(index_,0,

[ns] Can anybody use MCPS_DATA_request successfully?

2011-06-07 Thread Jose Aguiar Silva
Hello all, Have anybody ever successfully used this primitive?! It's a couple of weeks that I'm trying to transfer my own data packet using that but not a packet leaves my nodes! Please help me