Lines Matching refs:net_hashes
41 struct rthash *net_hashes[IPV6_ABITS + 1]; variable
182 if (net_hashes[prefix_length] == NULL) in rtlookup()
187 rh = &net_hashes[prefix_length][hash & ROUTEHASHMASK]; in rtlookup()
244 if (net_hashes[prefix_length] == NULL) { in rtadd()
253 net_hashes[prefix_length] = rh; in rtadd()
258 rh = &net_hashes[prefix_length][hash & ROUTEHASHMASK]; in rtadd()
477 if (net_hashes[i] == NULL) in rtpurgeif()
480 for (rh = net_hashes[i]; in rtpurgeif()
481 rh < &net_hashes[i][ROUTEHASHSIZ]; rh++) { in rtpurgeif()
508 if (net_hashes[i] == NULL) in rtchangeall()
511 for (rh = net_hashes[i]; in rtchangeall()
512 rh < &net_hashes[i][ROUTEHASHSIZ]; rh++) { in rtchangeall()
598 if (net_hashes[i] == NULL) in rtdump2()
601 for (rh = net_hashes[i]; in rtdump2()
602 rh < &net_hashes[i][ROUTEHASHSIZ]; rh++) { in rtdump2()