Home
last modified time | relevance | path

Searched refs:ncu_link (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddlpi_events.c108 link = &ncu->ncu_link; in nwamd_dlpi_add_link()
159 if (ncu->ncu_link.nwamd_link_dlpi_thread != 0) { in nwamd_dlpi_delete_link()
161 ncu->ncu_link.nwamd_link_dlpi_thread); in nwamd_dlpi_delete_link()
162 (void) pthread_join(ncu->ncu_link.nwamd_link_dlpi_thread, NULL); in nwamd_dlpi_delete_link()
163 ncu->ncu_link.nwamd_link_dlpi_thread = 0; in nwamd_dlpi_delete_link()
168 dlpi_close(ncu->ncu_link.nwamd_link_dhp); in nwamd_dlpi_delete_link()
169 ncu->ncu_link.nwamd_link_dhp = NULL; in nwamd_dlpi_delete_link()
H A Dncu_phys.c112 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()
149 status = dladm_set_linkprop(dld_handle, ncu->ncu_link.nwamd_link_id, 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()
460 link = &ncu->ncu_link; in nwamd_wlan_set_key()
680 if (ncu->ncu_link.nwamd_link_media != DL_WIFI) in wireless_selection_possible()
[all …]
H A Dncu.c155 link = &ncu->ncu_link; in nwamd_ncu_state_machine()
660 ncu_data->ncu_link.nwamd_link_activation_mode = uintval[0]; in populate_link_ncu_properties()
665 if (ncu_data->ncu_link.nwamd_link_activation_mode == in populate_link_ncu_properties()
676 ncu_data->ncu_link.nwamd_link_priority_mode = in populate_link_ncu_properties()
688 ncu_data->ncu_link.nwamd_link_priority_group = in populate_link_ncu_properties()
700 ncu_data->ncu_link.nwamd_link_mac_addr = NULL; in populate_link_ncu_properties()
702 ncu_data->ncu_link.nwamd_link_mac_addr = strdup(*mac_addr); in populate_link_ncu_properties()
703 ncu_data->ncu_link.nwamd_link_mac_addr_len = strlen(*mac_addr); in populate_link_ncu_properties()
713 ncu_data->ncu_link.nwamd_link_mtu = 0; in populate_link_ncu_properties()
715 ncu_data->ncu_link.nwamd_link_mtu = uintval[0]; in populate_link_ncu_properties()
[all …]
H A Dncp.c240 if (ncu->ncu_link.nwamd_link_activation_mode != in find_next_priority_group_cb()
244 priority = ncu->ncu_link.nwamd_link_priority_group; in find_next_priority_group_cb()
343 if (!wa->manual && ncu->ncu_link.nwamd_link_activation_mode != in nwamd_ncu_check_or_activate()
349 if (wa->manual && ncu->ncu_link.nwamd_link_activation_mode != in nwamd_ncu_check_or_activate()
356 priority_group = ncu->ncu_link.nwamd_link_priority_group; in nwamd_ncu_check_or_activate()
357 priority_mode = ncu->ncu_link.nwamd_link_priority_mode; in nwamd_ncu_check_or_activate()
H A Dncu.h150 #define ncu_link ncu_node.u_link macro
H A Dknown_wlans.c477 if (ncu_data->ncu_link.nwamd_link_media == DL_WIFI) in nwamd_ncu_known_wlan_committed()
H A Ddoor_if.c190 link = &ncu->ncu_link; in nwamd_door_req_wlan_scan_results()