Lines Matching refs:MASTER
117 enum { INIT = 0, BACKUP, MASTER } sc_state; enumerator
763 case MASTER: in carp_input_c()
856 if (sc->sc_state == MASTER) { in carp_send_ad_all()
1160 return (sc->sc_state == MASTER); in carp_master()
1190 if (sc->sc_state == MASTER) { in carp_iamatch()
1235 if (ifa->ifa_carp && ifa->ifa_carp->sc_state != MASTER) in carp_iamatch6()
1289 if (sc->sc_state == MASTER && !bcmp(dhost, LLADDR(&sc->sc_addr), in carp_forus()
1329 carp_set_state(sc, MASTER, reason); in carp_master_down_locked()
1341 case MASTER: in carp_master_down_locked()
1405 case MASTER: in carp_setrun()
1847 case MASTER: in carp_ioctl_set()