Home
last modified time | relevance | path

Searched refs:hiscore (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/ipv6/
Dinet6_hashtables.c138 int score, hiscore = 0; in inet6_lhash2_lookup() local
145 if (score > hiscore) { in inet6_lhash2_lookup()
155 hiscore = score; in inet6_lhash2_lookup()
174 int score, hiscore = 0; in inet6_lookup_listener() local
211 if (score > hiscore) { in inet6_lookup_listener()
221 hiscore = score; in inet6_lookup_listener()
Daddrconf.c1601 struct ipv6_saddr_score *score = &scores[1 - hiscore_idx], *hiscore = &scores[hiscore_idx]; in __ipv6_dev_get_saddr() local
1635 minihiscore = ipv6_get_saddr_eval(net, hiscore, dst, i); in __ipv6_dev_get_saddr()
1653 swap(hiscore, score); in __ipv6_dev_get_saddr()
1657 score->ifa = hiscore->ifa; in __ipv6_dev_get_saddr()
1693 struct ipv6_saddr_score scores[2], *hiscore; in ipv6_dev_get_saddr() local
1776 hiscore = &scores[hiscore_idx]; in ipv6_dev_get_saddr()
1777 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1780 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
/Linux-v4.19/net/ipv4/
Dinet_hashtables.c275 int score, hiscore = 0; in inet_lhash2_lookup() local
282 if (score > hiscore) { in inet_lhash2_lookup()
292 hiscore = score; in inet_lhash2_lookup()
311 int score, hiscore = 0; in __inet_lookup_listener() local
349 if (score > hiscore) { in __inet_lookup_listener()
359 hiscore = score; in __inet_lookup_listener()