/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam.h | 401 typedef struct nwam_handle *nwam_ncu_handle_t; typedef 598 int(*)(nwam_ncu_handle_t, void *), void *, uint64_t, int *); 615 nwam_ncu_type_t, nwam_ncu_class_t, nwam_ncu_handle_t *); 617 nwam_ncu_type_t, uint64_t, nwam_ncu_handle_t *); 620 extern nwam_error_t nwam_ncu_destroy(nwam_ncu_handle_t, uint64_t); 621 extern void nwam_ncu_free(nwam_ncu_handle_t); 624 extern nwam_error_t nwam_ncu_copy(nwam_ncu_handle_t, const char *, 625 nwam_ncu_handle_t *); 628 extern nwam_error_t nwam_ncu_commit(nwam_ncu_handle_t, uint64_t); 631 extern nwam_error_t nwam_ncu_enable(nwam_ncu_handle_t); [all …]
|
H A D | libnwam_ncp.c | 278 nwam_ncu_get_parent_ncp_name(nwam_ncu_handle_t ncuh, char **parentnamep) in nwam_ncu_get_parent_ncp_name() 300 nwam_ncp_copy_callback(nwam_ncu_handle_t oldncuh, void *arg) in nwam_ncp_copy_callback() 303 nwam_ncu_handle_t newncuh = NULL; in nwam_ncp_copy_callback() 570 nwam_ncu_get_read_only(nwam_ncu_handle_t ncuh, boolean_t *readp) in nwam_ncu_get_read_only() 669 nwam_ncu_handle_t ncuh = hp; in ncu_selectcb() 703 int(*cb)(nwam_ncu_handle_t, void *), void *data, uint64_t flags, int *retp) in nwam_ncp_walk_ncus() argument 768 nwam_ncu_type_t type, nwam_ncu_class_t class, nwam_ncu_handle_t *ncuhp) in nwam_ncu_create() 770 nwam_ncu_handle_t ncuh; in nwam_ncu_create() 886 nwam_ncu_type_t type, uint64_t flags, nwam_ncu_handle_t *ncuhp) in nwam_ncu_read() 890 nwam_ncu_handle_t ncuh_ip, ncuh_link; in nwam_ncu_read() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu.h | 221 extern nwam_error_t nwamd_set_ncu_uint(nwam_ncu_handle_t, uint64_t *, uint_t, 223 extern nwam_error_t nwamd_set_ncu_string(nwam_ncu_handle_t, char **, uint_t, 225 extern nwam_error_t nwamd_get_ncu_uint(nwam_ncu_handle_t, nwam_value_t *, 227 extern nwam_error_t nwamd_get_ncu_string(nwam_ncu_handle_t, nwam_value_t *, 229 extern nwam_error_t nwamd_get_ncu_boolean(nwam_ncu_handle_t, nwam_value_t *,
|
H A D | ncu.c | 57 static void populate_ip_ncu_properties(nwam_ncu_handle_t, nwamd_ncu_t *); 82 nwamd_set_ncu_string(nwam_ncu_handle_t ncuh, char **strval, uint_t cnt, in nwamd_set_ncu_string() 97 nwamd_set_ncu_uint(nwam_ncu_handle_t ncuh, uint64_t *uintval, uint_t cnt, in nwamd_set_ncu_uint() 112 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, in nwamd_get_ncu_string() 123 nwamd_get_ncu_uint(nwam_ncu_handle_t ncuh, nwam_value_t *val, in nwamd_get_ncu_uint() 134 nwamd_get_ncu_boolean(nwam_ncu_handle_t ncuh, nwam_value_t *val, in nwamd_get_ncu_boolean() 524 ncu_create_init_fini_event(nwam_ncu_handle_t ncuh, void *data) in ncu_create_init_fini_event() 615 populate_common_ncu_properties(nwam_ncu_handle_t ncuh, nwamd_ncu_t *ncu_data) in populate_common_ncu_properties() 658 populate_link_ncu_properties(nwam_ncu_handle_t ncuh, nwamd_ncu_t *ncu_data) in populate_link_ncu_properties() 745 populate_ip_ncu_properties(nwam_ncu_handle_t ncuh, nwamd_ncu_t *ncu_data) in populate_ip_ncu_properties() [all …]
|
H A D | llp.c | 294 nwam_ncu_handle_t phys_ncu = NULL, ip_ncu = NULL; in upgrade_llp_config()
|
H A D | conditions.c | 155 nwam_ncu_handle_t ncuh; in test_condition_ncu()
|
/illumos-gate/usr/src/lib/libnwam/ |
H A D | README | 243 int(*cb)(nwam_ncu_handle_t, void *), void *data, uint64_t flags, int *ret); 262 nwam_ncu_type_t type, nwam_ncu_class_t class, nwam_ncu_handle_t *ncu); 264 nwam_ncu_type_t type, uint64_t flags, nwam_ncu_handle_t *ncu); 265 nwam_error_t nwam_ncu_copy(nwam_ncu_handle_t ncu, const char *newname, 266 nwam_ncu_handle_t *newncu); 267 nwam_error_t nwam_ncu_commit(nwam_ncu_handle_t ncu, uint64_t flags); 268 nwam_error_t nwam_ncu_destroy(nwam_ncu_handle_t ncu, uint64_t flags); 269 nwam_error_t nwam_ncu_free(nwam_ncu_handle_t ncu); 270 nwam_error_t nwam_ncu_validate(nwam_ncu_handle_t ncu, const char **errprop); 271 nwam_error_t nwam_ncu_get_prop_value(nwam_ncu_handle_t ncu, const char *prop, [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 326 nwam_ncu_handle_t ncuh; in valid_ncu() 502 nwam_ncu_handle_t ncuh; in ncu_action() 787 list_ncu_cb(nwam_ncu_handle_t ncuh, void *arg) in list_ncu_cb() 907 nwam_ncu_handle_t ncuh; in list_func() 1211 nwam_ncu_handle_t ncuh = NULL; in name_to_linkname()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 339 static nwam_ncu_handle_t ncu_h = NULL; 1417 nwam_ncu_handle_t oldncu_h; in create_func() 2686 list_ncu_callback(nwam_ncu_handle_t ncu, void *arg) in list_ncu_callback() 2881 (nwam_ncu_handle_t *)&handle); in listprop() 3253 export_ncu_callback(nwam_ncu_handle_t ncu, void *arg) in export_ncu_callback()
|