1
0
Protocol/opcodes/protocol.go

19 lines
599 B
Go

package opcodes
// Protocol-level opcodes used by the network layer
const (
OP_SessionRequest uint16 = 0x0001
OP_SessionResponse uint16 = 0x0002
OP_Combined uint16 = 0x0003
OP_SessionDisconnect uint16 = 0x0005
OP_KeepAlive uint16 = 0x0006
OP_SessionStatRequest uint16 = 0x0007
OP_SessionStatResponse uint16 = 0x0008
OP_Packet uint16 = 0x0009
OP_Fragment uint16 = 0x000d
OP_Ack uint16 = 0x0015
OP_AppCombined uint16 = 0x0019
OP_OutOfOrderAck uint16 = 0x001d
OP_OutOfSession uint16 = 0x001e
)