Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c115 static hashtable_t hosthash[HOSTHASHSIZE]; variable
364 if ((key == hosthash[ix].ht_key) && in gethname()
365 (hosthash[ix].ht_type == tid->at_type)) { in gethname()
369 if (hosthash[ix].ht_ip[i] != tid->at_addr[i]) { in gethname()
375 } else if (key == hosthash[ix].ht_key) { in gethname()
379 hosthash[ix].ht_key = key; in gethname()
380 hosthash[ix].ht_type = tid->at_type; in gethname()
383 hosthash[ix].ht_ip[0] = tid->at_addr[0]; in gethname()
386 (void) memcpy((char *)hosthash[ix].ht_ip, in gethname()
395 hosthash[ix].ht_value, MAXHOSTNAMELEN); in gethname()
[all …]