Lines Matching refs:phyint
78 static boolean_t phyint_repaired(struct phyint *pi);
97 * before declaring phyint repair.
99 * declare a phyint failure.
103 * The state of a phyint that is capable of being probed, is completely
106 * A phyint starts in either PI_RUNNING or PI_OFFLINE, depending on whether
107 * IFF_OFFLINE is set. If the phyint is also configured with a test address
108 * (the common case) and probe targets, then a phyint must also successfully
112 * Further, if a PI_RUNNING phyint is configured with a test address but is
120 * At any point, a phyint may be administratively marked offline via if_mpadm.
128 * PI_RUNNING: The failure detection logic says the phyint is good.
129 * PI_FAILED: The failure detection logic says the phyint has failed.
138 * phyint stat is PI_FAILED. In the case of host targets, we delete the
143 * IFF_INACTIVE: This phyint will not send or receive packets.
146 * When failback has been disabled (FAILBACK=no configured), phyint can
147 * also be a non-STANDBY. In this case IFF_INACTIVE is set when phyint
160 * detection : set IFF_FAILED on this phyint
163 * detection : set IFF_FAILED on this phyint
167 * : clear IFF_FAILED on this phyint
171 * : clear IFF_FAILED on this phyint
189 * will be added on by the kernel. The id field identifies this phyint.
1024 struct phyint *pi;
1127 struct phyint *pi;
1169 * If the phyint is part a named group, then add the address to all
1171 * phyint itself, since other phyints in the anongroup may not be on
1350 phyint_activate_another(struct phyint *pi)
1352 struct phyint *pi2;
1353 struct phyint *inactivepi = NULL;
1373 * Transition a phyint to PI_RUNNING. The caller must ensure that the
1376 * appropriate (see comment below). Finally, also updates the phyint's group
1380 phyint_transition_to_running(struct phyint *pi)
1382 struct phyint *pi2;
1383 struct phyint *actstandbypi = NULL;
1454 phyint_standby_refresh_inactive(struct phyint *pi)
1456 struct phyint *pi2;
1469 * If the phyint isn't functioning we can't consider it.
1493 phyint_check_for_repair(struct phyint *pi)
1525 struct phyint *pi = pii->pii_phyint;
1526 struct phyint *pi2;
1583 * milliseconds until the next timeout event for the phyint. Returns
1594 struct phyint *pi;
1630 * If probing is not enabled on this phyint instance, don't proceed.
1637 * by some other phyint instance, return the remaining
1767 * Eg. the phyint could be failed. If the crtt is
1822 * on the current state of the phyint.
1832 * phyint is now repaired.
1852 * phyint has failed.
1898 * For the 1st probe on each phyint after the timer is started,
1933 process_link_state_down(struct phyint *pi)
1966 process_link_state_up(struct phyint *pi)
1992 struct phyint *pi;
2000 * Except when the "phyint" structure is created, this is
2024 reset_crtt_all(struct phyint *pi)
2049 * Check if the phyint has failed the last NUM_PROBE_FAILS consecutive
2065 * this phyint across all targets. Also get the number
2102 * If the phyint has lost NUM_PROBE_FAILS or more
2104 * instances of the phyint, then trigger failure
2118 * phyint across IPv4 and IPv6.
2135 * Check if the link has gone down on this phyint, or it has failed the
2145 struct phyint *pi2;
2146 struct phyint *pi;
2162 * At this point, the link is down, or the phyint is suspect, as it
2163 * has lost NUM_PROBE_FAILS or more probes. If the phyint does not
2175 * phyint is more recent than the time of first fail (tff) of the
2176 * phyint in question, and the link is up on the phyint,
2177 * then it is a phyint failure. Otherwise it is a group failure.
2324 * Eg. the phyint could be failed. If the crtt is
2455 * Eg. the phyint could be failed. If the crtt is
2517 * Check if the phyint has been repaired. If no test address has been
2521 * either IPv4 or IPv6 instance, the phyint can be considered repaired.
2524 phyint_repaired(struct phyint *pi)
2586 * Used to set/clear phyint flags, by making a SIOCSLIFFLAGS call.
2589 change_pif_flags(struct phyint *pi, uint64_t set, uint64_t clear)
2607 * desired phyint flags. Since we set only phyint flags, we can
2635 * phyint flags.
2699 * we cannot check our phyint tables to determine if the address