Lines Matching refs:MASTER
111 enum { INIT = 0, BACKUP, MASTER } sc_state; enumerator
731 case MASTER: in carp_input_c()
824 if (sc->sc_state == MASTER) { in carp_send_ad_all()
1119 return (sc->sc_state == MASTER); in carp_master()
1149 if (sc->sc_state == MASTER) { in carp_iamatch()
1194 if (ifa->ifa_carp && ifa->ifa_carp->sc_state != MASTER) in carp_iamatch6()
1248 if (sc->sc_state == MASTER && !bcmp(dhost, LLADDR(&sc->sc_addr), in carp_forus()
1288 carp_set_state(sc, MASTER, reason); in carp_master_down_locked()
1300 case MASTER: in carp_master_down_locked()
1364 case MASTER: in carp_setrun()
1809 case MASTER: in carp_ioctl()