Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

EDPacket.h File Reference

#include "Packet.h"

Go to the source code of this file.

Defines

#define ED2K_VERSION   0x3D
#define ED2K_PROTOCOL_EDONKEY   0xE3
#define ED2K_PROTOCOL_PACKED   0xD4
#define ED2K_PROTOCOL_EMULE   0xC5
#define ED2K_PROTOCOL_MLDONKEY   0x00
#define ED2K_PROTOCOL_MET   0x0E
#define ED2K_C2S_LOGINREQUEST   0x01
#define ED2K_C2S_GETSERVERLIST   0x14
#define ED2K_C2S_OFFERFILES   0x15
#define ED2K_C2S_SEARCHREQUEST   0x16
#define ED2K_C2S_SEARCHUSER   0x1a
#define ED2K_C2S_GETSOURCES   0x19
#define ED2K_C2S_CALLBACKREQUEST   0x1C
#define ED2K_C2S_MORERESULTS   0x21
#define ED2K_S2C_REJECTED   0x05
#define ED2K_S2C_SERVERMESSAGE   0x38
#define ED2K_S2C_IDCHANGE   0x40
#define ED2K_S2C_SERVERLIST   0x32
#define ED2K_S2C_SEARCHRESULTS   0x33
#define ED2K_S2C_FOUNDSOURCES   0x42
#define ED2K_S2C_SERVERSTATUS   0x34
#define ED2K_S2C_SERVERIDENT   0x41
#define ED2K_S2C_CALLBACKREQUESTED   0x35
#define ED2K_C2SG_SEARCHREQUEST2   0x92
#define ED2K_C2SG_GETSOURCES2   0x94
#define ED2K_C2SG_SERVERSTATUSREQUEST   0x96
#define ED2K_S2CG_SERVERSTATUS   0x97
#define ED2K_C2SG_SEARCHREQUEST   0x98
#define ED2K_S2CG_SEARCHRESULT   0x99
#define ED2K_C2SG_GETSOURCES   0x9A
#define ED2K_S2CG_FOUNDSOURCES   0x9B
#define ED2K_C2SG_CALLBACKREQUEST   0x9C
#define ED2K_S2CG_CALLBACKFAIL   0x9E
#define ED2K_C2C_HELLO   0x01
#define ED2K_C2C_HELLOANSWER   0x4C
#define ED2K_C2C_FILEREQUEST   0x58
#define ED2K_C2C_FILEREQANSWER   0x59
#define ED2K_C2C_FILENOTFOUND   0x48
#define ED2K_C2C_FILESTATUS   0x50
#define ED2K_C2C_QUEUEREQUEST   0x54
#define ED2K_C2C_QUEUERELEASE   0x56
#define ED2K_C2C_QUEUERANK   0x5C
#define ED2K_C2C_STARTUPLOAD   0x55
#define ED2K_C2C_FINISHUPLOAD   0x57
#define ED2K_C2C_REQUESTPARTS   0x47
#define ED2K_C2C_SENDINGPART   0x46
#define ED2K_C2C_FILESTATUSREQUEST   0x4F
#define ED2K_C2C_HASHSETREQUEST   0x51
#define ED2K_C2C_HASHSETANSWER   0x52
#define ED2K_C2C_ASKSHAREDFILES   0x4A
#define ED2K_C2C_ASKSHAREDFILESANSWER   0x4B
#define ED2K_C2C_MESSAGE   0x4E
#define ED2K_C2C_EMULEINFO   0x01
#define ED2K_C2C_EMULEINFOANSWER   0x02
#define ED2K_C2C_COMPRESSEDPART   0x40
#define ED2K_C2C_QUEUERANKING   0x60
#define ED2K_C2C_FILEDESC   0x61
#define ED2K_C2C_REQUESTSOURCES   0x81
#define ED2K_C2C_ANSWERSOURCES   0x82
#define ED2K_C2C_UDP_REASKFILEPING   0x90
#define ED2K_C2C_UDP_REASKACK   0x91
#define ED2K_C2C_UDP_FILENOTFOUND   0x92
#define ED2K_C2C_UDP_QUEUEFULL   0x93
#define ED2K_SERVER_TCP_DEFLATE   0x00000001
#define ED2K_SERVER_TCP_SMALLTAGS   0x00000008
#define ED2K_SERVER_TCP_UNICODE   0x00000010
#define ED2K_SERVER_TCP_GETSOURCES2   0x00000020
#define ED2K_SERVER_TCP_RELATEDSEARCH   0x00000040
#define ED2K_SERVER_UDP_GETSOURCES   0x00000001
#define ED2K_SERVER_UDP_GETFILES   0x00000002
#define ED2K_SERVER_UDP_UNICODE   0x00000010
#define ED2K_SERVER_UDP_GETSOURCES2   0x00000020
#define ED2K_TAG_NULL   0x00
#define ED2K_TAG_HASH   0x01
#define ED2K_TAG_STRING   0x02
#define ED2K_TAG_INT   0x03
#define ED2K_TAG_FLOAT   0x04
#define ED2K_TAG_BOOL   0x05
#define ED2K_TAG_BOOL_ARRAY   0x06
#define ED2K_TAG_BLOB   0x07
#define ED2K_TAG_UINT16   0x08
#define ED2K_TAG_UINT8   0x09
#define ED2K_TAG_UNUSED   0x0A
#define ED2K_TAG_SHORTSTRING   0x11
#define ED2K_TAG_STRING1   0x11
#define ED2K_TAG_STRING16   0x20
#define ED2K_ST_SERVERNAME   0x01
#define ED2K_ST_DESCRIPTION   0x0B
#define ED2K_ST_PING   0x0C
#define ED2K_ST_PREFERENCE   0x0E
#define ED2K_ST_FAIL   0x0D
#define ED2K_ST_DYNIP   0x85
#define ED2K_ST_LASTPING   0x86
#define ED2K_ST_MAXUSERS   0x87
#define ED2K_ST_MAXFILES   0x88
#define ED2K_ST_UDPFLAGS   0x92
#define ED2K_CT_NAME   0x01
#define ED2K_CT_PORT   0x0F
#define ED2K_CT_VERSION   0x11
#define ED2K_CT_FLAGS   0x20
#define ED2K_CT_MODVERSION   0x55
#define ED2K_CT_UDPPORTS   0xF9
#define ED2K_CT_FEATUREVERSIONS   0xFA
#define ED2K_CT_SOFTWAREVERSION   0xFB
#define ED2K_CT_UNKNOWN1   0xFC
#define ED2K_CT_UNKNOWN2   0xFD
#define ED2K_CT_MOREFEATUREVERSIONS   0xFE
#define ED2K_CT_UNKNOWN3   0xFF
#define ED2K_FT_FILENAME   0x01
#define ED2K_FT_FILESIZE   0x02
#define ED2K_FT_FILETYPE   0x03
#define ED2K_FT_FILEFORMAT   0x04
#define ED2K_FT_LASTSEENCOMPLETE   0x05
#define ED2K_FT_TRANSFERED   0x08
#define ED2K_FT_GAPSTART   0x09
#define ED2K_FT_GAPEND   0x0A
#define ED2K_FT_PARTFILENAME   0x12
#define ED2K_FT_PRIORITY   0x13
#define ED2K_FT_STATUS   0x14
#define ED2K_FT_SOURCES   0x15
#define ED2K_FT_PERMISSIONS   0x16
#define ED2K_FT_ULPRIORITY   0x17
#define ED2K_FT_COMPLETESOURCES   0x30
#define ED2K_FT_ATTRANSFERED   0x50
#define ED2K_FT_ATREQUESTED   0x51
#define ED2K_FT_ATACCEPTED   0x52
#define ED2K_FT_LENGTH   0xD3
#define ED2K_FT_BITRATE   0xD4
#define ED2K_FT_CODEC   0xD5
#define ED2K_FT_FILERATING   0xF7
#define ED2K_ET_COMPRESSION   0x20
#define ED2K_ET_UDPPORT   0x21
#define ED2K_ET_UDPVER   0x22
#define ED2K_ET_SOURCEEXCHANGE   0x23
#define ED2K_ET_COMMENTS   0x24
#define ED2K_ET_EXTENDEDREQUEST   0x25
#define ED2K_ET_COMPATIBLECLIENT   0x26
#define ED2K_ET_FEATURES   0x27
#define ED2K_MAXFILESINPACKET   0x20
#define ED2K_MESSAGE_MAX   500
#define ED2K_COMMENT_MAX   250
#define ED2K_COMPATIBLECLIENT_ID   ED2K_CLIENT_ID
#define ED2K_CLIENT_UNKNOWN   0xFF
#define ED2K_CLIENT_MOD   0xFE
#define ED2K_VERSION_COMPRESSION   0x01
#define ED2K_VERSION_UDP   0x02
#define ED2K_VERSION_SOURCEEXCHANGE   0x02
#define ED2K_VERSION_COMMENTS   0x01
#define ED2K_VERSION_EXTENDEDREQUEST   0x01
#define ED2K_VERSION_AICH   0x00
#define ED2K_VERSION_SECUREID   0x00


