Searched refs:iphash (Results 1 – 2 of 2) sorted by relevance
84 #define iphash(e) ((e) & (MAXHASH-1)) macro104 for (h = h_table4[iphash(ipaddr->s_addr)]; h; h = h->h4_next) {150 for (h = h_table6[iphash(((uint32_t *)ip6addr)[3])]; h;209 hp = (struct hostdata **)&h_table4[iphash(hashval)];224 hp = (struct hostdata **)&h_table6[iphash(hashval)];
78 #define iphash(e) ((e) & (MAXHASH-1)) macro98 for (h = h_table4[iphash(ipaddr.s_addr)]; h; h = h->h4_next) { in iplookup()146 for (h = h_table6[iphash(((uint32_t *)ip6addr)[3])]; h; in ip6lookup()208 hp = (struct hostdata **)&h_table4[iphash(hashval)]; in addhost()223 hp = (struct hostdata **)&h_table6[iphash(hashval)]; in addhost()