Searched refs:ncuh (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/lib/libnwam/common/ |
H A D | libnwam_ncp.c | 266 nwam_ncu_get_parent_ncp_name(nwam_ncu_handle_t ncuh, char **parentnamep) in nwam_ncu_get_parent_ncp_name() argument 272 if ((err = nwam_ncu_get_prop_value(ncuh, NWAM_NCU_PROP_PARENT_NCP, in nwam_ncu_get_parent_ncp_name() 558 nwam_ncu_get_read_only(nwam_ncu_handle_t ncuh, boolean_t *readp) in nwam_ncu_get_read_only() argument 563 assert(ncuh != NULL && readp != NULL); in nwam_ncu_get_read_only() 565 if ((err = nwam_ncu_get_ncp(ncuh, &ncph)) != NWAM_SUCCESS) in nwam_ncu_get_read_only() 657 nwam_ncu_handle_t ncuh = hp; in ncu_selectcb() local 661 if (nwam_ncu_get_prop_value(ncuh, NWAM_NCU_PROP_TYPE, &typeval) in ncu_selectcb() 663 nwam_ncu_get_prop_value(ncuh, NWAM_NCU_PROP_CLASS, &classval) in ncu_selectcb() 758 nwam_ncu_handle_t ncuh; in nwam_ncu_create() local 775 if (nwam_ncu_read(ncph, name, type, 0, &ncuh) == NWAM_SUCCESS) { in nwam_ncu_create() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu.c | 80 nwamd_set_ncu_string(nwam_ncu_handle_t ncuh, char **strval, uint_t cnt, in nwamd_set_ncu_string() argument 89 err = nwam_ncu_set_prop_value(ncuh, prop, val); in nwamd_set_ncu_string() 95 nwamd_set_ncu_uint(nwam_ncu_handle_t ncuh, uint64_t *uintval, uint_t cnt, in nwamd_set_ncu_uint() argument 104 err = nwam_ncu_set_prop_value(ncuh, prop, val); in nwamd_set_ncu_uint() 110 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, in nwamd_get_ncu_string() argument 115 if ((err = nwam_ncu_get_prop_value(ncuh, prop, val)) != NWAM_SUCCESS) in nwamd_get_ncu_string() 121 nwamd_get_ncu_uint(nwam_ncu_handle_t ncuh, nwam_value_t *val, in nwamd_get_ncu_uint() argument 126 if ((err = nwam_ncu_get_prop_value(ncuh, prop, val)) != NWAM_SUCCESS) in nwamd_get_ncu_uint() 511 ncu_create_init_fini_event(nwam_ncu_handle_t ncuh, void *data) in ncu_create_init_fini_event() argument 521 if (nwam_ncu_get_name(ncuh, &name) != NWAM_SUCCESS) { in ncu_create_init_fini_event() [all …]
|
H A D | conditions.c | 155 nwam_ncu_handle_t ncuh; in test_condition_ncu() local 160 if (nwam_ncu_read(active_ncph, name, NWAM_NCU_TYPE_INTERFACE, 0, &ncuh) in test_condition_ncu() 164 &ncuh) == NWAM_SUCCESS) { in test_condition_ncu() 169 if (nwam_ncu_get_name(ncuh, &real_name) != NWAM_SUCCESS) { in test_condition_ncu() 170 nwam_ncu_free(ncuh); in test_condition_ncu() 173 nwam_ncu_free(ncuh); in test_condition_ncu()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 326 nwam_ncu_handle_t ncuh; in valid_ncu() local 332 ret = nwam_ncu_read(ncph, name, NWAM_NCU_TYPE_ANY, 0, &ncuh); in valid_ncu() 336 nwam_ncu_free(ncuh); in valid_ncu() 502 nwam_ncu_handle_t ncuh; in ncu_action() local 512 ret = nwam_ncu_read(ncph, name, type, 0, &ncuh); in ncu_action() 516 ret = nwam_ncu_enable(ncuh); in ncu_action() 518 ret = nwam_ncu_disable(ncuh); in ncu_action() 519 (void) nwam_ncu_get_name(ncuh, realnamep); in ncu_action() 520 nwam_ncu_free(ncuh); in ncu_action() 787 list_ncu_cb(nwam_ncu_handle_t ncuh, void *arg) in list_ncu_cb() argument [all …]
|