Define Documentation

#define ED2K_C2C_ANSWERSOURCES   0x82
 

Definition at line 225 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CEDClient::OnSourceRequest().

#define ED2K_C2C_ASKSHAREDFILES   0x4A
 

Definition at line 215 of file EDPacket.h.

#define ED2K_C2C_ASKSHAREDFILESANSWER   0x4B
 

Definition at line 216 of file EDPacket.h.

#define ED2K_C2C_COMPRESSEDPART   0x40
 

Definition at line 221 of file EDPacket.h.

Referenced by CEDPacket::Debug(), and CEDClient::OnPacket().

#define ED2K_C2C_EMULEINFO   0x01
 

Definition at line 219 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), CEDClient::OnHello(), CEDClient::OnPacket(), and CEDClient::Send().

#define ED2K_C2C_EMULEINFOANSWER   0x02
 

Definition at line 220 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::OnPacket().

#define ED2K_C2C_FILEDESC   0x61
 

Definition at line 223 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CEDClient::SendCommentsPacket().

#define ED2K_C2C_FILENOTFOUND   0x48
 

Definition at line 203 of file EDPacket.h.

Referenced by CUploadTransferED2K::Close(), CEDClient::OnFileRequest(), CEDClient::OnFileStatusRequest(), CEDClient::OnHashsetRequest(), CEDClient::OnPacket(), CUploadTransferED2K::OpenFile(), and CUploadTransferED2K::Request().

