static gint hf_misc_svcctl_ServerType_SV_TYPE_NOVELL = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_TIME_SOURCE = -1;
static gint hf_misc_GUID_node = -1;
-static gint hf_misc_winreg_Data_string = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_BACKUP_BROWSER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_CTRL = -1;
-static gint hf_misc_winreg_Data_data = -1;
-static gint hf_misc_winreg_Data_binary = -1;
static gint hf_misc_policy_handle_uuid = -1;
static gint hf_misc_policy_handle_handle_type = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_WORKSTATION = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_MEMBER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SERVER_OSF = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SERVER_MFPN = -1;
+static gint hf_misc_winreg_Data_valREG_DWORD_BIG_ENDIAN_value = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DFS_SERVER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_ALTERNATE_XPORT = -1;
static gint hf_misc_GUID_time_mid = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_ENUM = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_BAKCTRL = -1;
-static gint hf_misc_winreg_Data_value = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_DIALIN_SERVER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SQLSERVER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_POTENTIAL_BROWSER = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_WFW = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SERVER_NT = -1;
static gint hf_misc_KRB5_EDATA_NTSTATUS_ntstatus = -1;
+static gint hf_misc_winreg_Data_valdefault_data = -1;
+static gint hf_misc_winreg_Data_valREG_BINARY_binary = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SERVER_UNIX = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_SERVER_VMS = -1;
static gint hf_misc_KRB5_EDATA_NTSTATUS_unknown1 = -1;
+static gint hf_misc_winreg_Data_valREG_SZ_string = -1;
+static gint hf_misc_winreg_Data_valREG_EXPAND_SZ_string = -1;
+static gint hf_misc_winreg_Data_valREG_DWORD_value = -1;
static gint hf_misc_ndr_syntax_id_uuid = -1;
static gint hf_misc_opnum = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_AFP = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_MASTER_BROWSER = -1;
static gint hf_misc_GUID_clock_seq = -1;
+static gint hf_misc_winreg_Data_valREG_MULTI_SZ_string_array = -1;
static gint hf_misc_svcctl_ServerType_SV_TYPE_NT = -1;
static gint hf_misc_ndr_syntax_id_if_version = -1;
-static gint hf_misc_winreg_Data_string_array = -1;
static gint proto_dcerpc_misc = -1;
/* Version information */
{ REG_QWORD, "REG_QWORD" },
{ 0, NULL }
};
-static int misc_dissect_element_winreg_Data_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_string_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
-static int misc_dissect_element_winreg_Data_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_SZ_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_EXPAND_SZ_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_BINARY_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_DWORD_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_DWORD_BIG_ENDIAN_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valREG_MULTI_SZ_string_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
+static int misc_dissect_element_winreg_Data_valdefault_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
const value_string misc_netr_SamDatabaseID_vals[] = {
{ SAM_DATABASE_DOMAIN, "SAM_DATABASE_DOMAIN" },
{ SAM_DATABASE_BUILTIN, "SAM_DATABASE_BUILTIN" },
/* IDL: } */
static int
-misc_dissect_element_winreg_Data_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_SZ_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_string , 0);
+ offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valREG_SZ_string , 0);
return offset;
}
static int
-misc_dissect_element_winreg_Data_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_EXPAND_SZ_string(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_string , 0);
+ offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valREG_EXPAND_SZ_string , 0);
return offset;
}
static int
-misc_dissect_element_winreg_Data_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_BINARY_binary(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_binary, 1);
+ offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valREG_BINARY_binary, 1);
return offset;
}
static int
-misc_dissect_element_winreg_Data_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_DWORD_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_value, 0);
+ offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valREG_DWORD_value, 0);
return offset;
}
static int
-misc_dissect_element_winreg_Data_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_DWORD_BIG_ENDIAN_value(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_value, 0);
+ offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valREG_DWORD_BIG_ENDIAN_value, 0);
return offset;
}
static int
-misc_dissect_element_winreg_Data_string_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valREG_MULTI_SZ_string_array(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = misc_dissect_struct_string_array(tvb,offset,pinfo,tree,drep,hf_misc_winreg_Data_string_array,0);
+ offset = misc_dissect_struct_string_array(tvb,offset,pinfo,tree,drep,hf_misc_winreg_Data_valREG_MULTI_SZ_string_array,0);
return offset;
}
static int
-misc_dissect_element_winreg_Data_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
+misc_dissect_element_winreg_Data_valdefault_data(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
{
- offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_data, 1);
+ offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, hf_misc_winreg_Data_valdefault_data, 1);
return offset;
}
break;
case REG_SZ:
- offset = misc_dissect_element_winreg_Data_string(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_SZ_string(tvb, offset, pinfo, tree, drep);
break;
case REG_EXPAND_SZ:
- offset = misc_dissect_element_winreg_Data_string(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_EXPAND_SZ_string(tvb, offset, pinfo, tree, drep);
break;
case REG_BINARY:
- offset = misc_dissect_element_winreg_Data_binary(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_BINARY_binary(tvb, offset, pinfo, tree, drep);
break;
case REG_DWORD:
- offset = misc_dissect_element_winreg_Data_value(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_DWORD_value(tvb, offset, pinfo, tree, drep);
break;
case REG_DWORD_BIG_ENDIAN:
- offset = misc_dissect_element_winreg_Data_value(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_DWORD_BIG_ENDIAN_value(tvb, offset, pinfo, tree, drep);
break;
case REG_MULTI_SZ:
- offset = misc_dissect_element_winreg_Data_string_array(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valREG_MULTI_SZ_string_array(tvb, offset, pinfo, tree, drep);
break;
default:
- offset = misc_dissect_element_winreg_Data_data(tvb, offset, pinfo, tree, drep);
+ offset = misc_dissect_element_winreg_Data_valdefault_data(tvb, offset, pinfo, tree, drep);
break;
}
proto_item_set_len(item, offset-old_offset);
{ "Sv Type Time Source", "misc.svcctl_ServerType.SV_TYPE_TIME_SOURCE", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_TIME_SOURCE_tfs), ( 0x00000020 ), NULL, HFILL }},
{ &hf_misc_GUID_node,
{ "Node", "misc.GUID.node", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
- { &hf_misc_winreg_Data_string,
- { "String", "misc.winreg_Data.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_BACKUP_BROWSER,
{ "Sv Type Backup Browser", "misc.svcctl_ServerType.SV_TYPE_BACKUP_BROWSER", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_BACKUP_BROWSER_tfs), ( 0x00020000 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_CTRL,
{ "Sv Type Domain Ctrl", "misc.svcctl_ServerType.SV_TYPE_DOMAIN_CTRL", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_DOMAIN_CTRL_tfs), ( 0x00000008 ), NULL, HFILL }},
- { &hf_misc_winreg_Data_data,
- { "Data", "misc.winreg_Data.data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
- { &hf_misc_winreg_Data_binary,
- { "Binary", "misc.winreg_Data.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_policy_handle_uuid,
{ "Uuid", "misc.policy_handle.uuid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_policy_handle_handle_type,
{ "Sv Type Server Osf", "misc.svcctl_ServerType.SV_TYPE_SERVER_OSF", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_SERVER_OSF_tfs), ( 0x00100000 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_SERVER_MFPN,
{ "Sv Type Server Mfpn", "misc.svcctl_ServerType.SV_TYPE_SERVER_MFPN", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_SERVER_MFPN_tfs), ( 0x00004000 ), NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_DWORD_BIG_ENDIAN_value,
+ { "Value", "misc.winreg_Data_valREG_DWORD_BIG_ENDIAN.value", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_DFS_SERVER,
{ "Sv Type Dfs Server", "misc.svcctl_ServerType.SV_TYPE_DFS_SERVER", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_DFS_SERVER_tfs), ( 0x00800000 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_ALTERNATE_XPORT,
{ "Sv Type Domain Enum", "misc.svcctl_ServerType.SV_TYPE_DOMAIN_ENUM", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_DOMAIN_ENUM_tfs), ( 0x80000000 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_DOMAIN_BAKCTRL,
{ "Sv Type Domain Bakctrl", "misc.svcctl_ServerType.SV_TYPE_DOMAIN_BAKCTRL", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_DOMAIN_BAKCTRL_tfs), ( 0x00000010 ), NULL, HFILL }},
- { &hf_misc_winreg_Data_value,
- { "Value", "misc.winreg_Data.value", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_DIALIN_SERVER,
{ "Sv Type Dialin Server", "misc.svcctl_ServerType.SV_TYPE_DIALIN_SERVER", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_DIALIN_SERVER_tfs), ( 0x00000400 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_SQLSERVER,
{ "Sv Type Server Nt", "misc.svcctl_ServerType.SV_TYPE_SERVER_NT", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_SERVER_NT_tfs), ( 0x00008000 ), NULL, HFILL }},
{ &hf_misc_KRB5_EDATA_NTSTATUS_ntstatus,
{ "Ntstatus", "misc.KRB5_EDATA_NTSTATUS.ntstatus", FT_UINT32, BASE_DEC, VALS(NT_errors), 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valdefault_data,
+ { "Data", "misc.winreg_Data_valdefault.data", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_BINARY_binary,
+ { "Binary", "misc.winreg_Data_valREG_BINARY.binary", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_SERVER_UNIX,
{ "Sv Type Server Unix", "misc.svcctl_ServerType.SV_TYPE_SERVER_UNIX", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_SERVER_UNIX_tfs), ( 0x00000800 ), NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_SERVER_VMS,
{ "Sv Type Server Vms", "misc.svcctl_ServerType.SV_TYPE_SERVER_VMS", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_SERVER_VMS_tfs), ( 0x00200000 ), NULL, HFILL }},
{ &hf_misc_KRB5_EDATA_NTSTATUS_unknown1,
{ "Unknown1", "misc.KRB5_EDATA_NTSTATUS.unknown1", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_SZ_string,
+ { "String", "misc.winreg_Data_valREG_SZ.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_EXPAND_SZ_string,
+ { "String", "misc.winreg_Data_valREG_EXPAND_SZ.string", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_DWORD_value,
+ { "Value", "misc.winreg_Data_valREG_DWORD.value", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
{ &hf_misc_ndr_syntax_id_uuid,
{ "Uuid", "misc.ndr_syntax_id.uuid", FT_GUID, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_opnum,
{ "Sv Type Master Browser", "misc.svcctl_ServerType.SV_TYPE_MASTER_BROWSER", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_MASTER_BROWSER_tfs), ( 0x00040000 ), NULL, HFILL }},
{ &hf_misc_GUID_clock_seq,
{ "Clock Seq", "misc.GUID.clock_seq", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
+ { &hf_misc_winreg_Data_valREG_MULTI_SZ_string_array,
+ { "String Array", "misc.winreg_Data_valREG_MULTI_SZ.string_array", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
{ &hf_misc_svcctl_ServerType_SV_TYPE_NT,
{ "Sv Type Nt", "misc.svcctl_ServerType.SV_TYPE_NT", FT_BOOLEAN, 32, TFS(&svcctl_ServerType_SV_TYPE_NT_tfs), ( 0x00001000 ), NULL, HFILL }},
{ &hf_misc_ndr_syntax_id_if_version,
{ "If Version", "misc.ndr_syntax_id.if_version", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
- { &hf_misc_winreg_Data_string_array,
- { "String Array", "misc.winreg_Data.string_array", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
};