Lines Matching defs:turn_on

10191 	uint64_t	turn_on, turn_off;
10197 turn_on = (flags ^ intf_flags) & ~cantchange_flags;
10198 turn_off = intf_flags & turn_on;
10199 turn_on ^= turn_off;
10200 *onp = turn_on;
10213 * than IFF_LOGINT_FLAGS. One could check whether "turn_on" - the
10222 uint64_t turn_on;
10274 ip_sioctl_flags_onoff(ipif, flags, &turn_on, &turn_off);
10275 if ((turn_on|turn_off) == 0)
10284 (turn_on|intf_flags) & IFF_NOFAILOVER)
10294 if ((intf_flags & IFF_VRRP) && ((turn_off | turn_on) & IFF_UP)) {
10303 if ((turn_off | turn_on) & IFF_NOACCEPT) {
10308 if (turn_on & IFF_NOFAILOVER) {
10309 turn_on |= IFF_DEPRECATED;
10324 if ((turn_on & appflags) && !(flags & IFF_NOFAILOVER))
10336 if ((turn_on & IFF_TEMPORARY) && !(ipif->ipif_isv6))
10349 if ((turn_on & IFF_ROUTER) && (phyi->phyint_flags & PHYI_LOOPBACK))
10371 if ((turn_on|turn_off) & IFF_PHYINT_FLAGS)
10383 if (turn_on & PHYI_STANDBY) {
10393 turn_on |= PHYI_INACTIVE;
10414 if ((turn_on | turn_off) & ILLF_ROUTER) {
10415 err = ill_forward_set(ill, ((turn_on & ILLF_ROUTER) != 0));
10427 !(turn_on & IPIF_UP)) {
10431 ipif->ipif_flags |= (turn_on & IFF_LOGINT_FLAGS);
10433 ill->ill_flags |= (turn_on & IFF_PHYINTINST_FLAGS);
10435 phyi->phyint_flags |= (turn_on & IFF_PHYINT_FLAGS);
10445 if ((turn_on|turn_off) &
10490 (!(ipif->ipif_flags & IPIF_NOLOCAL) && !(turn_on & IPIF_NOLOCAL) ||
10524 if ((turn_on|turn_off) &
10533 if (((ipif->ipif_flags | turn_on) & IPIF_UP) &&
10537 turn_on &= ~IPIF_UP;
10544 } else if ((turn_on|turn_off) & ILLF_NOACCEPT) {
10574 uint64_t turn_on, turn_off;
10587 ip_sioctl_flags_onoff(ipif, flags, &turn_on, &turn_off);
10592 turn_on &= ~IFF_UP;
10595 if ((turn_on|turn_off) & IFF_PHYINT_FLAGS)
10604 ipif->ipif_flags |= (turn_on & IFF_LOGINT_FLAGS);
10606 ill->ill_flags |= (turn_on & IFF_PHYINTINST_FLAGS);
10608 phyi->phyint_flags |= (turn_on & IFF_PHYINT_FLAGS);
10626 if ((turn_on|turn_off) & (PHYI_FAILED | PHYI_INACTIVE | PHYI_OFFLINE)) {
10638 if ((turn_on|turn_off) & ILLF_NOACCEPT) {
10697 uint64_t turn_on, turn_off;
10713 ip_sioctl_flags_onoff(ipif, flags, &turn_on, &turn_off);
10714 if (!((turn_on|turn_off) & ILLF_NOACCEPT))