#define ED2K_C2C_FILEREQANSWER   0x59
 

Definition at line 202 of file EDPacket.h.

Referenced by CEDClient::OnFileRequest(), and CEDClient::OnPacket().

#define ED2K_C2C_FILEREQUEST   0x58
 

Definition at line 201 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendPrimaryRequest().

#define ED2K_C2C_FILESTATUS   0x50
 

Definition at line 204 of file EDPacket.h.

Referenced by CEDClient::OnFileStatusRequest(), and CEDClient::OnPacket().

#define ED2K_C2C_FILESTATUSREQUEST   0x4F
 

Definition at line 212 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendPrimaryRequest().

#define ED2K_C2C_FINISHUPLOAD   0x57
 

Definition at line 209 of file EDPacket.h.

Referenced by CUploadTransferED2K::Close(), CEDClient::OnPacket(), CUploadTransferED2K::OnQueueKick(), CUploadTransferED2K::ServeRequests(), and CUploadTransferED2K::StartNextRequest().

#define ED2K_C2C_HASHSETANSWER   0x52
 

Definition at line 214 of file EDPacket.h.

Referenced by CEDPacket::Debug(), CEDClient::OnHashsetRequest(), and CEDClient::OnPacket().

#define ED2K_C2C_HASHSETREQUEST   0x51
 

Definition at line 213 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendSecondaryRequest().

#define ED2K_C2C_HELLO   0x01
 

Definition at line 199 of file EDPacket.h.

Referenced by CEDClient::OnConnected(), CEDClient::OnHello(), CEDClient::OnPacket(), CHandshake::OnRead(), and CEDClient::SendHello().

#define ED2K_C2C_HELLOANSWER   0x4C
 

Definition at line 200 of file EDPacket.h.

Referenced by CEDClient::OnHello(), and CEDClient::OnPacket().

#define ED2K_C2C_MESSAGE   0x4E
 

Definition at line 217 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), CChatSession::ReadPacketsED2K(), and CChatSession::SendPrivateMessage().

#define ED2K_C2C_QUEUERANK   0x5C
 

Definition at line 207 of file EDPacket.h.

Referenced by CUploadTransferED2K::CheckRanking(), and CEDClient::OnPacket().

#define ED2K_C2C_QUEUERANKING   0x60
 

Definition at line 222 of file EDPacket.h.

Referenced by CUploadTransferED2K::CheckRanking(), and CEDClient::OnPacket().

#define ED2K_C2C_QUEUERELEASE   0x56
 

Definition at line 206 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendFragmentRequests().

#define ED2K_C2C_QUEUEREQUEST   0x54
 

