Searched refs:hiscore (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv6/ |
| H A D | inet6_hashtables.c | 194 int score, hiscore = 0; in inet6_lhash2_lookup() local 198 if (score > hiscore) { in inet6_lhash2_lookup() 205 hiscore = score; in inet6_lhash2_lookup()
|
| H A D | addrconf.c | 1617 /* Rule 0: remember if hiscore is not ready yet */ in ipv6_get_saddr_eval() 1734 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() 1768 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr() 1786 swap(hiscore, score); in __ipv6_dev_get_saddr() 1790 score->ifa = hiscore->ifa; 1826 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() 1910 hiscore = &scores[hiscore_idx]; 1911 if (!hiscore->ifa) 1914 *saddr = hiscore->ifa->addr; in __ipv6_get_lladdr() 1725 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; __ipv6_dev_get_saddr() local 1817 struct ipv6_saddr_score scores[2], *hiscore; ipv6_dev_get_saddr() local
|
| /linux/net/ipv4/ |
| H A D | inet_hashtables.c | 425 int score, hiscore = 0; in inet_lhash2_lookup() 429 if (score > hiscore) { in inet_lhash2_lookup() 436 hiscore = score; in inet_lhash2_lookup() 427 int score, hiscore = 0; inet_lhash2_lookup() local
|