Lines Matching defs:hash
113 unsigned hash = tos;
116 hash += (dst.s_addr >> (32 - idx)) + (src.s_addr >> idx);
117 return hash & (IPFLOW_HASHSIZE-1);
124 unsigned hash;
127 hash = ipflow_hash(ip->ip_dst, ip->ip_src, ip->ip_tos);
129 ipf = LIST_FIRST(&ipflows[hash]);
233 * Remove the flow from the hash table (at elevated IPL).
321 unsigned hash;
368 hash = ipflow_hash(ip->ip_dst, ip->ip_src, ip->ip_tos);
369 LIST_INSERT_HEAD(&ipflows[hash], ipf, ipf_next);