Definition at line 205 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendSecondaryRequest().

#define ED2K_C2C_REQUESTPARTS   0x47
 

Definition at line 210 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendFragmentRequests().

#define ED2K_C2C_REQUESTSOURCES   0x81
 

Definition at line 224 of file EDPacket.h.

Referenced by CEDClient::OnPacket(), and CDownloadTransferED2K::SendPrimaryRequest().

#define ED2K_C2C_SENDINGPART   0x46
 

Definition at line 211 of file EDPacket.h.

Referenced by CEDPacket::Debug(), CUploadTransferED2K::DispatchNextChunk(), and CEDClient::OnPacket().

#define ED2K_C2C_STARTUPLOAD   0x55
 

Definition at line 208 of file EDPacket.h.

Referenced by CUploadTransferED2K::CheckRanking(), and CEDClient::OnPacket().

#define ED2K_C2C_UDP_FILENOTFOUND   0x92
 

Definition at line 230 of file EDPacket.h.

Referenced by CEDClients::OnUDP().

#define ED2K_C2C_UDP_QUEUEFULL   0x93
 

Definition at line 231 of file EDPacket.h.

Referenced by CEDClients::OnUDP().

#define ED2K_C2C_UDP_REASKACK   0x91
 

Definition at line 229 of file EDPacket.h.

Referenced by CUploadTransferED2K::OnReask(), and CEDClients::OnUDP().

#define ED2K_C2C_UDP_REASKFILEPING   0x90
 

Definition at line 228 of file EDPacket.h.

Referenced by CEDClients::OnUDP(), and CDownloadTransferED2K::RunQueued().

#define ED2K_C2S_CALLBACKREQUEST   0x1C
 

Definition at line 174 of file EDPacket.h.

Referenced by CNeighboursWithED2K::PushDonkey().

#define ED2K_C2S_GETSERVERLIST   0x14
 

Definition at line 169 of file EDPacket.h.

Referenced by CEDNeighbour::OnIdChange().

#define ED2K_C2S_GETSOURCES   0x19
 

Definition at line 173 of file EDPacket.h.

Referenced by CQuerySearch::ToEDPacket(), and CQuerySearch::WriteHashesToEDPacket().

#define ED2K_C2S_LOGINREQUEST   0x01
 

Definition at line 168 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected().

#define ED2K_C2S_MORERESULTS   0x21
 

Definition at line 175 of file EDPacket.h.

Referenced by CManagedSearch::ExecuteNeighbours().

#define ED2K_C2S_OFFERFILES   0x15
 

Definition at line 170 of file EDPacket.h.

Referenced by CEDNeighbour::SendSharedDownload(), and CEDNeighbour::SendSharedFiles().

#define ED2K_C2S_SEARCHREQUEST   0x16
 

Definition at line 171 of file EDPacket.h.

Referenced by CQuerySearch::ToEDPacket().

#define ED2K_C2S_SEARCHUSER   0x1a
 

Definition at line 172 of file EDPacket.h.

#define ED2K_C2SG_CALLBACKREQUEST   0x9C
 

Definition at line 195 of file EDPacket.h.

#define ED2K_C2SG_GETSOURCES   0x9A
 

Definition at line 193 of file EDPacket.h.

Referenced by CNeighboursWithED2K::FindDonkeySources(), and CQuerySearch::ToEDPacket().

#define ED2K_C2SG_GETSOURCES2   0x94
 

Definition at line 188 of file EDPacket.h.

Referenced by CQuerySearch::ToEDPacket(), and CQuerySearch::WriteHashesToEDPacket().

#define ED2K_C2SG_SEARCHREQUEST   0x98
 

Definition at line 191 of file EDPacket.h.

Referenced by CQuerySearch::ToEDPacket().

#define ED2K_C2SG_SEARCHREQUEST2   0x92
 

Definition at line 187 of file EDPacket.h.

#define ED2K_C2SG_SERVERSTATUSREQUEST   0x96
 

Definition at line 189 of file EDPacket.h.

Referenced by CEDClients::RequestServerStatus().

#define ED2K_CLIENT_MOD   0xFE
 

Definition at line 374 of file EDPacket.h.

Referenced by CEDClient::DeriveVersion(), and CEDClient::OnEmuleInfo().

#define ED2K_CLIENT_UNKNOWN   0xFF
 

Definition at line 373 of file EDPacket.h.

Referenced by CEDClient::DeriveVersion(), and CEDClient::OnEmuleInfo().

