Lines Matching refs:MASTER
111 enum { INIT = 0, BACKUP, MASTER } sc_state; enumerator
733 case MASTER: in carp_input_c()
826 if (sc->sc_state == MASTER) { in carp_send_ad_all()
1128 return (sc->sc_state == MASTER); in carp_master()
1158 if (sc->sc_state == MASTER) { in carp_iamatch()
1203 if (ifa->ifa_carp && ifa->ifa_carp->sc_state != MASTER) in carp_iamatch6()
1257 if (sc->sc_state == MASTER && !bcmp(dhost, LLADDR(&sc->sc_addr), in carp_forus()
1297 carp_set_state(sc, MASTER, reason); in carp_master_down_locked()
1309 case MASTER: in carp_master_down_locked()
1373 case MASTER: in carp_setrun()
1818 case MASTER: in carp_ioctl()