Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c82 #define iphash(e) ((e) & (MAXHASH-1)) macro
102 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)];
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c82 #define iphash(e) ((e) & (MAXHASH-1)) macro
115 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()