Lines Matching refs:vvc_pri
133 SKEW_TIME((vr)->vvr_conf.vvc_pri, (vr)->vvr_master_adver_int)
135 MASTER_DOWN_INTERVAL((vr)->vvr_conf.vvc_pri, (vr)->vvr_master_adver_int)
2240 conf->vvc_pri = strtol(str, NULL, 0);
2241 return (!(conf->vvc_pri < VRRP_PRI_MIN ||
2242 conf->vvc_pri > VRRP_PRI_OWNER ||
2243 (conf->vvc_pri == 0 && errno != 0)));
2307 return (snprintf(str, size, "%d", conf->vvc_pri));
2453 if (vr->vvr_conf.vvc_pri == 255)
2564 (conf->vvc_pri < VRRP_PRI_MIN ||
2565 conf->vvc_pri > VRRP_PRI_OWNER) ||
2569 (conf->vvc_pri == VRRP_PRI_OWNER && !conf->vvc_accept)) {
2782 pri = vr->vvr_conf.vvc_pri;
2784 if (conf->vvc_pri < VRRP_PRI_MIN ||
2785 conf->vvc_pri > VRRP_PRI_OWNER) {
2787 "priority %d", conf->vvc_name, conf->vvc_pri);
2790 pri = conf->vvc_pri;
2826 vr->vvr_conf.vvc_pri = pri;
3028 vp->vp_prio = zero_pri ? VRRP_PRIO_ZERO : vr->vvr_conf.vvc_pri;
3254 vrrp_state2str(vr->vvr_state), conf->vvc_pri, peer,
3263 } else if (conf->vvc_pri == vp->vp_prio) {
3269 if (conf->vvc_pri == 255) {
3285 vp->vp_prio >= conf->vvc_pri)) {
3322 } else if (vp->vp_prio > conf->vvc_pri ||
3323 (vp->vp_prio == conf->vvc_pri && addr_cmp > 0)) {