#define ED2K_COMMENT_MAX   250
 

Definition at line 367 of file EDPacket.h.

Referenced by CDownloadTransferED2K::OnFileComment(), and CEDClient::SendCommentsPacket().

#define ED2K_COMPATIBLECLIENT_ID   ED2K_CLIENT_ID
 

Definition at line 370 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDClient::SendEmuleInfo(), and CEDClient::SendHello().

#define ED2K_CT_FEATUREVERSIONS   0xFA
 

Definition at line 319 of file EDPacket.h.

Referenced by CEDClient::OnHello(), and CEDClient::SendHello().

#define ED2K_CT_FLAGS   0x20
 

Definition at line 316 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected().

#define ED2K_CT_MODVERSION   0x55
 

Definition at line 317 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::OnHello().

#define ED2K_CT_MOREFEATUREVERSIONS   0xFE
 

Definition at line 323 of file EDPacket.h.

Referenced by CEDClient::OnHello().

#define ED2K_CT_NAME   0x01
 

Definition at line 313 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDClient::OnHello(), and CEDClient::SendHello().

#define ED2K_CT_PORT   0x0F
 

Definition at line 314 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), and CEDClient::OnHello().

#define ED2K_CT_SOFTWAREVERSION   0xFB
 

Definition at line 320 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDClient::OnHello(), and CEDClient::SendHello().

#define ED2K_CT_UDPPORTS   0xF9
 

Definition at line 318 of file EDPacket.h.

Referenced by CEDClient::OnHello(), and CEDClient::SendHello().

#define ED2K_CT_UNKNOWN1   0xFC
 

Definition at line 321 of file EDPacket.h.

Referenced by CEDClient::OnHello().

#define ED2K_CT_UNKNOWN2   0xFD
 

Definition at line 322 of file EDPacket.h.

Referenced by CEDClient::OnHello().

#define ED2K_CT_UNKNOWN3   0xFF
 

Definition at line 324 of file EDPacket.h.

Referenced by CEDClient::OnHello().

#define ED2K_CT_VERSION   0x11
 

Definition at line 315 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDClient::OnHello(), and CEDClient::SendHello().

#define ED2K_ET_COMMENTS   0x24
 

Definition at line 356 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_COMPATIBLECLIENT   0x26
 

Definition at line 358 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_COMPRESSION   0x20
 

Definition at line 352 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_EXTENDEDREQUEST   0x25
 

Definition at line 357 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_FEATURES   0x27
 

Definition at line 359 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo().

#define ED2K_ET_SOURCEEXCHANGE   0x23
 

Definition at line 355 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_UDPPORT   0x21
 

Definition at line 353 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_ET_UDPVER   0x22
 

Definition at line 354 of file EDPacket.h.

Referenced by CEDClient::OnEmuleInfo(), and CEDClient::SendEmuleInfo().

#define ED2K_FT_ATACCEPTED   0x52
 

Definition at line 345 of file EDPacket.h.

#define ED2K_FT_ATREQUESTED   0x51
 

Definition at line 344 of file EDPacket.h.

#define ED2K_FT_ATTRANSFERED   0x50
 

Definition at line 343 of file EDPacket.h.

#define ED2K_FT_BITRATE   0xD4
 

Definition at line 347 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket(), and CEDNeighbour::SendSharedFiles().

#define ED2K_FT_CODEC   0xD5
 

Definition at line 348 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket(), and CEDNeighbour::SendSharedFiles().

#define ED2K_FT_COMPLETESOURCES   0x30
 

Definition at line 342 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket().

#define ED2K_FT_FILEFORMAT   0x04
 

Definition at line 331 of file EDPacket.h.

#define ED2K_FT_FILENAME   0x01
 

Definition at line 328 of file EDPacket.h.

Referenced by CEDPartImporter::ImportFile(), CQueryHit::ReadEDPacket(), CEDNeighbour::SendSharedDownload(), and CEDNeighbour::SendSharedFiles().

#define ED2K_FT_FILERATING   0xF7
 

Definition at line 349 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket(), and CEDNeighbour::SendSharedFiles().

#define ED2K_FT_FILESIZE   0x02
 

Definition at line 329 of file EDPacket.h.

Referenced by CEDPartImporter::ImportFile(), CQueryHit::ReadEDPacket(), CEDNeighbour::SendSharedDownload(), CEDNeighbour::SendSharedFiles(), and CQuerySearch::ToEDPacket().

