Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv6/
Dinet6_hashtables.c129 int score, hiscore, matches = 0, reuseport = 0; in inet6_lookup_listener() local
137 hiscore = 0; in inet6_lookup_listener()
140 if (score > hiscore) { in inet6_lookup_listener()
141 hiscore = score; in inet6_lookup_listener()
149 } else if (score == hiscore && reuseport) { in inet6_lookup_listener()
167 dif) < hiscore)) { in inet6_lookup_listener()
Daddrconf.c1375 *score = &scores[0], *hiscore = &scores[1]; in ipv6_dev_get_saddr() local
1387 hiscore->rule = -1; in ipv6_dev_get_saddr()
1388 hiscore->ifa = NULL; in ipv6_dev_get_saddr()
1449 minihiscore = ipv6_get_saddr_eval(net, hiscore, &dst, i); in ipv6_dev_get_saddr()
1467 if (hiscore->ifa) in ipv6_dev_get_saddr()
1468 in6_ifa_put(hiscore->ifa); in ipv6_dev_get_saddr()
1472 swap(hiscore, score); in ipv6_dev_get_saddr()
1475 score->ifa = hiscore->ifa; in ipv6_dev_get_saddr()
1486 if (!hiscore->ifa) in ipv6_dev_get_saddr()
1489 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr()
[all …]
/linux-4.1.27/net/ipv4/
Dinet_hashtables.c215 int score, hiscore, matches = 0, reuseport = 0; in __inet_lookup_listener() local
221 hiscore = 0; in __inet_lookup_listener()
224 if (score > hiscore) { in __inet_lookup_listener()
226 hiscore = score; in __inet_lookup_listener()
233 } else if (score == hiscore && reuseport) { in __inet_lookup_listener()
251 dif) < hiscore)) { in __inet_lookup_listener()