Searched refs:active_ncp (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncp.h42 extern char active_ncp[];
H A Dmain.c236 (void) strlcpy(active_ncp, NWAM_NCP_NAME_AUTOMATIC,
239 (void) strlcpy(active_ncp, active_ncp_tmp, NWAM_MAX_NAME_LEN);
441 if (nwamd_ncp_action(active_ncp, NWAM_ACTION_ENABLE) != 0)
442 pfail("Initial enable failed for active NCP %s", active_ncp);
H A Dncp.c50 char active_ncp[NWAM_MAX_NAME_LEN]; variable
54 * active_ncp_mutex protects active_ncp, active_ncph and
98 if (strcmp(active_ncp, new_ncp) == 0 && !initial_ncp_enable) {
111 * priority-group, set the active_ncp property and refresh the
193 * active_ncp property and refresh the daemon. The refresh action will
201 (void) strlcpy(active_ncp, event->event_object,
202 sizeof (active_ncp));
H A Dncu.c572 "(re)intializing NCUs for NCP %s", active_ncp);
589 active_ncp);
1140 nlog(LOG_DEBUG, "NCP %s", active_ncp);
1357 if (strcmp(active_ncp, NWAM_NCP_NAME_AUTOMATIC) == 0 &&
1570 if (strcmp(active_ncp, NWAM_NCP_NAME_AUTOMATIC) == 0 &&
1594 if (strcmp(active_ncp, NWAM_NCP_NAME_AUTOMATIC) != 0 ||
1870 active_ncp) != 0) {
H A Ddoor_if.c405 if (strcmp(name, active_ncp) == 0) {
467 is_active = (strcmp(active_ncp, name) == 0);
H A Dllp.c486 (void) strlcpy(active_ncp, NWAM_NCP_NAME_USER,
H A Dconditions.c138 active = (strcasecmp(active_ncp, name) == 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c269 char *active_ncp; local
273 if (nwam_walk_ncps(active_ncp_callback, &active_ncp, 0, NULL)
275 if (active_ncp == NULL)
279 ret = nwam_ncp_read(active_ncp, 0, &ncph);
280 free(active_ncp);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_ncp.c443 * nwamd is not running, set active_ncp property so when
577 char *active_ncp, *name; local
583 * Determine which NCP is active via the nwamd/active_ncp property
589 NWAM_PROP_ACTIVE_NCP, &active_ncp) != NWAM_SUCCESS)
592 ret = (strcmp(name, active_ncp) == 0);
594 free(active_ncp);

Completed in 110 milliseconds