11#include "packet-dcerpc-misc.h"
13#ifndef __PACKET_DCERPC_FRSRPC_H
14#define __PACKET_DCERPC_FRSRPC_H
16#define FRSRPC_CO_IFLAG_NONE ( 0x0000000 )
18int frsrpc_dissect_struct_CommPktChunkGuidName(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
19int frsrpc_dissect_struct_CommPktGSVN(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
20int frsrpc_dissect_bitmap_CommPktCoCmdFlags(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
21int frsrpc_dissect_bitmap_CommPktCoCmdIFlags(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
22#define FRSRPC_CO_STATUS_CO_ENTERED_LOG (0x00000000)
23#define FRSRPC_CO_STATUS_ALLOC_STAGING_LOCAL_CO (0x00000001)
24#define FRSRPC_CO_STATUS_LOCAL_CO_STAGING_STARTED (0x00000002)
25#define FRSRPC_CO_STATUS_LOCAL_CO_STAGING_COMPLETED (0x00000003)
26#define FRSRPC_CO_STATUS_WAIT_RETRY_LOCAL_CO_STAGING (0x00000004)
27#define FRSRPC_CO_STATUS_ALLOC_STAGING_REMOTE_CO (0x00000005)
28#define FRSRPC_CO_STATUS_REMOTE_CO_STAGING_STARTED (0x00000006)
29#define FRSRPC_CO_STATUS_REMOTE_CO_STAGING_COMPLETED (0x00000007)
30#define FRSRPC_CO_STATUS_WAIT_RETRY_REMOTE_CO_STAGING (0x00000008)
31#define FRSRPC_CO_STATUS_FILE_INSTALL_REQUESTED (0x00000009)
32#define FRSRPC_CO_STATUS_FILE_INSTALL_STARTED (0x0000000A)
33#define FRSRPC_CO_STATUS_FILE_INSTALL_COMPLETED (0x0000000B)
34#define FRSRPC_CO_STATUS_FILE_INSTALL_WAIT_RETRY (0x0000000C)
35#define FRSRPC_CO_STATUS_FILE_INSTALL_RETRYING (0x0000000D)
36#define FRSRPC_CO_STATUS_FILE_INSTALL_RENAME_RETRYING (0x0000000E)
37#define FRSRPC_CO_STATUS_FILE_INSTALL_DELETE_RETRYING (0x0000000F)
38#define FRSRPC_CO_STATUS_CO_RECYCLED_FOR_ENUM (0x00000013)
39#define FRSRPC_CO_STATUS_REQUEST_OUTBOUND_PROPAGATION (0x00000014)
40#define FRSRPC_CO_STATUS_REQUEST_ACCEPTED_OUTBOUND_LOG (0x00000015)
41#define FRSRPC_CO_STATUS_DB_STATE_UPDATE_STARTED (0x00000016)
42#define FRSRPC_CO_STATUS_DB_STATE_UPDATE_COMPLETED (0x00000017)
43#define FRSRPC_CO_STATUS_CO_ABORTED (0x00000018)
44extern const value_string frsrpc_frsrpc_CommPktCoCmdStatus_vals[];
45int frsrpc_dissect_enum_CommPktCoCmdStatus(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
46int frsrpc_dissect_bitmap_CommPktCoCmdContentCmd(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
47#define FRSRPC_CO_LOCATION_FILE_CREATE (0x00000000)
48#define FRSRPC_CO_LOCATION_DIR_CREATE (0x00000000|0x00000001)
49#define FRSRPC_CO_LOCATION_FILE_DELETE (0x00000002)
50#define FRSRPC_CO_LOCATION_DIR_DELETE (0x00000002|0x00000001)
51#define FRSRPC_CO_LOCATION_FILE_MOVEIN (0x00000004)
52#define FRSRPC_CO_LOCATION_DIR_MOVEIN (0x00000004|0x00000001)
53#define FRSRPC_CO_LOCATION_FILE_MOVEIN2 (0x00000006)
54#define FRSRPC_CO_LOCATION_DIR_MOVEIN2 (0x00000006|0x00000001)
55#define FRSRPC_CO_LOCATION_FILE_MOVEOUT (0x00000008)
56#define FRSRPC_CO_LOCATION_DIR_MOVEOUT (0x00000008|0x00000001)
57#define FRSRPC_CO_LOCATION_FILE_MOVERS (0x0000000a)
58#define FRSRPC_CO_LOCATION_DIR_MOVERS (0x0000000a|0x00000001)
59#define FRSRPC_CO_LOCATION_FILE_MOVEDIR (0x0000000c)
60#define FRSRPC_CO_LOCATION_DIR_MOVEDIR (0x0000000c|0x00000001)
61#define FRSRPC_CO_LOCATION_FILE_NO_CMD (0x0000000e)
62#define FRSRPC_CO_LOCATION_DIR_NO_CMD (0x0000000e|0x00000001)
63extern const value_string frsrpc_frsrpc_CommPktCoCmdLocationCmd_vals[];
64int frsrpc_dissect_enum_CommPktCoCmdLocationCmd(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
65int frsrpc_dissect_struct_CommPktChangeOrderCommand(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
66#define FRSRPC_DATA_EXTENSION_TERMINATOR (0x00000000)
67#define FRSRPC_DATA_EXTENSION_MD5_CHECKSUM (0x00000001)
68#define FRSRPC_DATA_EXTENSION_RETRY_TIMEOUT (0x00000002)
69extern const value_string frsrpc_frsrpc_CommPktDataExtensionType_vals[];
70int frsrpc_dissect_enum_CommPktDataExtensionType(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
71int frsrpc_dissect_struct_CommPktDataExtensionChecksum(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
72int frsrpc_dissect_struct_CommPktDataExtensionRetryTimeout(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
73#define FRSRPC_CO_RECORD_EXTENSION_VERSION_WIN2K (0x0000)
74#define FRSRPC_CO_RECORD_EXTENSION_VERSION_1 (0x0001)
75extern const value_string frsrpc_frsrpc_CommPktCoRecordExtensionMajor_vals[];
76int frsrpc_dissect_enum_CommPktCoRecordExtensionMajor(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
77int frsrpc_dissect_struct_CommPktCoRecordExtensionWin2k(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
78int frsrpc_dissect_struct_CommPktChangeOrderRecordExtension(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
79#define FRSRPC_COMMAND_REMOTE_CO (0x00000218)
80#define FRSRPC_COMMAND_RECEIVING_STATE (0x00000238)
81#define FRSRPC_COMMAND_REMOTE_CO_DONE (0x00000250)
82#define FRSRPC_COMMAND_ABORT_FETCH (0x00000246)
83#define FRSRPC_COMMAND_RETRY_FETCH (0x00000244)
84#define FRSRPC_COMMAND_NEED_JOIN (0x00000121)
85#define FRSRPC_COMMAND_START_JOIN (0x00000122)
86#define FRSRPC_COMMAND_JOINING (0x00000130)
87#define FRSRPC_COMMAND_JOINED (0x00000128)
88#define FRSRPC_COMMAND_UNJOIN_REMOTE (0x00000148)
89#define FRSRPC_COMMAND_WJOIN_DONE (0x00000136)
90#define FRSRPC_COMMAND_SEND_STAGE (0x00000228)
91extern const value_string frsrpc_frsrpc_CommPktCommand_vals[];
92int frsrpc_dissect_enum_CommPktCommand(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
93#define FRSRPC_COMM_PKT_CHUNK_BOP (0x0001)
94#define FRSRPC_COMM_PKT_CHUNK_COMMAND (0x0002)
95#define FRSRPC_COMM_PKT_CHUNK_TO (0x0003)
96#define FRSRPC_COMM_PKT_CHUNK_FROM (0x0004)
97#define FRSRPC_COMM_PKT_CHUNK_REPLICA (0x0005)
98#define FRSRPC_COMM_PKT_CHUNK_CONNECTION (0x0008)
99#define FRSRPC_COMM_PKT_CHUNK_JOIN_GUID (0x0006)
100#define FRSRPC_COMM_PKT_CHUNK_LAST_JOIN_TIME (0x0012)
101#define FRSRPC_COMM_PKT_CHUNK_VVECTOR (0x0007)
102#define FRSRPC_COMM_PKT_CHUNK_JOIN_TIME (0x0011)
103#define FRSRPC_COMM_PKT_CHUNK_REPLICA_VERSION_GUID (0x0014)
104#define FRSRPC_COMM_PKT_CHUNK_COMPRESSION_GUID (0x0018)
105#define FRSRPC_COMM_PKT_CHUNK_BLOCK (0x0009)
106#define FRSRPC_COMM_PKT_CHUNK_BLOCK_SIZE (0x000A)
107#define FRSRPC_COMM_PKT_CHUNK_FILE_SIZE (0x000B)
108#define FRSRPC_COMM_PKT_CHUNK_FILE_OFFSET (0x000C)
109#define FRSRPC_COMM_PKT_CHUNK_GVSN (0x000E)
110#define FRSRPC_COMM_PKT_CHUNK_CO_GUID (0x000F)
111#define FRSRPC_COMM_PKT_CHUNK_CO_SEQUENCE_NUMBER (0x0010)
112#define FRSRPC_COMM_PKT_CHUNK_REMOTE_CO (0x000D)
113#define FRSRPC_COMM_PKT_CHUNK_CO_EXT_WIN2K (0x0016)
114#define FRSRPC_COMM_PKT_CHUNK_CO_EXTENSION_2 (0x0017)
115#define FRSRPC_COMM_PKT_CHUNK_EOP (0x0013)
116extern const value_string frsrpc_frsrpc_CommPktChunkType_vals[];
117int frsrpc_dissect_enum_CommPktChunkType(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
118int frsrpc_dissect_struct_CommPktChunk(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
119#define FRSRPC_COMM_PKT_MAJOR_0 (0x00000000)
120extern const value_string frsrpc_frsrpc_CommPktMajor_vals[];
121int frsrpc_dissect_enum_CommPktMajor(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
122#define FRSRPC_COMM_PKT_MINOR_0 (0x00000000)
123#define FRSRPC_COMM_PKT_MINOR_1 (0x00000001)
124#define FRSRPC_COMM_PKT_MINOR_2 (0x00000002)
125#define FRSRPC_COMM_PKT_MINOR_3 (0x00000003)
126#define FRSRPC_COMM_PKT_MINOR_4 (0x00000004)
127#define FRSRPC_COMM_PKT_MINOR_5 (0x00000005)
128#define FRSRPC_COMM_PKT_MINOR_6 (0x00000006)
129#define FRSRPC_COMM_PKT_MINOR_7 (0x00000007)
130#define FRSRPC_COMM_PKT_MINOR_8 (0x00000008)
131#define FRSRPC_COMM_PKT_MINOR_9 (0x00000009)
132extern const value_string frsrpc_frsrpc_CommPktMinor_vals[];
133int frsrpc_dissect_enum_CommPktMinor(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
134int frsrpc_dissect_struct_FrsSendCommPktReq(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *parent_tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t param _U_);
135#define FRSRPC_PARENT_AUTH_LEVEL_ENCRYPTED_KERBEROS (0x00000000)
136#define FRSRPC_PARENT_AUTH_LEVEL_NO_AUTHENTICATION (0x00000001)
137extern const value_string frsrpc_frsrpc_PartnerAuthLevel_vals[];
138int frsrpc_dissect_enum_PartnerAuthLevel(
tvbuff_t *tvb _U_,
int offset _U_,
packet_info *pinfo _U_,
proto_tree *tree _U_,
dcerpc_info* di _U_, uint8_t *drep _U_,
int hf_index _U_, uint32_t *param _U_);
Definition packet-dcerpc.h:154
Definition packet_info.h:43
Definition value_string.h:25
Definition tvbuff-int.h:35