2 * header file for java rmiregistry dissection
3 * Copyright 2002, Michael Stiller <ms@2scale.net>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef __PACKET_RMI_H__
12 #define __PACKET_RMI_H__
14 #define SER_STREAM_MAGIC 0xaced
16 #define SER_STREAM_VERSION 5
18 #define SER_TC_NULL 0x70
19 #define SER_TC_REFERENCE 0x71
20 #define SER_TC_CLASSDESC 0x72
21 #define SER_TC_OBJECT 0x73
22 #define SER_TC_STRING 0x74
23 #define SER_TC_ARRAY 0x75
24 #define SER_TC_CLASS 0x76
25 #define SER_TC_BLOCKDATA 0x77
26 #define SER_TC_ENDBLOCKDATA 0x78
27 #define SER_TC_RESET 0x79
28 #define SER_TC_BLOCKDATALONG 0x7A
29 #define SER_TC_EXCEPTION 0x7B
31 #define RMI_MAGIC "JRMI"
32 #define RMI_MAGIC_HEX 0x4a524d49
34 #define RMI_OUTPUTSTREAM_PROTOCOL_STREAM 0x4b
35 #define RMI_OUTPUTSTREAM_PROTOCOL_SINGLEOP 0x4c
36 #define RMI_OUTPUTSTREAM_PROTOCOL_MULTIPLEX 0x4d
38 #define RMI_OUTPUTSTREAM_MESSAGE_CALL 0x50
39 #define RMI_OUTPUTSTREAM_MESSAGE_PING 0x52
40 #define RMI_OUTPUTSTREAM_MESSAGE_DGCACK 0x54
42 #define RMI_INPUTSTREAM_MESSAGE_ACK 0x4e
43 #define RMI_INPUTSTREAM_MESSAGE_NOTSUPPORTED 0x4f
44 #define RMI_INPUTSTREAM_MESSAGE_RETURNDATA 0x51
45 #define RMI_INPUTSTREAM_MESSAGE_PINGACK 0x53
50 RMI_OUTPUTMESSAGE
= 3,
52 SERIALIZATION_DATA
= 128