On 3/17/06, Adam D. Morley <[EMAIL PROTECTED]> wrote:

> > As another experiment I moved advbase on FW2 to '2' for all carps, but the
>
> base is how often.  skew is priority.

No, advbase is integer seconds between advertisements, advskew is
fractional seconds. Taken together, advbase and advskew are an 8.8 bit
fixed point number allowing you to specify advertisment intervals
between 4ms and 255.996s (in theory anyways, setting advskew to 240 or
above is used with preempting as a magic number).

Around line 610 of ip_carp.c:
        ch_tv.tv_sec = ch->carp_advbase;
        ch_tv.tv_usec = ch->carp_advskew * 1000000 / 256;


--
Jon Simola
Systems Administrator
ABC Communications

Reply via email to