#define ED2K_FT_FILETYPE   0x03
 

Definition at line 330 of file EDPacket.h.

Referenced by CEDNeighbour::SendSharedFiles(), and CQuerySearch::ToEDPacket().

#define ED2K_FT_GAPEND   0x0A
 

Definition at line 335 of file EDPacket.h.

#define ED2K_FT_GAPSTART   0x09
 

Definition at line 334 of file EDPacket.h.

#define ED2K_FT_LASTSEENCOMPLETE   0x05
 

Definition at line 332 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket().

#define ED2K_FT_LENGTH   0xD3
 

Definition at line 346 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket(), and CEDNeighbour::SendSharedFiles().

#define ED2K_FT_PARTFILENAME   0x12
 

Definition at line 336 of file EDPacket.h.

#define ED2K_FT_PERMISSIONS   0x16
 

Definition at line 340 of file EDPacket.h.

#define ED2K_FT_PRIORITY   0x13
 

Definition at line 337 of file EDPacket.h.

#define ED2K_FT_SOURCES   0x15
 

Definition at line 339 of file EDPacket.h.

Referenced by CQueryHit::ReadEDPacket().

#define ED2K_FT_STATUS   0x14
 

Definition at line 338 of file EDPacket.h.

Referenced by CEDPartImporter::ImportFile().

#define ED2K_FT_TRANSFERED   0x08
 

Definition at line 333 of file EDPacket.h.

#define ED2K_FT_ULPRIORITY   0x17
 

Definition at line 341 of file EDPacket.h.

#define ED2K_MAXFILESINPACKET   0x20
 

Definition at line 362 of file EDPacket.h.

Referenced by CQuerySearch::WriteHashesToEDPacket().

#define ED2K_MESSAGE_MAX   500
 

Definition at line 365 of file EDPacket.h.

Referenced by CEDClient::OnMessage(), and CChatSession::SendPrivateMessage().

#define ED2K_PROTOCOL_EDONKEY   0xE3
 

Definition at line 60 of file EDPacket.h.

Referenced by CEDPacket::Deflate(), CUploadTransferED2K::DispatchNextChunk(), CDatagrams::OnDatagram(), CEDClient::OnPacket(), CHandshake::OnRead(), CEDNeighbour::OnRead(), CEDPacket::ReadBuffer(), CChatSession::ReadPacketsED2K(), CEDClients::RequestServerStatus(), CEDClient::Send(), and CChatSession::SendPrivateMessage().

#define ED2K_PROTOCOL_EMULE   0xC5
 

Definition at line 62 of file EDPacket.h.

Referenced by CUploadTransferED2K::CheckRanking(), CEDPacket::Deflate(), CDatagrams::OnDatagram(), CEDClient::OnPacket(), CEDClient::OnRead(), CUploadTransferED2K::OnReask(), CEDClient::OnSourceRequest(), CEDClients::OnUDP(), CEDPacket::ReadBuffer(), CChatSession::ReadPacketsED2K(), CDownloadTransferED2K::RunQueued(), CEDClient::SendCommentsPacket(), CEDClient::SendEmuleInfo(), CChatSession::SendPacketsED2K(), and CDownloadTransferED2K::SendPrimaryRequest().

#define ED2K_PROTOCOL_MET   0x0E
 

Definition at line 64 of file EDPacket.h.

#define ED2K_PROTOCOL_MLDONKEY   0x00
 

Definition at line 63 of file EDPacket.h.

#define ED2K_PROTOCOL_PACKED   0xD4
 

Definition at line 61 of file EDPacket.h.

Referenced by CEDPacket::Deflate(), CEDPacket::InflateOrRelease(), CDatagrams::OnDatagram(), and CEDPacket::ReadBuffer().

#define ED2K_S2C_CALLBACKREQUESTED   0x35
 

Definition at line 184 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_FOUNDSOURCES   0x42
 

Definition at line 181 of file EDPacket.h.

Referenced by CQueryHit::FromPacket(), and CEDNeighbour::OnPacket().

#define ED2K_S2C_IDCHANGE   0x40
 

Definition at line 178 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_REJECTED   0x05
 

Definition at line 176 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_SEARCHRESULTS   0x33
 

Definition at line 180 of file EDPacket.h.

Referenced by CQueryHit::FromPacket(), CEDNeighbour::OnPacket(), and CEDNeighbour::OnSearchResults().

