Home
last modified time | relevance | path

Searched refs:hiscore (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dninet_hashtables.c382 int hiscore = 0; in ninet_lhash2_lookup() local
392 if (score > hiscore) { in ninet_lhash2_lookup()
395 hiscore = score; in ninet_lhash2_lookup()
402 } else if (score == hiscore && reuseport) { in ninet_lhash2_lookup()
/kernel/linux/linux-5.10/net/ipv6/
H A Dinet6_hashtables.c143 int score, hiscore = 0; in inet6_lhash2_lookup() local
148 if (score > hiscore) { in inet6_lhash2_lookup()
155 hiscore = score; in inet6_lhash2_lookup()
H A Daddrconf.c1536 /* Rule 0: remember if hiscore is not ready yet */ in ipv6_get_saddr_eval()
1653 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() local
1687 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr()
1705 swap(hiscore, score); in __ipv6_dev_get_saddr()
1709 score->ifa = hiscore->ifa; in __ipv6_dev_get_saddr()
1745 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() local
1828 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()
1829 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1832 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
/kernel/linux/linux-6.6/net/ipv6/
H A Dinet6_hashtables.c160 int score, hiscore = 0; in inet6_lhash2_lookup() local
164 if (score > hiscore) { in inet6_lhash2_lookup()
171 hiscore = score; in inet6_lhash2_lookup()
H A Daddrconf.c1568 /* Rule 0: remember if hiscore is not ready yet */ in ipv6_get_saddr_eval()
1685 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() local
1719 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr()
1737 swap(hiscore, score); in __ipv6_dev_get_saddr()
1741 score->ifa = hiscore->ifa; in __ipv6_dev_get_saddr()
1777 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() local
1860 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()
1861 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1864 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
/kernel/linux/linux-5.10/net/ipv4/
H A Dinet_hashtables.c296 int score, hiscore = 0; in inet_lhash2_lookup() local
301 if (score > hiscore) { in inet_lhash2_lookup()
308 hiscore = score; in inet_lhash2_lookup()
/kernel/linux/linux-6.6/net/ipv4/
H A Dinet_hashtables.c392 int score, hiscore = 0; in inet_lhash2_lookup() local
396 if (score > hiscore) { in inet_lhash2_lookup()
403 hiscore = score; in inet_lhash2_lookup()

Completed in 21 milliseconds