Lines Matching refs:ncu

110 nwamd_set_unset_link_properties(nwamd_ncu_t *ncu, boolean_t set)  in nwamd_set_unset_link_properties()  argument
112 dlpi_handle_t dh = ncu->ncu_link.nwamd_link_dhp; in nwamd_set_unset_link_properties()
113 char *addr = set ? ncu->ncu_link.nwamd_link_mac_addr : NULL; in nwamd_set_unset_link_properties()
114 uint64_t mtu = set ? ncu->ncu_link.nwamd_link_mtu : 0; in nwamd_set_unset_link_properties()
115 char **autopush = set ? ncu->ncu_link.nwamd_link_autopush : NULL; in nwamd_set_unset_link_properties()
116 uint_t num_autopush = set ? ncu->ncu_link.nwamd_link_num_autopush : 0; in nwamd_set_unset_link_properties()
133 ncu->ncu_link.nwamd_link_id, DLADM_PROP_VAL_DEFAULT, "mtu", in nwamd_set_unset_link_properties()
148 "for link %s", mtustr, ncu->ncu_name); in nwamd_set_unset_link_properties()
149 status = dladm_set_linkprop(dld_handle, ncu->ncu_link.nwamd_link_id, in nwamd_set_unset_link_properties()
158 "autopush module for link %s", num_autopush, ncu->ncu_name); in nwamd_set_unset_link_properties()
159 status = dladm_set_linkprop(dld_handle, ncu->ncu_link.nwamd_link_id, in nwamd_set_unset_link_properties()
181 ncu->ncu_name, dlpi_strerror(retval)); in nwamd_set_unset_link_properties()
192 addr, ncu->ncu_name); in nwamd_set_unset_link_properties()
215 ncu->ncu_name, dlpi_strerror(retval)); in nwamd_set_unset_link_properties()
442 nwamd_ncu_t *ncu; in nwamd_wlan_set_key() local
459 ncu = ncu_obj->nwamd_object_data; in nwamd_wlan_set_key()
460 link = &ncu->ncu_link; in nwamd_wlan_set_key()
678 nwamd_ncu_t *ncu = object->nwamd_object_data; in wireless_selection_possible() local
680 if (ncu->ncu_link.nwamd_link_media != DL_WIFI) in wireless_selection_possible()
687 ncu->ncu_link.nwamd_link_activation_mode == in wireless_selection_possible()
690 ncu->ncu_link.nwamd_link_priority_group > in wireless_selection_possible()
707 nwamd_set_selected_connected(nwamd_ncu_t *ncu, boolean_t selected, in nwamd_set_selected_connected() argument
710 nwamd_link_t *link = &ncu->ncu_link; in nwamd_set_selected_connected()
744 (ncu->ncu_name, NWAM_EVENT_TYPE_WLAN_SCAN_REPORT, connected, in nwamd_set_selected_connected()
819 nwamd_ncu_t *ncu; in nwamd_wlan_select() local
829 ncu = ncu_obj->nwamd_object_data; in nwamd_wlan_select()
830 link = &ncu->ncu_link; in nwamd_wlan_select()
842 nwamd_set_selected_connected(ncu, B_FALSE, B_FALSE); in nwamd_wlan_select()
859 nwamd_set_selected_connected(ncu, B_TRUE, B_FALSE); in nwamd_wlan_select()
956 nwamd_ncu_t *ncu = data; in find_best_wlan_cb() local
957 nwamd_link_t *link = &ncu->ncu_link; in find_best_wlan_cb()
1052 nwamd_ncu_t *ncu = ncu_obj->nwamd_object_data; in nwamd_find_known_wlan() local
1059 (void) nwam_walk_known_wlans(find_best_wlan_cb, ncu, in nwamd_find_known_wlan()
1094 nwamd_ncu_t *ncu; in nwamd_ncu_handle_periodic_scan_event() local
1103 ncu = ncu_obj->nwamd_object_data; in nwamd_ncu_handle_periodic_scan_event()
1111 (void) nwamd_wlan_scan(ncu->ncu_name); in nwamd_ncu_handle_periodic_scan_event()
1187 nwamd_ncu_t *ncu = ncu_obj->nwamd_object_data; in nwamd_wlan_connected() local
1188 nwamd_link_t *link = &ncu->ncu_link; in nwamd_wlan_connected()
1216 ncu->ncu_name, essid, bssid); in nwamd_wlan_connected()
1250 (void) nwamd_wlan_scan(ncu->ncu_name); in nwamd_wlan_connected()
1265 ncu->ncu_name, link->nwamd_link_wifi_essid, in nwamd_wlan_connected()
1281 nwamd_ncu_t *ncu; in wlan_scan_thread() local
1298 ncu = ncu_obj->nwamd_object_data; in wlan_scan_thread()
1299 link = &ncu->ncu_link; in wlan_scan_thread()
1324 (void) strlcpy(s.nwamd_wifi_scan_link, ncu->ncu_name, in wlan_scan_thread()
1363 ncu = ncu_obj->nwamd_object_data; in wlan_scan_thread()
1364 link = &ncu->ncu_link; in wlan_scan_thread()
1410 nwamd_set_selected_connected(ncu, in wlan_scan_thread()
1546 nwamd_ncu_t *ncu; in wlan_connect_thread() local
1564 ncu = ncu_obj->nwamd_object_data; in wlan_connect_thread()
1565 link = &ncu->ncu_link; in wlan_connect_thread()
1569 "has lower priority", ncu->ncu_name); in wlan_connect_thread()
1585 "for '%s'", link->nwamd_link_wifi_essid, ncu->ncu_name); in wlan_connect_thread()
1596 ncu->ncu_name); in wlan_connect_thread()
1665 ncu = ncu_obj->nwamd_object_data; in wlan_connect_thread()
1666 link = &ncu->ncu_link; in wlan_connect_thread()
1700 nwamd_set_selected_connected(ncu, B_TRUE, B_TRUE); in wlan_connect_thread()
1750 nwamd_ncu_t *ncu; in wlan_monitor_signal_thread() local
1761 ncu = ncu_obj->nwamd_object_data; in wlan_monitor_signal_thread()
1762 link = &ncu->ncu_link; in wlan_monitor_signal_thread()
1842 nwamd_ncu_t *ncu; in nwamd_ncu_handle_link_state_event() local
1852 ncu = ncu_obj->nwamd_object_data; in nwamd_ncu_handle_link_state_event()
1853 link = &ncu->ncu_link; in nwamd_ncu_handle_link_state_event()