Lines Matching refs:MASTER
111 enum { INIT = 0, BACKUP, MASTER } sc_state; enumerator
726 case MASTER: in carp_input_c()
817 if (sc->sc_state == MASTER) { in carp_send_ad_all()
1107 return (sc->sc_state == MASTER); in carp_master()
1135 if (sc->sc_state == MASTER) { in carp_iamatch()
1179 if (ifa->ifa_carp && ifa->ifa_carp->sc_state != MASTER) in carp_iamatch6()
1233 if (sc->sc_state == MASTER && !bcmp(dhost, LLADDR(&sc->sc_addr), in carp_forus()
1271 carp_set_state(sc, MASTER, reason); in carp_master_down_locked()
1283 case MASTER: in carp_master_down_locked()
1347 case MASTER: in carp_setrun()
1792 case MASTER: in carp_ioctl()