Home
last modified time | relevance | path

Searched refs:nwam_ncp_handle_t (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dobjects.h165 extern void nwamd_add_phys_ncu_auto(nwam_ncp_handle_t, const char *);
166 extern void nwamd_rem_phys_ncu_auto(nwam_ncp_handle_t, const char *);
167 extern void add_auto_link(nwam_ncp_handle_t, const char *);
168 extern void add_auto_ip(nwam_ncp_handle_t, const char *);
169 extern void rem_auto_link(nwam_ncp_handle_t, const char *);
170 extern void rem_auto_ip(nwam_ncp_handle_t, const char *);
H A Dncp.h43 extern nwam_ncp_handle_t active_ncph;
H A Dncp.c51 nwam_ncp_handle_t active_ncph = NULL;
91 nwam_ncp_handle_t new_ncph; in nwamd_ncp_handle_enable_event()
180 nwam_ncp_handle_t new_ncph, old_ncph; in nwamd_ncp_handle_state_event()
H A Dncu.c1219 add_phys_ncu_to_ncp(nwam_ncp_handle_t ncph, const char *name) in add_phys_ncu_to_ncp()
1291 add_ip_ncu_to_ncp(nwam_ncp_handle_t ncph, const char *name) in add_ip_ncu_to_ncp()
1322 remove_ncu_from_ncp(nwam_ncp_handle_t ncph, const char *name, in remove_ncu_from_ncp()
1391 nwam_ncp_handle_t ncph; in nwamd_ncu_handle_link_action_event()
1546 nwam_ncp_handle_t ncph = data; in ncu_create_link_action_event()
1627 nwam_ncp_handle_t ncph; in nwamd_walk_physical_configuration()
H A Dllp.c293 nwam_ncp_handle_t user_ncp; in upgrade_llp_config()
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam.h399 typedef struct nwam_handle *nwam_ncp_handle_t; typedef
571 nwam_ncp_handle_t *);
574 extern nwam_error_t nwam_ncp_read(const char *, uint64_t, nwam_ncp_handle_t *);
577 extern nwam_error_t nwam_ncp_copy(nwam_ncp_handle_t, const char *,
578 nwam_ncp_handle_t *);
581 extern nwam_error_t nwam_walk_ncps(int (*)(nwam_ncp_handle_t, void *),
585 extern nwam_error_t nwam_ncp_get_name(nwam_ncp_handle_t, char **);
588 extern nwam_error_t nwam_ncp_get_read_only(nwam_ncp_handle_t, boolean_t *);
591 extern nwam_error_t nwam_ncp_destroy(nwam_ncp_handle_t, uint64_t);
597 extern nwam_error_t nwam_ncp_walk_ncus(nwam_ncp_handle_t,
[all …]
H A Dlibnwam_ncp.c174 nwam_ncp_get_name(nwam_ncp_handle_t ncph, char **namep) in nwam_ncp_get_name()
195 nwam_ncp_create(const char *name, uint64_t flags, nwam_ncp_handle_t *ncphp) in nwam_ncp_create()
259 nwam_ncp_read(const char *name, uint64_t flags, nwam_ncp_handle_t *ncphp) in nwam_ncp_read()
306 nwam_ncp_handle_t newncph = (nwam_ncp_handle_t)arg; in nwam_ncp_copy_callback()
351 nwam_ncp_copy(nwam_ncp_handle_t oldncph, const char *newname, in nwam_ncp_copy()
352 nwam_ncp_handle_t *newncphp) in nwam_ncp_copy()
354 nwam_ncp_handle_t ncph; in nwam_ncp_copy()
444 nwam_ncp_enable(nwam_ncp_handle_t ncph) in nwam_ncp_enable()
478 nwam_walk_ncps(int (*cb)(nwam_ncp_handle_t, void *), void *data, in nwam_walk_ncps() argument
482 nwam_ncp_handle_t ncph; in nwam_walk_ncps()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c249 active_ncp_callback(nwam_ncp_handle_t ncph, void *arg) in active_ncp_callback()
266 static nwam_ncp_handle_t
270 nwam_ncp_handle_t ncph; in determine_active_ncp()
314 nwam_ncp_handle_t ncph; in valid_ncp()
325 nwam_ncp_handle_t ncph; in valid_ncu()
499 ncu_action(const char *name, nwam_ncp_handle_t ncph, nwam_ncu_type_t type, in ncu_action()
574 nwam_ncp_handle_t ncph; in enable_func()
802 list_ncp_cb(nwam_ncp_handle_t ncph, void *arg) in list_ncp_cb()
897 nwam_ncp_handle_t ncph; in list_func()
906 nwam_ncp_handle_t ncph; in list_func()
[all …]
/illumos-gate/usr/src/lib/libnwam/
H A DREADME237 nwam_ncp_handle_t *ncp);
239 nwam_ncp_handle_t *ncp);
240 nwam_error_t nwam_ncp_copy(nwam_ncp_handle_t ncp, const char *newname,
241 nwam_ncp_handle_t *newncp);
242 nwam_error_t nwam_ncp_walk_ncus(nwam_ncp_handle_t ncp,
244 nwam_error_t nwam_ncp_get_name(nwam_ncp_handle_t ncp, char **name);
245 nwam_error_t nwam_ncp_activate(nwam_ncp_handle_t ncp);
246 nwam_error_t nwam_ncp_deactivate(nwam_ncp_handle_t ncp);
247 nwam_error_t nwam_ncp_destroy(nwam_ncp_handle_t ncp, uint64_t flags);
248 void nwam_ncp_free(nwam_ncp_handle_t ncp);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c340 static nwam_ncp_handle_t ncp_h = NULL;
1409 nwam_ncp_handle_t oldncp_h; in create_func()
1514 destroy_ncp_callback(nwam_ncp_handle_t ncp, void *arg) in destroy_ncp_callback()
2680 list_ncp_callback(nwam_ncp_handle_t ncp, void *arg) in list_ncp_callback()
2857 boolean_t all_props, nwam_ncp_handle_t ncp, nwam_ncu_type_t ncu_type) in listprop()
2876 (nwam_ncp_handle_t *)&handle)) != NWAM_SUCCESS) in listprop()
3301 export_ncp_callback(nwam_ncp_handle_t ncp, void *arg) in export_ncp_callback()