Lines Matching refs:maxPeers
216 int maxPeers;
2436 t->maxPeers = t->tor->maxConnectedPeers;
2859 int maxPeers = 0;
2911 maxPeers = t->interestedCount * mult;
2925 maxPeers = t->maxPeers + inc;
2933 if( maxPeers < MIN_INTERESTING_PEERS )
2934 maxPeers = MIN_INTERESTING_PEERS;
2935 if( maxPeers > t->tor->maxConnectedPeers )
2936 maxPeers = t->tor->maxConnectedPeers;
2938 t->maxPeers = maxPeers;
2993 t->interestedCount = MIN( maxPeers, rechoke_count );