H A D | ipmgmt_persist.c | 30 * typedef boolean_t db_wfunc_t(void *cbarg, nvlist_t *db_nvl, char *buf, 36 * `db_nvl' - representing a line from DB in nvlist_t form 41 * All the 'write' callback functions modify `db_nvl' based on `cbarg' and 42 * copy string representation of `db_nvl' (using ipadm_nvlist2str()) into `buf'. 47 * reading `db_nvl' and then populate the `cbarg'. 82 * Checks if the database nvl, `db_nvl' contains and matches ALL of the passed 86 ipmgmt_nvlist_match(nvlist_t *db_nvl, const char *proto, const char *ifname, argument 94 /* walk through db_nvl and retrieve all its private nvpairs */ 95 for (nvp = nvlist_next_nvpair(db_nvl, NULL); nvp != NULL; 96 nvp = nvlist_next_nvpair(db_nvl, nv 142 ipmgmt_nvlist_intersects(nvlist_t *db_nvl, nvlist_t *in_nvl) argument 168 ipmgmt_nvlist_contains(nvlist_t *db_nvl, const char *proto, const char *ifname, char *aobjname) argument 210 ipmgmt_db_getprop(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 247 ipmgmt_db_resetprop(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 326 ipmgmt_db_getaddr(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 486 ipmgmt_db_add(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 497 ipmgmt_db_update(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 560 ipmgmt_db_getif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 615 ipmgmt_db_resetif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 710 ipmgmt_db_resetaddr(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 732 ipmgmt_db_initif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1109 ipmgmt_aobjmap_init(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1168 ipmgmt_update_aobjmap(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1207 ipmgmt_delete_aobjmap(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1269 ipmgmt_db_upgrade(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1350 ipmgmt_db_init(void *cbarg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument [all...] |