Interface for protocol opcodes used in ed2k network Important: The ed2k protocol overview is generated out from this file, so make sure it is still generated correctly after changing things here.
|
Defines |
| #define | FT_ED2K_AUDIO "Audio" |
| | mp3/ogg/wma etc
|
| #define | FT_ED2K_VIDEO "Video" |
| | avi/mpg/mpeg/wmv etc
|
| #define | FT_ED2K_IMAGE "Image" |
| | png/jpg/gif/tiff etc
|
| #define | FT_ED2K_DOCUMENT "Doc" |
| | txt/doc/rtf etc
|
| #define | FT_ED2K_PROGRAM "Pro" |
| | exe/bin/cue/iso etc
|
Enumerations |
| enum | ED2K_Protocols { PR_ED2K = 0xe3,
PR_EMULE = 0xc5,
PR_ZLIB = 0xd4
} |
| | Protocols. More...
|
| enum | ED2K_ServerLogin {
OP_LOGINREQUEST = 0x01,
CT_NICK = 0x01,
CT_VERSION = 0x11,
CT_PORT = 0x0f,
CT_MULEVERSION = 0xfb,
CT_FLAGS = 0x20,
FL_ZLIB = 0x01,
FL_IPINLOGIN = 0x02,
FL_AUXPORT = 0x04,
FL_NEWTAGS = 0x08,
FL_UNICODE = 0x10
} |
| | Login request. More...
|
| enum | ED2K_ServerMessages { OP_SERVERMESSAGE = 0x38,
OP_SERVERSTATUS = 0x34,
OP_IDCHANGE = 0x40
} |
| | Server response packets to OP_LOGINREQUEST. More...
|
| enum | ED2K_ServerInfo {
OP_GETSERVERLIST = 0x14,
OP_SERVERLIST = 0x32,
OP_SERVERIDENT = 0x41,
CT_SERVERNAME = 0x01,
CT_SERVERDESC = 0x0b
} |
| | Updating information from server. More...
|
| enum | ED2K_Publishing {
OP_OFFERFILES = 0x15,
CT_FILENAME = 0x01,
CT_FILESIZE = 0x02,
CT_FILETYPE = 0x03,
FL_COMPLETE_ID = 0xfcfcfcfc,
FL_COMPLETE_PORT = 0xfcfc,
FL_PARTIAL_ID = 0xfbfbfbfb,
FL_PARTIAL_PORT = 0xfbfb
} |
| | Publishing shared files. More...
|
| enum | ED2K_Searching {
OP_SEARCH = 0x16,
OP_SEARCHRESULT = 0x33,
CT_SOURCES = 0x15,
CT_COMPLSRC = 0x30,
CT_MEDIA_LENGTH = 0xd3,
CT_MEDIA_BITRATE = 0xd4,
CT_MEDIA_CODEC = 0xd5,
CT_LASTSEENCOMPL = 0x05
} |
| | Searching. More...
|
| enum | ED2K_Hello {
OP_HELLO = 0x01,
CT_MODSTR = 0x55,
CT_UDPPORTS = 0xf9,
CT_MISCFEATURES = 0xfa,
OP_HELLOANSWER = 0x4c
} |
| | Donkeys getting to know each other. More...
|
| enum | ED2K_MuleHello {
OP_MULEINFO = 0x01,
CT_COMPRESSION = 0x20,
CT_UDPPORT = 0x21,
CT_UDPVER = 0x22,
CT_SOURCEEXCH = 0x23,
CT_COMMENTS = 0x24,
CT_EXTREQ = 0x25,
CT_COMPATCLIENT = 0x26,
CT_FEATURES = 0x27,
CT_MODVERSION = 0x55,
CT_MODPLUS = 0x99,
CT_L2HAC = 0x3e,
OP_MULEINFOANSWER = 0x02
} |
| | Mules getting to know each other. More...
|
| enum | ED2K_FileRequest {
OP_REQFILE = 0x58,
OP_FILENAME = 0x59,
OP_FILEDESC = 0x61,
OP_SETREQFILEID = 0x4f,
OP_REQFILE_STATUS = 0x50,
OP_REQFILE_NOFILE = 0x48,
OP_REQHASHSET = 0x51,
OP_HASHSET = 0x52,
OP_STARTUPLOADREQ = 0x54,
OP_ACCEPTUPLOADREQ = 0x55,
OP_QUEUERANKING = 0x5c,
OP_MULEQUEUERANK = 0x60
} |
| | Requesting a file. More...
|
| enum | ED2K_SendingData { OP_REQCHUNKS = 0x47,
OP_SENDINGCHUNK = 0x46,
OP_PACKEDCHUNK = 0x40,
OP_CANCELTRANSFER = 0x56
} |
| | Transmitting data. More...
|
| enum | ED2K_LowIDCallbacks { OP_REQCALLBACK = 0x1c,
OP_CBREQUESTED = 0x35,
OP_CALLBACKFAIL = 0x36
} |
| | LowID callbacks. More...
|
| enum | ED2K_SourceQueries { OP_GETSOURCES = 0x19,
OP_FOUNDSOURCES = 0x42,
OP_REQSOURCES = 0x81,
OP_ANSWERSOURCES = 0x82
} |
| | Looking for sources. More...
|
| enum | ED2K_Misc { OP_MESSAGE = 0x4e,
OP_PORTTEST = 0xfe,
OP_CHANGEID = 0x4d
} |
| | Miscellaneous packets. More...
|
| enum | ED2K_SecIdent { OP_SECIDENTSTATE = 0x87,
OP_PUBLICKEY = 0x85,
OP_SIGNATURE = 0x86
} |
| | Secure Identification. More...
|
| enum | ED2K_Udp {
OP_REASKFILEPING = 0x90,
OP_REASKACK = 0x91,
OP_FILENOTFOUND = 0x92,
OP_QUEUEFULL = 0x93,
OP_GLOBGETSOURCES = 0x9a,
OP_GLOBGETSOURCES2 = 0x94,
OP_GLOBFOUNDSOURCES = 0x9b,
OP_GLOBSTATREQ = 0x96,
OP_GLOBSTATRES = 0x97
} |
| enum | ED2K_ServerMet {
ST_METHEADER = 0x0e,
ST_METVERSION = 0xe0,
ST_NAME = 0x01,
ST_DESC = 0x0b,
ST_PING = 0x0c,
ST_PREFERENCE = 0x0e,
ST_FAIL = 0x0d,
ST_DYNIP = 0x85,
ST_MAXUSERS = 0x87,
ST_SOFTLIMIT = 0x88,
ST_HARDLIMIT = 0x89,
ST_LASTPING = 0x90,
ST_VERSION = 0x91,
ST_UDPFLAGS = 0x92,
ST_AUXPORTLIST = 0x93,
ST_LOWIDUSRS = 0x94
} |
| | Special tags used in server.met file. More...
|
Interface for protocol opcodes used in ed2k network Important: The ed2k protocol overview is generated out from this file, so make sure it is still generated correctly after changing things here.
The code generating it is at the bottom of this file, and it is HIGHLY sensitive about reordering of things, as well as other such stuff. So please, don't reorder stuff here, nor make any other changes - otherwise it'll break the doxygen-generated docs.