Searched refs:hiscore (Results 1 – 3 of 3) sorted by relevance
/net/ipv6/ |
D | inet6_hashtables.c | 168 int score, hiscore, matches = 0, reuseport = 0; in inet6_lookup_listener() local 176 hiscore = 0; in inet6_lookup_listener() 179 if (score > hiscore) { in inet6_lookup_listener() 180 hiscore = score; in inet6_lookup_listener() 188 } else if (score == hiscore && reuseport) { in inet6_lookup_listener() 206 dif) < hiscore)) { in inet6_lookup_listener()
|
D | addrconf.c | 1384 *score = &scores[0], *hiscore = &scores[1]; in ipv6_dev_get_saddr() local 1396 hiscore->rule = -1; in ipv6_dev_get_saddr() 1397 hiscore->ifa = NULL; in ipv6_dev_get_saddr() 1466 minihiscore = ipv6_get_saddr_eval(net, hiscore, &dst, i); in ipv6_dev_get_saddr() 1484 if (hiscore->ifa) in ipv6_dev_get_saddr() 1485 in6_ifa_put(hiscore->ifa); in ipv6_dev_get_saddr() 1489 swap(hiscore, score); in ipv6_dev_get_saddr() 1492 score->ifa = hiscore->ifa; in ipv6_dev_get_saddr() 1503 if (!hiscore->ifa) in ipv6_dev_get_saddr() 1506 *saddr = hiscore->ifa->addr; in ipv6_dev_get_saddr() [all …]
|
/net/ipv4/ |
D | inet_hashtables.c | 187 int score, hiscore, matches = 0, reuseport = 0; in __inet_lookup_listener() local 193 hiscore = 0; in __inet_lookup_listener() 196 if (score > hiscore) { in __inet_lookup_listener() 198 hiscore = score; in __inet_lookup_listener() 205 } else if (score == hiscore && reuseport) { in __inet_lookup_listener() 223 dif) < hiscore)) { in __inet_lookup_listener()
|