Lines Matching defs:ncp
136 "ncp",
364 "create ncp ",
374 "destroy ncp ",
386 "export ncp ",
395 "list ncp ",
406 "select ncp ",
611 /* Returns "loc", "enm", "wlan" or "ncp" as string */
627 /* Returns "ncp, "ncu", "loc", "enm", or "wlan" according to the scope */
634 return ("ncp");
827 * If free_ncu_only == B_TRUE, only ncu handle is freed, ncp handle remains the
1347 /* ncp must already be read */
1407 /* ncp must already be read */
1500 destroy_ncp_callback(nwam_ncp_handle_t ncp, void *arg)
1503 nwam_error_t ret = nwam_ncp_destroy(ncp, NWAM_FLAG_DO_NOT_FREE);
1504 return (destroy_ret(NWAM_OBJECT_TYPE_NCP, ret, ncp));
1625 /* ncp must already be read */
1884 /* ncp must already be read */
2645 list_ncp_callback(nwam_ncp_handle_t ncp, void *arg)
2647 return (list_callback(NWAM_OBJECT_TYPE_NCP, ncp, arg, "NCPs"));
2814 * printed or not. ncp and ncu_type are used only when the object_type is
2819 boolean_t all_props, nwam_ncp_handle_t ncp, nwam_ncu_type_t ncu_type)
2842 ret = nwam_ncu_read(ncp, lname, ncu_type, 0,
2850 all_props, ncp, NWAM_NCU_TYPE_LINK))
2854 all_props, ncp, NWAM_NCU_TYPE_INTERFACE);
3263 export_ncp_callback(nwam_ncp_handle_t ncp, void *arg)
3271 if ((ret = nwam_ncp_get_name(ncp, &name)) != NWAM_SUCCESS)
3280 (void) fprintf(of, "create ncp \"%s\"\n", name);
3283 /* now walk NCUs for this ncp */
3284 ret = nwam_ncp_walk_ncus(ncp, export_ncu_callback, of,
3287 nwamerr(ret, "Export ncp error: failed to walk ncus");
3586 nerr("'%s' ncp cannot be exported", name);