Searched refs:score (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_nat_core.c | 223 unsigned int *score, in fake_cmp() argument 234 (*score)++; in fake_cmp() 242 unsigned int score = 0; in count_maps() local 248 src, dst, protonum, &score, conntrack); in count_maps() 250 return score; in count_maps() 272 unsigned int score; in find_best_ips_proto() member 309 unsigned int score; in find_best_ips_proto() local 330 score = count_maps(tuple->src.ip, tuple->dst.ip, in find_best_ips_proto() 332 if (score < best.score) { in find_best_ips_proto() 335 if (score == 0) in find_best_ips_proto() [all …]
|
/linux-2.4.37.9/net/ipv4/ |
D | udp.c | 226 int score; in udp_v4_lookup_longway() local 228 score = sk->family == PF_INET ? 1 : 0; in udp_v4_lookup_longway() 230 score = 1; in udp_v4_lookup_longway() 235 score+=2; in udp_v4_lookup_longway() 240 score+=2; in udp_v4_lookup_longway() 245 score+=2; in udp_v4_lookup_longway() 250 score+=2; in udp_v4_lookup_longway() 252 if(score == 9) { in udp_v4_lookup_longway() 255 } else if(score > badness) { in udp_v4_lookup_longway() 257 badness = score; in udp_v4_lookup_longway()
|
D | route.c | 379 u32 score = jiffies - rt->u.dst.lastuse; in rt_score() local 381 score = ~score & ~(3<<30); in rt_score() 384 score |= (1<<31); in rt_score() 388 score |= (1<<30); in rt_score() 390 return score; in rt_score() 688 u32 score = rt_score(rth); in rt_intern_hash() local 690 if (score <= min_score) { in rt_intern_hash() 693 min_score = score; in rt_intern_hash()
|
D | tcp_ipv4.c | 428 int score, hiscore; in __tcp_v4_lookup_listener() local 436 score = sk->family == PF_INET ? 1 : 0; in __tcp_v4_lookup_listener() 438 score = 1; in __tcp_v4_lookup_listener() 443 score+=2; in __tcp_v4_lookup_listener() 448 score+=2; in __tcp_v4_lookup_listener() 450 if (score == 5) in __tcp_v4_lookup_listener() 452 if (score > hiscore) { in __tcp_v4_lookup_listener() 453 hiscore = score; in __tcp_v4_lookup_listener()
|
/linux-2.4.37.9/drivers/net/ |
D | slip.c | 733 int score = -1; local 758 if (slp->ctrl.line == line && score < 3) { 760 score = 3; 763 if (score < 2) { 765 score = 2; 769 if (slp->ctrl.line == line && score < 1) { 771 score = 1; 774 if (score < 0) { 776 score = 0; 783 if (score > 1) {
|
/linux-2.4.37.9/net/ipv6/ |
D | udp.c | 186 int score = 0; in udp_v6_lookup() local 190 score++; in udp_v6_lookup() 195 score++; in udp_v6_lookup() 200 score++; in udp_v6_lookup() 205 score++; in udp_v6_lookup() 207 if(score == 4) { in udp_v6_lookup() 210 } else if(score > badness) { in udp_v6_lookup() 212 badness = score; in udp_v6_lookup()
|
D | tcp_ipv6.c | 259 int score, hiscore; in tcp_v6_lookup_listener() local 268 score = 1; in tcp_v6_lookup_listener() 272 score++; in tcp_v6_lookup_listener() 277 score++; in tcp_v6_lookup_listener() 279 if (score == 3) { in tcp_v6_lookup_listener() 283 if (score > hiscore) { in tcp_v6_lookup_listener() 284 hiscore = score; in tcp_v6_lookup_listener()
|
/linux-2.4.37.9/drivers/net/irda/ |
D | donauboe.c | 716 toshoboe_dumprx (struct toshoboe_cb *self, int score) in toshoboe_dumprx() argument 719 PROBE_DEBUG(" %d\nRX:",score); in toshoboe_dumprx()
|