Lines Matching refs:tr_bencDictAddInt
819 tr_bencDictAddInt( &val, "e", getSession(msgs)->encryptionMode != TR_CLEAR_PREFERRED );
824 tr_bencDictAddInt( &val, "metadata_size", msgs->torrent->infoDictLength );
825 tr_bencDictAddInt( &val, "p", tr_sessionGetPublicPeerPort( getSession(msgs) ) );
826 tr_bencDictAddInt( &val, "reqq", REQQ );
827 tr_bencDictAddInt( &val, "upload_only", tr_torrentIsSeed( msgs->torrent ) );
832 tr_bencDictAddInt( m, "ut_metadata", UT_METADATA_ID );
834 tr_bencDictAddInt( m, "ut_pex", UT_PEX_ID );
1007 tr_bencDictAddInt( &tmp, "msg_type", METADATA_MSG_TYPE_REJECT );
1008 tr_bencDictAddInt( &tmp, "piece", piece );
1722 tr_bencDictAddInt( &tmp, "msg_type", METADATA_MSG_TYPE_REQUEST );
1723 tr_bencDictAddInt( &tmp, "piece", piece );
1817 tr_bencDictAddInt( &tmp, "msg_type", METADATA_MSG_TYPE_DATA );
1818 tr_bencDictAddInt( &tmp, "piece", piece );
1819 tr_bencDictAddInt( &tmp, "total_size", msgs->torrent->infoDictLength );
1846 tr_bencDictAddInt( &tmp, "msg_type", METADATA_MSG_TYPE_REJECT );
1847 tr_bencDictAddInt( &tmp, "piece", piece );