Lines Matching refs:phyint

36  * phyint: A NIC eg. hme0. This is represented as 'struct phyint'
38 * phyint instance: A protocol instance of a phyint. Eg. the IPv4 instance of
46 * (ii) share the same phyint group name.
47 * Load spreading and failover occur across members of the same phyint group.
48 * phyint group members must be homogeneous. i.e. if a phyint belonging to a
49 * phyint group has a IPv6 protocol instance, then all members of the phyint
56 * Status of the phyint, expressed by the return code of failure_state()
69 #define PI_GROUP_CHANGED 5 /* The phyint has changed group. */
80 * A phyint instance is probe *enabled* if it has been configured with a
135 * Phyint group states; see below for the phyint group definition.
149 * A doubly linked list of all phyint groups in the system.
150 * A phyint group is identified by its group name.
154 struct phyint *pg_phyint; /* List of phyints in this group */
155 struct phyint_group *pg_next; /* Next phyint group */
156 struct phyint_group *pg_prev; /* Prev phyint group */
167 * Phyint states; see below for the phyint definition.
178 * Representation of a NIC or a phyint. There is a list of all known phyints.
179 * There is also a list of phyints belonging to a phyint group, one list
180 * per phyint group.
182 struct phyint {
187 struct phyint *pi_next; /* List of all phyints */
188 struct phyint *pi_prev; /* List of all phyints */
189 struct phyint *pi_pgnext; /* List of phyints in this group */
190 struct phyint *pi_pgprev; /* List of phyints in this group */
192 enum pi_state pi_state; /* State of the phyint */
199 uchar_t pi_hwaddr[DLPI_PHYSADDR_MAX]; /* phyint's hw address */
200 size_t pi_hwaddrlen; /* phyint's hw address length */
223 * IPv4 and IPv6 are used over hme0, we have 2 phyint instances, 1 for each
227 struct phyint_instance *pii_next; /* List of all phyint insts */
228 struct phyint_instance *pii_prev; /* List of all phyint insts */
230 struct phyint *pii_phyint; /* Back pointer to the phyint */
298 * phyint instance.
301 struct logint *li_next; /* Next logint of this phyint inst. */
302 struct logint *li_prev; /* Prev logint of this phyint inst. */
304 /* Back pointer to phyint inst. */
319 * Doubly-linked list of probe targets on a phyint instance. Probe targets are
324 struct target *tg_next; /* Next target for this phyint inst. */
325 struct target *tg_prev; /* Prev target for this phyint inst. */
327 /* Back pointer to phyint instance */
400 extern struct phyint *phyints; /* List of all phyints */
401 extern struct phyint_group *phyint_groups; /* List of all phyint groups */
404 /* List of all phyint instances */
412 extern struct phyint *phyint_lookup(const char *name);
421 extern void phyint_changed(struct phyint *pi);
422 extern void phyint_chstate(struct phyint *pi, enum pi_state state);
429 extern void phyint_standby_refresh_inactive(struct phyint *pi);
430 extern void phyint_check_for_repair(struct phyint *pi);
431 extern void phyint_transition_to_running(struct phyint *pi);
432 extern void phyint_activate_another(struct phyint *pi);
433 extern int phyint_offline(struct phyint *pi, unsigned int);
434 extern int phyint_undo_offline(struct phyint *pi);
435 extern boolean_t phyint_is_functioning(struct phyint *pi);
460 extern void reset_crtt_all(struct phyint *pi);
465 extern void stop_probing(struct phyint *pi);
468 extern boolean_t change_pif_flags(struct phyint *pi, uint64_t set,