Searched refs:ncph (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 162 nwam_ncp_get_name(nwam_ncp_handle_t ncph, char **namep) in nwam_ncp_get_name() argument 164 return (nwam_get_name(ncph, namep)); in nwam_ncp_get_name() 342 nwam_ncp_handle_t ncph; in nwam_ncp_copy() local 349 if (nwam_ncp_read(newname, 0, &ncph) == NWAM_SUCCESS) { in nwam_ncp_copy() 350 nwam_ncp_free(ncph); in nwam_ncp_copy() 432 nwam_ncp_enable(nwam_ncp_handle_t ncph) in nwam_ncp_enable() argument 437 assert(ncph != NULL); in nwam_ncp_enable() 439 err = nwam_enable(NULL, ncph); in nwam_ncp_enable() 446 if ((err = nwam_ncp_get_name(ncph, &name)) != NWAM_SUCCESS) in nwam_ncp_enable() 470 nwam_ncp_handle_t ncph; in nwam_walk_ncps() local [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 249 active_ncp_callback(nwam_ncp_handle_t ncph, void *arg) in active_ncp_callback() argument 255 (void) nwam_ncp_get_state(ncph, &state, &aux); in active_ncp_callback() 257 if (nwam_ncp_get_name(ncph, namep) != NWAM_SUCCESS) in active_ncp_callback() 270 nwam_ncp_handle_t ncph; in determine_active_ncp() local 279 ret = nwam_ncp_read(active_ncp, 0, &ncph); in determine_active_ncp() 282 return (ncph); in determine_active_ncp() 314 nwam_ncp_handle_t ncph; in valid_ncp() local 316 if (nwam_ncp_read(name, 0, &ncph) != NWAM_SUCCESS) in valid_ncp() 318 nwam_ncp_free(ncph); in valid_ncp() 325 nwam_ncp_handle_t ncph; in valid_ncu() local [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu.c | 1157 add_phys_ncu_to_ncp(nwam_ncp_handle_t ncph, const char *name) in add_phys_ncu_to_ncp() argument 1175 if ((err = nwam_ncu_create(ncph, name, NWAM_NCU_TYPE_LINK, in add_phys_ncu_to_ncp() 1229 add_ip_ncu_to_ncp(nwam_ncp_handle_t ncph, const char *name) in add_ip_ncu_to_ncp() argument 1234 if ((err = nwam_ncu_create(ncph, name, NWAM_NCU_TYPE_INTERFACE, in add_ip_ncu_to_ncp() 1260 remove_ncu_from_ncp(nwam_ncp_handle_t ncph, const char *name, in remove_ncu_from_ncp() argument 1266 if ((err = nwam_ncu_read(ncph, name, type, 0, &ncuh)) != NWAM_SUCCESS) { in remove_ncu_from_ncp() 1329 nwam_ncp_handle_t ncph; in nwamd_ncu_handle_link_action_event() local 1367 if ((err = nwam_ncp_read(NWAM_NCP_NAME_AUTOMATIC, 0, &ncph)) in nwamd_ncu_handle_link_action_event() 1370 err = nwam_ncp_create(NWAM_NCP_NAME_AUTOMATIC, 0, &ncph); in nwamd_ncu_handle_link_action_event() 1377 add_phys_ncu_to_ncp(ncph, name); in nwamd_ncu_handle_link_action_event() [all …]
|