[ns] know link and bandwith of the link

matrix-83@libero.it matrix-83 at libero.it
Sun Feb 17 11:47:33 PST 2008


Hi!

I have create a function namely "calculate_metric" that calculate the metric for every outgoing link in every Agent. I would know if is possible know delay and bandwidth of the outgoing link in C++ because i use that information for the calculation of metric.
I have find the function:

LinkDelay* del = (LinkDelay*)TclObject::lookup(....);

that return a pointer of a link, but i don't know what I must put in place of the points.

Sincerely,

Marco





More information about the Ns-users mailing list