Searched refs:new_ncp (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncp.c | 90 char *new_ncp = event->event_object; in nwamd_ncp_handle_enable_event() local 94 if (new_ncp[0] == '\0') in nwamd_ncp_handle_enable_event() 98 if (strcmp(active_ncp, new_ncp) == 0 && !initial_ncp_enable) { in nwamd_ncp_handle_enable_event() 100 "%s is already active", new_ncp); in nwamd_ncp_handle_enable_event() 107 new_ncp); in nwamd_ncp_handle_enable_event() 118 if ((err = nwam_ncp_read(new_ncp, 0, &new_ncph)) in nwamd_ncp_handle_enable_event() 120 err = nwam_ncp_create(new_ncp, 0, &new_ncph); in nwamd_ncp_handle_enable_event() 125 nwamd_object_set_state(NWAM_OBJECT_TYPE_NCP, new_ncp, in nwamd_ncp_handle_enable_event() 133 (NWAM_OBJECT_TYPE_NCP, new_ncp, NULL, NWAM_ACTION_ENABLE); in nwamd_ncp_handle_enable_event() 137 new_ncp); in nwamd_ncp_handle_enable_event() [all …]
|