[ns] VANET protocols in ns-2

2011-10-12 Thread Javier Cancio del Busto

Hi guys,

I'm looking for a list of protocols that I can use for ns-2 under VANET
simulations. I saw a list of VANET protocols in this paper (
http://www.cs.ucla.edu/~kclee/RoutingBookChapterKLULMario.pdf ) but I want
to know which are instanciable under ns-2. Any idea of this?.

Thanks in advance,


Regards.

-- 
==
  Javier Cancio del Busto
==


[ns] Problem with timer and scheduler

2011-10-12 Thread Su Jinzhao

Hi, ALL.

I have two questions:

1. I start a timer in my program, after it starts, the scheduler doesn't
call the corresponding expire function. My timer starts by calling
sched(double time), the prompted message is :

   ns: scheduler going backwards in time from 0.500056 to 0.00.


I logged the uid_ of each event, the last message shows that the uid_ in
dispatch function of my timer becomes to 0: dispatch: uid_ = 0, t = 0

However, the uid_ of any event should not less than 1, which is defined
scheduler.cc: scheduler_uid_t Scheduler::uid_ = 1; and increased after
inserting new events.


2.  No matter I run my tcl file or wireless-simple-mac.tcl, the log file
looks both like this:

_sched: uid_ = 13, delay =
-26815615859885194199148049996411692254958731641184786755447122887443528060147093953603748596333806855380063716372972101707507765623893139892867298012168192.00,
time_ =
26815622157316114716836864794584393907134232303237611718236021617252959710777447636303506412841121867287875011897335326771847183507644871101570470356451328.00

the delay and time values seems so strange, but the log in dispatch function
is right : dispatch-2: uid_ = 13, t = 0.500055

So what's the reason ?

Thanks, any suggestions will be appreciated.

-- 
Su Jinzhao(苏金钊)


[ns] How to cancel a scheduled packet in DSR

2011-10-12 Thread Thuy


Hi everybody,

In DSR, if I want to cancel a packet which had been scheduled previously,
how can I do that?
In my case, when a node received a route request (RREQ) , which has the same
source and the sequence number with a RREQ received and scheduled by that
node, if the new RREQ has lower hops than the previous one, I want to cancel
the RREQ that was scheduled and schedule to forward the new RREQ.

Thank you very much
-- 
View this message in context: 
http://old.nabble.com/How-to-cancel-a-scheduled-packet-in-DSR-tp32638306p32638306.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] usage the agents functions

2011-10-12 Thread Natalya


Hi all,
Can anybody help me please? I try to access to my agent at the queue object.
How can I do it?
I tried to create the pointer to the agent as follows:
MyAgent* agent;
agent->something;
but it gives a segmentation fault.
It is very urgent...

Thanks in advance
Natalya

-
Natalya
Laboratory of computer sciences, Paris 6 (LIP6)
-- 
View this message in context: 
http://old.nabble.com/usage-the-agents-functions-tp32637147p32637147.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Invitation to connect on LinkedIn

2011-10-12 Thread Jinzhao Su via LinkedIn

LinkedIn





Jinzhao Su requested to add you as a connection on LinkedIn:
  
--

Rishabh,

I'd like to add you to my professional network on LinkedIn.

Accept invitation from Jinzhao Su
http://www.linkedin.com/e/362gef-gto4s7gl-18/XYLt_3zkkGuzoc16gPkCk3Z-PrP/blk/I1786933953_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPcRejcPejoUdP59bSlWckoMsRxpbPsOe3oOdzcPdjgLrCBxbOYWrSlI/EML_comm_afe/?hs=false&tok=3X1e5_gEYCiAY1

View invitation from Jinzhao Su
http://www.linkedin.com/e/362gef-gto4s7gl-18/XYLt_3zkkGuzoc16gPkCk3Z-PrP/blk/I1786933953_3/3dvcPkVcPcVdzwTckALqnpPbOYWrSlI/svi/?hs=false&tok=3JSQ6PZtMCiAY1
 
--

DID YOU KNOW that LinkedIn can find the answers to your most difficult 
questions? Post those vexing questions on LinkedIn Answers to tap into the 
knowledge of the world's foremost business experts: 
http://www.linkedin.com/e/362gef-gto4s7gl-18/ask/inv-23/?hs=false&tok=3fHzBua70CiAY1
 
-- 
(c) 2011, LinkedIn Corporation