Searched refs:iphash (Results 1 – 2 of 2) sorted by relevance
82 #define iphash(e) ((e) & (MAXHASH-1)) macro102 for (h = h_table4[iphash(ipaddr->s_addr)]; h; h = h->h4_next) {148 for (h = h_table6[iphash(((uint32_t *)ip6addr)[3])]; h;207 hp = (struct hostdata **)&h_table4[iphash(hashval)];222 hp = (struct hostdata **)&h_table6[iphash(hashval)];
82 #define iphash(e) ((e) & (MAXHASH-1)) macro115 for (h = h_table4[iphash(ipaddr.s_addr)]; h; h = h->h4_next) { in iplookup()167 for (h = h_table6[iphash(((uint32_t *)ip6addr)[3])]; h; in ip6lookup()233 hp = (struct hostdata **)&h_table4[iphash(hashval)]; in addhost()248 hp = (struct hostdata **)&h_table6[iphash(hashval)]; in addhost()