#define ED2K_S2C_SERVERIDENT   0x41
 

Definition at line 183 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_SERVERLIST   0x32
 

Definition at line 179 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_SERVERMESSAGE   0x38
 

Definition at line 177 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2C_SERVERSTATUS   0x34
 

Definition at line 182 of file EDPacket.h.

Referenced by CEDNeighbour::OnPacket().

#define ED2K_S2CG_CALLBACKFAIL   0x9E
 

Definition at line 196 of file EDPacket.h.

#define ED2K_S2CG_FOUNDSOURCES   0x9B
 

Definition at line 194 of file EDPacket.h.

Referenced by CQueryHit::FromPacket(), and CEDClients::OnUDP().

#define ED2K_S2CG_SEARCHRESULT   0x99
 

Definition at line 192 of file EDPacket.h.

Referenced by CQueryHit::FromPacket(), and CEDClients::OnUDP().

#define ED2K_S2CG_SERVERSTATUS   0x97
 

Definition at line 190 of file EDPacket.h.

Referenced by CEDClients::OnUDP().

#define ED2K_SERVER_TCP_DEFLATE   0x00000001
 

Definition at line 234 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDNeighbour::OnIdChange(), CEDNeighbour::OnServerIdent(), CEDNeighbour::SendSharedDownload(), and CEDNeighbour::SendSharedFiles().

#define ED2K_SERVER_TCP_GETSOURCES2   0x00000020
 

Definition at line 237 of file EDPacket.h.

Referenced by CEDNeighbour::OnIdChange(), CEDNeighbour::OnServerIdent(), CEDClients::OnServerStatus(), and CQuerySearch::ToEDPacket().

#define ED2K_SERVER_TCP_RELATEDSEARCH   0x00000040
 

Definition at line 238 of file EDPacket.h.

Referenced by CQuerySearch::ToEDPacket().

#define ED2K_SERVER_TCP_SMALLTAGS   0x00000008
 

Definition at line 235 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDNeighbour::OnIdChange(), CEDNeighbour::SendSharedFiles(), and CEDTag::Write().

#define ED2K_SERVER_TCP_UNICODE   0x00000010
 

Definition at line 236 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), CEDClient::OnHello(), CEDNeighbour::OnIdChange(), CEDNeighbour::OnServerIdent(), CEDClients::OnServerStatus(), CEDTag::Read(), CEDPacket::ReadEDString(), CEDClient::SendHello(), CQuerySearch::ToEDPacket(), CEDTag::Write(), and CEDPacket::WriteEDString().

#define ED2K_SERVER_UDP_GETFILES   0x00000002
 

Definition at line 241 of file EDPacket.h.

Referenced by CEDNeighbour::OnServerIdent().

#define ED2K_SERVER_UDP_GETSOURCES   0x00000001
 

Definition at line 240 of file EDPacket.h.

Referenced by CEDNeighbour::OnServerIdent().

#define ED2K_SERVER_UDP_GETSOURCES2   0x00000020
 

Definition at line 243 of file EDPacket.h.

Referenced by CEDNeighbour::OnServerIdent(), CEDClients::OnServerStatus(), and CQuerySearch::ToEDPacket().

#define ED2K_SERVER_UDP_UNICODE   0x00000010
 

Definition at line 242 of file EDPacket.h.

Referenced by CEDNeighbour::OnServerIdent(), CEDClients::OnServerStatus(), and CQuerySearch::ToEDPacket().

#define ED2K_ST_DESCRIPTION   0x0B
 

Definition at line 302 of file EDPacket.h.

Referenced by CHostCacheList::ImportMET(), and CEDNeighbour::OnServerIdent().

#define ED2K_ST_DYNIP   0x85
 

Definition at line 306 of file EDPacket.h.

#define ED2K_ST_FAIL   0x0D
 

Definition at line 305 of file EDPacket.h.

#define ED2K_ST_LASTPING   0x86
 

Definition at line 307 of file EDPacket.h.

#define ED2K_ST_MAXFILES   0x88
 

Definition at line 309 of file EDPacket.h.

Referenced by CHostCacheList::ImportMET().

#define ED2K_ST_MAXUSERS   0x87
 

Definition at line 308 of file EDPacket.h.

Referenced by CHostCacheList::ImportMET(), and CEDNeighbour::OnServerIdent().

#define ED2K_ST_PING   0x0C
 

Definition at line 303 of file EDPacket.h.

