Definition at line 1667 of file dns.c.
References dll_get_next(), foutptr, i, MAX_HASH_ENTRIES, red_serv::serv_name, and node::servp.
Referenced by main().
1671 int n_entries, max_entry_index = 0;
1672 int max_entries = 0;
1675 if( (
foutptr = fopen(
"scratch$week:[cp_operator]dim_dns.log",
"w" )
1678 printf(
"Cannot open: scratch$week:[cp_operator]dim_dns.log for writing\n");
1688 fprintf(
foutptr,
"HASH[%d] : \n",i);
1704 printf(
"HASH[%d] - %d entries\n", i, n_entries);
1705 if(n_entries > max_entries)
1707 max_entries = n_entries;
1708 max_entry_index =
i;
1714 printf(
"Maximum : HASH[%d] - %d entries\n", max_entry_index, max_entries);
DLL * dll_get_next(DLL *head, DLL *item)
static RED_DNS_SERVICE * Service_hash_table[MAX_HASH_ENTRIES]