• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/

Lines Matching refs:tracker

48     /* unless the tracker says otherwise, rescrape this frequently */
51 /* unless the tracker says otherwise, this is the announce interval */
54 /* unless the tracker says otherwise, this is the announce min_interval */
60 /* the value of the 'numwant' argument passed in tracker requests. */
65 /* this is how often to call the UDP tracker upkeep */
108 * tracker announcements of active torrents. The remaining keys are
126 /* tertiary key: the tracker's announec url */
238 trackerConstruct( tr_tracker * tracker, const tr_tracker_info * inf )
240 memset( tracker, 0, sizeof( tr_tracker ) );
241 tracker->key = getKey( inf->announce );
242 tracker->announce = tr_strdup( inf->announce );
243 tracker->scrape = tr_strdup( inf->scrape );
244 tracker->id = inf->id;
245 tracker->seederCount = -1;
246 tracker->leecherCount = -1;
247 tracker->downloadCount = -1;
251 trackerDestruct( tr_tracker * tracker )
253 tr_free( tracker->tracker_id_str );
254 tr_free( tracker->scrape );
255 tr_free( tracker->announce );
256 tr_free( tracker->key );
269 * "event=stopped" message that was acknowledged by the tracker */
370 /* move our index to the next tracker in the tier */
392 * @brief Opaque, per-torrent data structure for tracker announce information
476 event.tracker = tier->currentTracker->announce;
586 * "http://tracker/announce" +
587 * "http://tracker:80/announce"
997 /* switch to the next tracker */
1022 tr_tracker * tracker;
1058 on_announce_error( tier, _( "Could not connect to tracker" ), event );
1066 /* If the torrent's only tracker returned an error, publish it.
1087 if(( tracker = tier->currentTracker ))
1089 tracker->consecutiveFailures = 0;
1093 tracker->seederCount = seeders = response->seeders;
1099 tracker->leecherCount = leechers = response->leechers;
1104 tracker->downloadCount = downloads = response->downloads;
1110 tr_free( tracker->tracker_id_str );
1111 tracker->tracker_id_str = tr_strdup( str );
1119 dbgmsg( tier, "tracker gave \"%s\"", str );
1144 /* if the tracker included scrape fields in its announce response,
1146 if( ( scrape_fields >= 3 ) || ( !tracker->scrape && ( scrape_fields >= 1 ) ) )
1168 * for this tracker */
1262 /* switch to the next tracker */
1280 const tr_tracker * const tracker = tt->tiers[i].currentTracker;
1281 if( tracker && !tr_strcmp0( scrape, tracker->scrape ) )
1333 on_scrape_error( session, tier, _( "Could not connect to tracker" ) );
1345 tr_tracker * tracker;
1354 if(( tracker = tier->currentTracker ))
1357 tracker->seederCount = row->seeders;
1359 tracker->leecherCount = row->leechers;
1361 tracker->downloadCount = row->downloads;
1362 tracker->downloaderCount = row->downloaders;
1363 tracker->consecutiveFailures = 0;
1532 tr_tordbg( tier->tor, "%s", "Announcing to tracker" );
1603 const tr_tracker * const tracker = &tier->trackers[j];
1606 st->id = tracker->id;
1607 tr_strlcpy( st->host, tracker->key, sizeof( st->host ) );
1608 tr_strlcpy( st->announce, tracker->announce, sizeof( st->announce ) );
1610 st->isBackup = tracker != tier->currentTracker;
1612 if( tracker->scrape )
1613 tr_strlcpy( st->scrape, tracker->scrape, sizeof( st->scrape ) );
1617 st->seederCount = tracker->seederCount;
1618 st->leecherCount = tracker->leecherCount;
1619 st->downloadCount = tracker->downloadCount;