11#include "packet-dcerpc-misc.h"
13#ifndef __PACKET_DCERPC_DSSETUP_H
14#define __PACKET_DCERPC_DSSETUP_H
16#define DS_ROLE_STANDALONE_WORKSTATION (0)
17#define DS_ROLE_MEMBER_WORKSTATION (1)
18#define DS_ROLE_STANDALONE_SERVER (2)
19#define DS_ROLE_MEMBER_SERVER (3)
20#define DS_ROLE_BACKUP_DC (4)
21#define DS_ROLE_PRIMARY_DC (5)
23unsigned dssetup_dissect_enum_DsRole(tvbuff_t *tvb _U_,
unsigned 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_);
24unsigned dssetup_dissect_bitmap_DsRoleFlags(tvbuff_t *tvb _U_,
unsigned 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_);
25unsigned dssetup_dissect_struct_DsRolePrimaryDomInfoBasic(tvbuff_t *tvb _U_,
unsigned 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_);
26#define DS_ROLE_NOT_UPGRADING (0)
27#define DS_ROLE_UPGRADING (1)
28extern const value_string dssetup_dssetup_DsUpgrade_vals[];
29unsigned dssetup_dissect_enum_DsUpgrade(tvbuff_t *tvb _U_,
unsigned 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_);
30#define DS_ROLE_PREVIOUS_UNKNOWN (0)
31#define DS_ROLE_PREVIOUS_PRIMARY (1)
32#define DS_ROLE_PREVIOUS_BACKUP (2)
33extern const value_string dssetup_dssetup_DsPrevious_vals[];
34unsigned dssetup_dissect_enum_DsPrevious(tvbuff_t *tvb _U_,
unsigned 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_);
35unsigned dssetup_dissect_struct_DsRoleUpgradeStatus(tvbuff_t *tvb _U_,
unsigned 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_);
36#define DS_ROLE_OP_IDLE (0)
37#define DS_ROLE_OP_ACTIVE (1)
38#define DS_ROLE_OP_NEEDS_REBOOT (2)
39extern const value_string dssetup_dssetup_DsRoleOp_vals[];
40unsigned dssetup_dissect_enum_DsRoleOp(tvbuff_t *tvb _U_,
unsigned 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_);
41unsigned dssetup_dissect_struct_DsRoleOpStatus(tvbuff_t *tvb _U_,
unsigned 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_);
42#define DS_ROLE_BASIC_INFORMATION (1)
43#define DS_ROLE_UPGRADE_STATUS (2)
44#define DS_ROLE_OP_STATUS (3)
45extern const value_string dssetup_dssetup_DsRoleInfoLevel_vals[];
46unsigned dssetup_dissect_enum_DsRoleInfoLevel(tvbuff_t *tvb _U_,
unsigned 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_);
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
struct _value_string value_string
Mapping between a 32-bit integer value and its string representation.