Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-rmi.h
1/* packet-rmi.h
2 * header file for java rmiregistry dissection
3 * Copyright 2002, Michael Stiller <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11#ifndef __PACKET_RMI_H__
12#define __PACKET_RMI_H__
13
14#define SER_STREAM_MAGIC 0xaced
15
16#define SER_STREAM_VERSION 5
17
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
30
31#define RMI_MAGIC "JRMI"
32#define RMI_MAGIC_HEX 0x4a524d49
33
34#define RMI_OUTPUTSTREAM_PROTOCOL_STREAM 0x4b
35#define RMI_OUTPUTSTREAM_PROTOCOL_SINGLEOP 0x4c
36#define RMI_OUTPUTSTREAM_PROTOCOL_MULTIPLEX 0x4d
37
38#define RMI_OUTPUTSTREAM_MESSAGE_CALL 0x50
39#define RMI_OUTPUTSTREAM_MESSAGE_PING 0x52
40#define RMI_OUTPUTSTREAM_MESSAGE_DGCACK 0x54
41
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
46
47typedef enum {
48 CONTINUATION = 1,
49 RMI_OUTPUTSTREAM = 2,
50 RMI_OUTPUTMESSAGE = 3,
51 RMI_INPUTSTREAM = 16,
52 SERIALIZATION_DATA = 128
53} rmi_type;
54
55#endif