Re: Control pppd behaviour
Ashmath Khan wrote:
> Thanks James for long explanation.
>
> Let me explain. I am actually looking for a different retry mechanism
> for failures. My retry interval would vary depending on the number of
> retries. To given an example:
> nth retry is to be attempted at (n - 1)3 x 10 secs after previous attempt
Why? You still haven't explained what you're doing.
What problem are you attempting to solve? Can you give us any hints at all?
> So the retry interval is not constant but derived from a formula.
>
> Are such things possible without modifying the code ?
No. See pppd/fsm.c, f->timeouttime, and the TIMEOUT() macro.
--
James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Audio Users]
[Hams]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Linux Resources]
[Fedora Users]