Searched defs:newhost (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c215 hostlist_t *newhost; local
337 newhost = malloc(sizeof (hostlist_t));
338 if (newhost == NULL) {
342 newhost->host = hostentry;
343 newhost->port = htons(port);
344 newhost->mech = mech_oid;
345 newhost->next_host = NULL;
347 lasthost->next_host = newhost;
350 lasthost = newhost;
351 hosts_new = newhost;
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c1677 struct nlm_host *host, *newhost = NULL; local
1699 newhost = nlm_host_create(name, netid, &knc, addr);
1700 newhost->nh_sysid = nlm_sysid_alloc();
1701 if (newhost->nh_sysid == LM_NOSYSID)
1707 host = newhost;
1708 newhost = NULL;
1728 if (newhost != NULL) {
1734 newhost->nh_refs--;
1735 nlm_host_destroy(newhost);

Completed in 68 milliseconds