Lines Matching defs:link

58  * Find ncu of specified type for link/interface name.
132 * Run link/interface state machine in response to a state change
143 nwamd_link_t *link;
155 link = &ncu->ncu_link;
161 * For wired/wireless links, need to get link
163 * dlpi_open()ing the link prevents the driver from
168 if (link->nwamd_link_media == DL_WIFI) {
173 if (!link->nwamd_link_wifi_connected &&
180 link->nwamd_link_id);
190 * If initial wired link state is unknown, we
191 * will need to assume the link is up, since
276 link->nwamd_link_wifi_scan.nwamd_wifi_scan_curr,
277 link->nwamd_link_wifi_scan.nwamd_wifi_scan_curr_num);
292 (void) strlcpy(key_wlan.nww_essid, link->nwamd_link_wifi_essid,
294 (void) strlcpy(key_wlan.nww_bssid, link->nwamd_link_wifi_bssid,
297 link->nwamd_link_wifi_security_mode;
318 if (link->nwamd_link_media == DL_WIFI) {
323 link->nwamd_link_wifi_connected = up;
327 link->nwamd_link_wifi_essid,
330 link->nwamd_link_wifi_bssid,
333 link->nwamd_link_wifi_security_mode;
344 * for the WiFi link (WiFi is always trying
356 link->nwamd_link_wifi_connected =
425 * a link since it may be a transient change.
428 if (link->nwamd_link_media == DL_WIFI) {
430 link->nwamd_link_id);
431 link->nwamd_link_wifi_connected = B_FALSE;
463 if (link->nwamd_link_media == DL_WIFI) {
465 link->nwamd_link_id);
466 link->nwamd_link_wifi_connected = B_FALSE;
562 * physical link exists or not.
642 * Read in link properties.
694 /* link-mac-addr */
707 /* link-mtu */
719 /* link-autopush */
1077 /* Initialize link/interface-specific data */
1177 nlog(LOG_ERR, "failed to create link ncu for %s: %s", name,
1223 "failed to create automatic link ncu for %s: %s",
1323 * physical interfaces. Add/remove both link and interface NCUs from the
1324 * Automatic NCP. Assumes that both link and interface NCUs don't exist.
1339 "invalid link action %s", nwam_action_to_string(action));
1345 "link action '%s' event on %s", nwam_action_to_string(action),
1382 * propogation of down event from link to IP. No need to
1428 * Figure out if this link is part of an aggregation. This is fairly
1431 * aggregation once and then check each link against it.
1492 /* Do not generate an event if this link belongs to another zone. */
1496 /* Do not generate an event if this link belongs to an aggregation. */
1560 * will create appropriate interface and link NCUs in the Automatic NCP.
1619 /* Get base linkname rather than interface:linkname or link:linkname */
1657 * For link NCUs, we want to retain object data.
1701 * If the physical link for this NCU doesn't exist in the system,
1727 * OFFLINE/CONDITIONS_NOT_MET, and the link selection
1740 nwamd_link_t *link = &ncu->ncu_link;
1747 * link and interface NCUs, as these are handled differently.
1768 if (link->nwamd_link_activation_mode ==
1770 (link->nwamd_link_activation_mode ==
1772 link->nwamd_link_priority_mode <= c)) {