[Click] Timers

Pavlin Radoslavov pavlin at icir.org
Thu Dec 8 13:58:39 EST 2005


> I am working on Multicast elements and have a question regarding timers.
> 
> PIM-SM (RFC2362) specifies a Neighbor-Timer (a neighbor is another PIM 
  ~~~~~~~~~~~~~~~~

This is off-topic, but RFC-2362 is obsoleted and you should use the
following documents instead:
draft-ietf-pim-sm-v2-new-11.{ps,txt}
draft-ietf-pim-sm-bsr-06.{ps,txt}

Pavlin

> capable router). A Neighbor-Timer for each neighbor is used to time out 
> the neighbor state.
> 
> Is there a way to initialize Click timers dynamically? At startup the 
> router does not know how many neighbors there will be.
> 
> I thought about using gettimeofday() and storing a time value in the 
> vector containing the neighbors. A timer that has been initialized at 
> router startup could periodically check the vector if some timers 
> expired and take out appropriate actions.
> 
> I'm not sure if this is a nice way to solve my problem. Any other ideas 
> are highly appreciated.
> 
> Regards,
> Martin
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list