#define ED2K_ST_PREFERENCE   0x0E
 

Definition at line 304 of file EDPacket.h.

#define ED2K_ST_SERVERNAME   0x01
 

Definition at line 301 of file EDPacket.h.

Referenced by CHostCacheList::ImportMET(), and CEDNeighbour::OnServerIdent().

#define ED2K_ST_UDPFLAGS   0x92
 

Definition at line 310 of file EDPacket.h.

Referenced by CHostCacheList::ImportMET().

#define ED2K_TAG_BLOB   0x07
 

Definition at line 290 of file EDPacket.h.

Referenced by CEDTag::Read().

#define ED2K_TAG_BOOL   0x05
 

Definition at line 288 of file EDPacket.h.

#define ED2K_TAG_BOOL_ARRAY   0x06
 

Definition at line 289 of file EDPacket.h.

#define ED2K_TAG_FLOAT   0x04
 

Definition at line 287 of file EDPacket.h.

Referenced by CEDTag::Read().

#define ED2K_TAG_HASH   0x01
 

Definition at line 284 of file EDPacket.h.

Referenced by CEDTag::CEDTag().

#define ED2K_TAG_INT   0x03
 

Definition at line 286 of file EDPacket.h.

Referenced by CEDTag::CEDTag(), CEDPartImporter::ImportFile(), CHostCacheList::ImportMET(), CEDClient::OnEmuleInfo(), CEDClient::OnHello(), CEDTag::Read(), CQueryHit::ReadEDPacket(), and CEDTag::Write().

#define ED2K_TAG_NULL   0x00
 

Definition at line 283 of file EDPacket.h.

Referenced by CEDTag::CEDTag(), and CEDTag::Clear().

#define ED2K_TAG_SHORTSTRING   0x11
 

Definition at line 295 of file EDPacket.h.

Referenced by CEDTag::Read(), and CEDTag::Write().

#define ED2K_TAG_STRING   0x02
 

Definition at line 285 of file EDPacket.h.

Referenced by CEDTag::CEDTag(), CEDPartImporter::ImportFile(), CHostCacheList::ImportMET(), CEDClient::OnHello(), CEDTag::Read(), CQueryHit::ReadEDPacket(), and CEDTag::Write().

#define ED2K_TAG_STRING1   0x11
 

Definition at line 297 of file EDPacket.h.

#define ED2K_TAG_STRING16   0x20
 

Definition at line 298 of file EDPacket.h.

#define ED2K_TAG_UINT16   0x08
 

Definition at line 292 of file EDPacket.h.

Referenced by CEDTag::Read(), and CEDTag::Write().

#define ED2K_TAG_UINT8   0x09
 

Definition at line 293 of file EDPacket.h.

Referenced by CEDTag::Read(), and CEDTag::Write().

#define ED2K_TAG_UNUSED   0x0A
 

Definition at line 294 of file EDPacket.h.

#define ED2K_VERSION   0x3D
 

Definition at line 59 of file EDPacket.h.

Referenced by CEDNeighbour::OnConnected(), and CEDClient::SendHello().

#define ED2K_VERSION_AICH   0x00
 

Definition at line 383 of file EDPacket.h.

Referenced by CEDClient::SendHello().

#define ED2K_VERSION_COMMENTS   0x01
 

Definition at line 380 of file EDPacket.h.

Referenced by CEDClient::SendEmuleInfo(), and CEDClient::SendHello().

#define ED2K_VERSION_COMPRESSION   0x01
 

Definition at line 377 of file EDPacket.h.

Referenced by CEDClient::SendEmuleInfo(), and CEDClient::SendHello().

#define ED2K_VERSION_EXTENDEDREQUEST   0x01
 

Definition at line 381 of file EDPacket.h.

Referenced by CEDClient::SendEmuleInfo(), and CEDClient::SendHello().

#define ED2K_VERSION_SECUREID   0x00
 

Definition at line 384 of file EDPacket.h.

Referenced by CEDClient::SendHello().

#define ED2K_VERSION_SOURCEEXCHANGE   0x02
 

Definition at line 379 of file EDPacket.h.

Referenced by CEDClient::SendEmuleInfo(), and CEDClient::SendHello().

#define ED2K_VERSION_UDP   0x02
 

Definition at line 378 of file EDPacket.h.

Referenced by CEDClient::SendEmuleInfo(), and CEDClient::SendHello().


Generated on Thu Dec 15 10:39:56 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2