FS2_Open
Open source remastering of the Freespace 2 engine
protocol.h File Reference

Go to the source code of this file.

Classes

struct  crc_valid_status
 
struct  file_record
 
struct  fs2open_ship_typekill
 

Macros

#define PXO_PROTO_VER   "2.0"
 
#define PCKT_ID_FIRST   0x00
 
#define PCKT_SLIST_REQUEST   0x01
 
#define PCKT_SLIST_REPLY   0x02
 
#define PCKT_SLIST_HB   0x03
 
#define PCKT_LOGIN_AUTH   0x04
 
#define PCKT_LOGIN_REPLY   0x05
 
#define PCKT_MISSIONS_RQST   0x06
 
#define PCKT_MISSIONS_REPLY   0x07
 
#define PCKT_TABLES_RQST   0x08
 
#define PCKT_TABLES_REPLY   0x09
 
#define PCKT_PILOT_GET   0x0a
 
#define PCKT_PILOT_REPLY   0x0b
 
#define PCKT_PILOT_UPDATE   0x0c
 
#define PCKT_PILOT_UREPLY   0x0d
 
#define PCKT_PING   0x0e
 
#define PCKT_PONG   0x0f
 
#define PCKT_MISSION_CHECK   0x10
 
#define PCKT_MCHECK_REPLY   0x11
 
#define PCKT_BANLIST_RQST   0x12
 
#define PCKT_BANLIST_RPLY   0x13
 
#define PCKT_NETOWRK_WALL   0x14
 
#define PCKT_VALID_SID_RQST   0x15
 
#define PCKT_VALID_SID_REPLY   0x16
 
#define PCKT_CHAT_CHANNEL_UPD   0x17
 
#define PCKT_CHAT_CHAN_COUNT_RQST   0x18
 
#define PCKT_CHAT_CHAN_COUNT_REPLY   0x19
 
#define PCKT_SLIST_HB_2   0x1a
 
#define PCKT_SERVER_DISCONNECT   0x1b
 
#define PCKT_DUP_LOGIN_RQST   0x1c
 
#define PCKT_DUP_LOGIN_REPLY   0x1d
 
#define PCKT_SLIST_REQUEST_FILTER   0x1e
 
#define PCKT_SERVER_START   0x1f
 
#define PCKT_SERVER_UPDATE   0x20
 
#define PCKT_ID_LAST   0x21
 
#define PCKT_INVALID   0xff
 
#define VALID_PACKET_ID(p)   (((p) > PCKT_ID_FIRST) && ((p) < PCKT_ID_LAST))
 

Macro Definition Documentation

#define PCKT_BANLIST_RPLY   0x13

Definition at line 46 of file protocol.h.

#define PCKT_BANLIST_RQST   0x12

Definition at line 45 of file protocol.h.

#define PCKT_CHAT_CHAN_COUNT_REPLY   0x19

Definition at line 52 of file protocol.h.

#define PCKT_CHAT_CHAN_COUNT_RQST   0x18

Definition at line 51 of file protocol.h.

#define PCKT_CHAT_CHANNEL_UPD   0x17

Definition at line 50 of file protocol.h.

#define PCKT_DUP_LOGIN_REPLY   0x1d

Definition at line 56 of file protocol.h.

#define PCKT_DUP_LOGIN_RQST   0x1c

Definition at line 55 of file protocol.h.

#define PCKT_ID_FIRST   0x00

Definition at line 25 of file protocol.h.

#define PCKT_ID_LAST   0x21

Definition at line 62 of file protocol.h.

#define PCKT_INVALID   0xff

Definition at line 64 of file protocol.h.

#define PCKT_LOGIN_AUTH   0x04

Definition at line 30 of file protocol.h.

#define PCKT_LOGIN_REPLY   0x05

Definition at line 31 of file protocol.h.

#define PCKT_MCHECK_REPLY   0x11

Definition at line 44 of file protocol.h.

#define PCKT_MISSION_CHECK   0x10

Definition at line 43 of file protocol.h.

#define PCKT_MISSIONS_REPLY   0x07

Definition at line 33 of file protocol.h.

#define PCKT_MISSIONS_RQST   0x06

Definition at line 32 of file protocol.h.

#define PCKT_NETOWRK_WALL   0x14

Definition at line 47 of file protocol.h.

#define PCKT_PILOT_GET   0x0a

Definition at line 36 of file protocol.h.

#define PCKT_PILOT_REPLY   0x0b

Definition at line 37 of file protocol.h.

#define PCKT_PILOT_UPDATE   0x0c

Definition at line 38 of file protocol.h.

#define PCKT_PILOT_UREPLY   0x0d

Definition at line 39 of file protocol.h.

#define PCKT_PING   0x0e

Definition at line 40 of file protocol.h.

#define PCKT_PONG   0x0f

Definition at line 41 of file protocol.h.

#define PCKT_SERVER_DISCONNECT   0x1b

Definition at line 54 of file protocol.h.

#define PCKT_SERVER_START   0x1f

Definition at line 58 of file protocol.h.

#define PCKT_SERVER_UPDATE   0x20

Definition at line 60 of file protocol.h.

#define PCKT_SLIST_HB   0x03

Definition at line 29 of file protocol.h.

#define PCKT_SLIST_HB_2   0x1a

Definition at line 53 of file protocol.h.

#define PCKT_SLIST_REPLY   0x02

Definition at line 28 of file protocol.h.

#define PCKT_SLIST_REQUEST   0x01

Definition at line 27 of file protocol.h.

#define PCKT_SLIST_REQUEST_FILTER   0x1e

Definition at line 57 of file protocol.h.

#define PCKT_TABLES_REPLY   0x09

Definition at line 35 of file protocol.h.

#define PCKT_TABLES_RQST   0x08

Definition at line 34 of file protocol.h.

#define PCKT_VALID_SID_REPLY   0x16

Definition at line 49 of file protocol.h.

#define PCKT_VALID_SID_RQST   0x15

Definition at line 48 of file protocol.h.

#define PXO_PROTO_VER   "2.0"

Definition at line 21 of file protocol.h.

#define VALID_PACKET_ID (   p)    (((p) > PCKT_ID_FIRST) && ((p) < PCKT_ID_LAST))

Definition at line 66 of file protocol.h.