Lines Matching defs:seedProbability
124 int8_t seedProbability; /* how likely is this to be a seed... [0..100] or -1 for unknown */
651 atomSetSeedProbability( struct peer_atom * atom, int seedProbability )
654 assert( -1<=seedProbability && seedProbability<=100 );
656 atom->seedProbability = seedProbability;
658 if( seedProbability == 100 )
660 else if( seedProbability != -1 )
667 return atom->seedProbability == 100;
1900 const int8_t seedProbability,
1921 atomSetSeedProbability( a, seedProbability );
1931 if( a->seedProbability == -1 )
1932 atomSetSeedProbability( a, seedProbability );
2127 const tr_pex * pex, int8_t seedProbability )
2136 ensureAtomExists( t, &pex->addr, pex->port, pex->flags, seedProbability, from );
3850 if( atom->seedProbability == 100 ) i = 101;
3851 else if( atom->seedProbability == -1 ) i = 100;
3852 else i = atom->seedProbability;
4092 fprintf( stderr, "Starting an OUTGOING connection with %s - [%s] seedProbability==%d; %s, %s\n",
4095 (int)c->atom->seedProbability,