Gets the element ID of a link or node in the best route.
(tpm_tracebestroutescan trace_id flag)
Returns an element ID (real) or nil.
trace_id | Tracing model ID (real) returned by tpm_tracealloc |
flag | Path element code (integer): 0 = Current element 1 = First element 2 = Last element 3 = Next element 4 = Previous element |
First use tpm_tracebestroute to calculate the best route.
ADSRX Equivalent
ade_id
tpm_tracebestroutescan
ade_id trace_id,
int flag);
Returns a element ID or ADE_NULLID.