[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 473] Re: need help
regost@qosip.ttt.bme.hu wrote:
> in parser.c line 269,270, DoCommand() function
>
> if (cmd_op[0] == 'T') { // 'T' ???
> TNO = atoi(&cmd_op[1]);
>
> What does it mean?
> What is it good for?
That piece of the code was inherited from the rsvp daemon.
`Tn' (n=integer) selects a thread context in the interactive command
mode. In rsvp, a thread context selects one of rsvp sessions. In
altq, a thread context selects one of interfaces so that you can omit
the interface name in a command line.
The feature isn't very useful for altq, and might go away in the
future.
-Kenjiro