Lines Matching refs:vvr_state
2397 vr->vvr_state = VRRP_STATE_NONE;
2412 assert(vr->vvr_state == VRRP_STATE_INIT);
2431 if (vr->vvr_state != VRRP_STATE_INIT)
2516 if (vr->vvr_state == VRRP_STATE_MASTER) {
2526 } else if (vr->vvr_state == VRRP_STATE_BACKUP) {
2856 if ((mask & VRRP_CONF_PRIORITY) && (vr->vvr_state == VRRP_STATE_BACKUP))
2859 if ((mask & VRRP_CONF_INTERVAL) && (vr->vvr_state == VRRP_STATE_MASTER))
2930 if (vr->vvr_state != VRRP_STATE_INIT) {
2959 if (vr->vvr_state == VRRP_STATE_INIT) {
2985 if (vr->vvr_state == VRRP_STATE_BACKUP) {
3256 if (vr->vvr_state <= VRRP_STATE_INIT) {
3258 "ready", conf->vvc_name, vrrp_state2str(vr->vvr_state));
3269 vrrp_state2str(vr->vvr_state), conf->vvc_pri, peer,
3296 if (vr->vvr_state == VRRP_STATE_BACKUP) {
3321 } else if (vr->vvr_state == VRRP_STATE_MASTER) {
4287 vif->vvi_ifname, vrrp_state2str(vr->vvr_state));
4389 vr->vvr_conf.vvc_name, vrrp_state2str(vr->vvr_state),
4392 state = vr->vvr_state;
4429 assert(vr->vvr_state == prev_s);
4430 vr->vvr_state = s;