diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-09-24 20:23:17 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-09-24 20:23:17 +0000 |
commit | fd368919f5d6d5b9c5744cafdc5e8a1eca43631a (patch) | |
tree | 447ecac44eaec5bd4c39b5aee8953f69de9a49ce | |
parent | 5082b46ca659d6e29d9963f922a382c09496a16e (diff) |
pidl has been updated to use WERR instead of DOS error tables.
regenerate some dissectors
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19311 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-dcerpc-atsvc.c | 354 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-dfs.c | 48 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-dfs.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-initshutdown.c | 82 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-winreg.c | 72 | ||||
-rw-r--r-- | epan/dissectors/pidl/atsvc.idl | 25 | ||||
-rw-r--r-- | epan/dissectors/pidl/dfs.idl | 2 | ||||
-rw-r--r-- | epan/dissectors/pidl/packet-dcerpc-atsvc.c | 354 | ||||
-rw-r--r-- | epan/dissectors/pidl/packet-dcerpc-initshutdown.c | 82 | ||||
-rw-r--r-- | epan/dissectors/pidl/packet-dcerpc-winreg.c | 72 |
10 files changed, 544 insertions, 549 deletions
diff --git a/epan/dissectors/packet-dcerpc-atsvc.c b/epan/dissectors/packet-dcerpc-atsvc.c index fdf650caeb..08116b759b 100644 --- a/epan/dissectors/packet-dcerpc-atsvc.c +++ b/epan/dissectors/packet-dcerpc-atsvc.c @@ -33,72 +33,72 @@ static gint ett_atsvc_atsvc_enum_ctr = -1; /* Header field declarations */ -static gint hf_atsvc_atsvc_JobEnumInfo_days_of_month = -1; -static gint hf_atsvc_atsvc_JobEnum_resume_handle = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eight = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Third = -1; -static gint hf_atsvc_atsvc_JobInfo_days_of_week = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyseventh = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Seventeenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fourteenth = -1; static gint hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fifth = -1; -static gint hf_atsvc_job_info = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thitteenth = -1; static gint hf_atsvc_atsvc_enum_ctr_entries_read = -1; -static gint hf_atsvc_atsvc_enum_ctr_first_entry = -1; -static gint hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR = -1; -static gint hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE = -1; -static gint hf_atsvc_opnum = -1; -static gint hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eighteenth = -1; -static gint hf_atsvc_job_id = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Ninteenth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyeighth = -1; static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentysecond = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Second = -1; -static gint hf_atsvc_status = -1; -static gint hf_atsvc_atsvc_JobEnum_ctr = -1; -static gint hf_atsvc_atsvc_JobInfo_command = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Sixteenth = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_command = -1; -static gint hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fourth = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_days_of_week = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_First = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_job_time = -1; -static gint hf_atsvc_atsvc_JobEnum_total_entries = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Ninth = -1; +static gint hf_atsvc_servername = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentyninth = -1; -static gint hf_atsvc_atsvc_JobDel_max_job_id = -1; static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentythird = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Tenth = -1; +static gint hf_atsvc_atsvc_JobEnum_resume_handle = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyseventh = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Fifteenth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyeighth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twelfth = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY = -1; -static gint hf_atsvc_atsvc_JobInfo_flags = -1; +static gint hf_atsvc_atsvc_JobInfo_command = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Ninteenth = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Seventh = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfirst = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Tenth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fourteenth = -1; -static gint hf_atsvc_atsvc_JobEnum_preferred_max_len = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfourth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfifth = -1; -static gint hf_atsvc_servername = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thirtieth = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Sixth = -1; -static gint hf_atsvc_atsvc_JobDel_min_job_id = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Seventeenth = -1; +static gint hf_atsvc_opnum = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twelfth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eighteenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY = -1; +static gint hf_atsvc_atsvc_JobEnum_total_entries = -1; +static gint hf_atsvc_atsvc_enum_ctr_first_entry = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_job_time = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Third = -1; +static gint hf_atsvc_atsvc_JobEnum_preferred_max_len = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_days_of_month = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentythird = -1; static gint hf_atsvc_atsvc_JobInfo_job_time = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Ninth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eleventh = -1; +static gint hf_atsvc_status = -1; +static gint hf_atsvc_atsvc_JobInfo_flags = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Sixth = -1; +static gint hf_atsvc_job_id = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentysixth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fifth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fourth = -1; +static gint hf_atsvc_job_info = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eleventh = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Sixteenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE = -1; +static gint hf_atsvc_atsvc_JobEnum_ctr = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfifth = -1; static gint hf_atsvc_atsvc_JobInfo_days_of_month = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentysecond = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_First = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_command = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thirtieth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eight = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfirst = -1; +static gint hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR = -1; +static gint hf_atsvc_atsvc_JobInfo_days_of_week = -1; +static gint hf_atsvc_atsvc_JobDel_min_job_id = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_days_of_week = -1; static gint hf_atsvc_atsvc_JobEnumInfo_flags = -1; +static gint hf_atsvc_atsvc_JobDel_max_job_id = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thitteenth = -1; static gint proto_dcerpc_atsvc = -1; /* Version information */ @@ -365,7 +365,7 @@ atsvc_dissect_bitmap_DaysOfMonth(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 flags; ALIGN_TO_4_BYTES; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfMonth); } @@ -624,7 +624,7 @@ atsvc_dissect_bitmap_DaysOfMonth(tvbuff_t *tvb, int offset, packet_info *pinfo, } flags&=(~( 0x40000000 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -647,7 +647,7 @@ atsvc_dissect_bitmap_Flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_ guint8 flags; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_Flags); } @@ -698,7 +698,7 @@ atsvc_dissect_bitmap_Flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_ } flags&=(~( 0x10 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -723,7 +723,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p guint8 flags; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfWeek); } @@ -790,7 +790,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p } flags&=(~( 0x40 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -802,7 +802,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p /* IDL: atsvc_DaysOfMonth days_of_month; */ /* IDL: atsvc_DaysOfWeek days_of_week; */ /* IDL: atsvc_Flags flags; */ -/* IDL: [unique(1)] uint16 *command; */ +/* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */ /* IDL: } atsvc_JobInfo; */ static int @@ -867,7 +867,7 @@ atsvc_dissect_struct_JobInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, prot old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobInfo); } @@ -894,7 +894,7 @@ atsvc_dissect_struct_JobInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, prot /* IDL: atsvc_DaysOfMonth days_of_month; */ /* IDL: atsvc_DaysOfWeek days_of_week; */ /* IDL: atsvc_Flags flags; */ -/* IDL: [unique(1)] uint16 *command; */ +/* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */ /* IDL: } atsvc_JobEnumInfo; */ static int @@ -967,7 +967,7 @@ atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobEnumInfo); } @@ -992,7 +992,7 @@ atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, /* IDL: typedef struct { */ /* IDL: uint32 entries_read; */ -/* IDL: [unique(1)] [size_is(entries_read)] atsvc_JobEnumInfo *first_entry; */ +/* IDL: [size_is(entries_read)] [unique(1)] atsvc_JobEnumInfo *first_entry; */ /* IDL: } atsvc_enum_ctr; */ static int @@ -1038,7 +1038,7 @@ atsvc_dissect_struct_enum_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, pro old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_enum_ctr); } @@ -1097,7 +1097,7 @@ atsvc_dissect_element_JobAdd_job_id(tvbuff_t *tvb, int offset, packet_info *pinf } /* IDL: NTSTATUS atsvc_JobAdd( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] [ref] atsvc_JobInfo *job_info, */ /* IDL: [out] uint32 job_id */ /* IDL: ); */ @@ -1164,7 +1164,7 @@ atsvc_dissect_element_JobDel_max_job_id(tvbuff_t *tvb, int offset, packet_info * } /* IDL: NTSTATUS atsvc_JobDel( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] uint32 min_job_id, */ /* IDL: [in] uint32 max_job_id */ /* IDL: ); */ @@ -1262,11 +1262,11 @@ atsvc_dissect_element_JobEnum_resume_handle_(tvbuff_t *tvb, int offset, packet_i } /* IDL: NTSTATUS atsvc_JobEnum( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [out] [in] [ref] atsvc_enum_ctr *ctr, */ /* IDL: [in] uint32 preferred_max_len, */ /* IDL: [out] uint32 total_entries, */ -/* IDL: [unique(1)] [out] [in] uint32 *resume_handle */ +/* IDL: [out] [in] [unique(1)] uint32 *resume_handle */ /* IDL: ); */ static int @@ -1349,9 +1349,9 @@ atsvc_dissect_element_JobGetInfo_job_info_(tvbuff_t *tvb, int offset, packet_inf } /* IDL: NTSTATUS atsvc_JobGetInfo( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] uint32 job_id, */ -/* IDL: [unique(1)] [out] atsvc_JobInfo *job_info */ +/* IDL: [out] [unique(1)] atsvc_JobInfo *job_info */ /* IDL: ); */ static int @@ -1396,138 +1396,138 @@ static dcerpc_sub_dissector atsvc_dissectors[] = { void proto_register_dcerpc_atsvc(void) { static hf_register_info hf[] = { - { &hf_atsvc_atsvc_JobEnumInfo_days_of_month, - { "Days Of Month", "atsvc.atsvc_JobEnumInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_resume_handle, - { "Resume Handle", "atsvc.atsvc_JobEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY, - { "Daysofweek Thursday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_THURSDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs), ( 0x08 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eight, - { "Eight", "atsvc.atsvc_DaysOfMonth.Eight", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eight_tfs), ( 0x00000080 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Third, - { "Third", "atsvc.atsvc_DaysOfMonth.Third", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Third_tfs), ( 0x00000004 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_days_of_week, - { "Days Of Week", "atsvc.atsvc_JobInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyseventh, - { "Twentyseventh", "atsvc.atsvc_DaysOfMonth.Twentyseventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyseventh_tfs), ( 0x04000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyth, - { "Twentyth", "atsvc.atsvc_DaysOfMonth.Twentyth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyth_tfs), ( 0x00080000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Seventeenth, - { "Seventeenth", "atsvc.atsvc_DaysOfMonth.Seventeenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventeenth_tfs), ( 0x00010000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE, + { "Job Noninteractive", "atsvc.atsvc_Flags.JOB_NONINTERACTIVE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_NONINTERACTIVE_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fourteenth, + { "Fourteenth", "atsvc.atsvc_DaysOfMonth.Fourteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourteenth_tfs), ( 0x00002000 ), "", HFILL }}, { &hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY, { "Job Run Periodically", "atsvc.atsvc_Flags.JOB_RUN_PERIODICALLY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUN_PERIODICALLY_tfs), ( 0x01 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fifth, - { "Fifth", "atsvc.atsvc_DaysOfMonth.Fifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifth_tfs), ( 0x00000010 ), "", HFILL }}, - { &hf_atsvc_job_info, - { "JobInfo", "atcvs.job_info", FT_NONE, BASE_HEX, NULL, 0, "JobInfo structure", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thitteenth, - { "Thitteenth", "atsvc.atsvc_DaysOfMonth.Thitteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thitteenth_tfs), ( 0x00001000 ), "", HFILL }}, { &hf_atsvc_atsvc_enum_ctr_entries_read, { "Entries Read", "atsvc.atsvc_enum_ctr.entries_read", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_enum_ctr_first_entry, - { "First Entry", "atsvc.atsvc_enum_ctr.first_entry", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR, - { "Job Exec Error", "atsvc.atsvc_Flags.JOB_EXEC_ERROR", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_EXEC_ERROR_tfs), ( 0x02 ), "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE, - { "Job Noninteractive", "atsvc.atsvc_Flags.JOB_NONINTERACTIVE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_NONINTERACTIVE_tfs), ( 0x10 ), "", HFILL }}, - { &hf_atsvc_opnum, - { "Operation", "atsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY, - { "Job Runs Today", "atsvc.atsvc_Flags.JOB_RUNS_TODAY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUNS_TODAY_tfs), ( 0x04 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eighteenth, - { "Eighteenth", "atsvc.atsvc_DaysOfMonth.Eighteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eighteenth_tfs), ( 0x00020000 ), "", HFILL }}, - { &hf_atsvc_job_id, - { "Job Id", "atsvc.job_id", FT_UINT32, BASE_DEC, NULL, 0, "Identifier of the scheduled job", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY, - { "Daysofweek Saturday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SATURDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs), ( 0x20 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Ninteenth, - { "Ninteenth", "atsvc.atsvc_DaysOfMonth.Ninteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninteenth_tfs), ( 0x00040000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyeighth, + { "Twentyeighth", "atsvc.atsvc_DaysOfMonth.Twentyeighth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyeighth_tfs), ( 0x08000000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY, { "Daysofweek Monday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_MONDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY_tfs), ( 0x01 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentysecond, - { "Twentysecond", "atsvc.atsvc_DaysOfMonth.Twentysecond", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysecond_tfs), ( 0x00200000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY, - { "Daysofweek Friday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_FRIDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY, + { "Daysofweek Sunday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SUNDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs), ( 0x40 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Second, { "Second", "atsvc.atsvc_DaysOfMonth.Second", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Second_tfs), ( 0x00000002 ), "", HFILL }}, - { &hf_atsvc_status, - { "Status", "atsvc.status", FT_UINT32, BASE_HEX, VALS(NT_errors), 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_ctr, - { "Ctr", "atsvc.atsvc_JobEnum.ctr", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_command, - { "Command", "atsvc.atsvc_JobInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Sixteenth, - { "Sixteenth", "atsvc.atsvc_DaysOfMonth.Sixteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixteenth_tfs), ( 0x00008000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_command, - { "Command", "atsvc.atsvc_JobEnumInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE, - { "Job Add Current Date", "atsvc.atsvc_Flags.JOB_ADD_CURRENT_DATE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs), ( 0x08 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst, - { "Thirtyfirst", "atsvc.atsvc_DaysOfMonth.Thirtyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtyfirst_tfs), ( 0x40000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fourth, - { "Fourth", "atsvc.atsvc_DaysOfMonth.Fourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourth_tfs), ( 0x00000008 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_days_of_week, - { "Days Of Week", "atsvc.atsvc_JobEnumInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_First, - { "First", "atsvc.atsvc_DaysOfMonth.First", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_First_tfs), ( 0x00000001 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_job_time, - { "Job Time", "atsvc.atsvc_JobEnumInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_total_entries, - { "Total Entries", "atsvc.atsvc_JobEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyth, + { "Twentyth", "atsvc.atsvc_DaysOfMonth.Twentyth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyth_tfs), ( 0x00080000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Ninth, + { "Ninth", "atsvc.atsvc_DaysOfMonth.Ninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninth_tfs), ( 0x00000100 ), "", HFILL }}, + { &hf_atsvc_servername, + { "Server", "atsvc.server", FT_STRING, BASE_HEX, NULL, 0, "Name of the server", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY, + { "Daysofweek Wednesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_WEDNESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs), ( 0x04 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentyninth, { "Twentyninth", "atsvc.atsvc_DaysOfMonth.Twentyninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyninth_tfs), ( 0x10000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobDel_max_job_id, - { "Max Job Id", "atsvc.atsvc_JobDel.max_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY, { "Daysofweek Tuesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_TUESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY_tfs), ( 0x02 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentythird, - { "Twentythird", "atsvc.atsvc_DaysOfMonth.Twentythird", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentythird_tfs), ( 0x00400000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Tenth, + { "Tenth", "atsvc.atsvc_DaysOfMonth.Tenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Tenth_tfs), ( 0x00000200 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_resume_handle, + { "Resume Handle", "atsvc.atsvc_JobEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyseventh, + { "Twentyseventh", "atsvc.atsvc_DaysOfMonth.Twentyseventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyseventh_tfs), ( 0x04000000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Fifteenth, { "Fifteenth", "atsvc.atsvc_DaysOfMonth.Fifteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifteenth_tfs), ( 0x00004000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyeighth, - { "Twentyeighth", "atsvc.atsvc_DaysOfMonth.Twentyeighth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyeighth_tfs), ( 0x08000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twelfth, - { "Twelfth", "atsvc.atsvc_DaysOfMonth.Twelfth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twelfth_tfs), ( 0x00000800 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY, - { "Daysofweek Wednesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_WEDNESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs), ( 0x04 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_flags, - { "Flags", "atsvc.atsvc_JobInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_command, + { "Command", "atsvc.atsvc_JobInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Ninteenth, + { "Ninteenth", "atsvc.atsvc_DaysOfMonth.Ninteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninteenth_tfs), ( 0x00040000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Seventh, { "Seventh", "atsvc.atsvc_DaysOfMonth.Seventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventh_tfs), ( 0x00000040 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyfirst, - { "Twentyfirst", "atsvc.atsvc_DaysOfMonth.Twentyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfirst_tfs), ( 0x00100000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Tenth, - { "Tenth", "atsvc.atsvc_DaysOfMonth.Tenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Tenth_tfs), ( 0x00000200 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fourteenth, - { "Fourteenth", "atsvc.atsvc_DaysOfMonth.Fourteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourteenth_tfs), ( 0x00002000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_preferred_max_len, - { "Preferred Max Len", "atsvc.atsvc_JobEnum.preferred_max_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentyfourth, { "Twentyfourth", "atsvc.atsvc_DaysOfMonth.Twentyfourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfourth_tfs), ( 0x00800000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyfifth, - { "Twentyfifth", "atsvc.atsvc_DaysOfMonth.Twentyfifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfifth_tfs), ( 0x01000000 ), "", HFILL }}, - { &hf_atsvc_servername, - { "Server", "atsvc.server", FT_STRING, BASE_HEX, NULL, 0, "Name of the server", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thirtieth, - { "Thirtieth", "atsvc.atsvc_DaysOfMonth.Thirtieth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtieth_tfs), ( 0x20000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY, - { "Daysofweek Sunday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SUNDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs), ( 0x40 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Sixth, - { "Sixth", "atsvc.atsvc_DaysOfMonth.Sixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixth_tfs), ( 0x00000020 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobDel_min_job_id, - { "Min Job Id", "atsvc.atsvc_JobDel.min_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Seventeenth, + { "Seventeenth", "atsvc.atsvc_DaysOfMonth.Seventeenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventeenth_tfs), ( 0x00010000 ), "", HFILL }}, + { &hf_atsvc_opnum, + { "Operation", "atsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twelfth, + { "Twelfth", "atsvc.atsvc_DaysOfMonth.Twelfth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twelfth_tfs), ( 0x00000800 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eighteenth, + { "Eighteenth", "atsvc.atsvc_DaysOfMonth.Eighteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eighteenth_tfs), ( 0x00020000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY, + { "Job Runs Today", "atsvc.atsvc_Flags.JOB_RUNS_TODAY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUNS_TODAY_tfs), ( 0x04 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_total_entries, + { "Total Entries", "atsvc.atsvc_JobEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_enum_ctr_first_entry, + { "First Entry", "atsvc.atsvc_enum_ctr.first_entry", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_job_time, + { "Job Time", "atsvc.atsvc_JobEnumInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst, + { "Thirtyfirst", "atsvc.atsvc_DaysOfMonth.Thirtyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtyfirst_tfs), ( 0x40000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Third, + { "Third", "atsvc.atsvc_DaysOfMonth.Third", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Third_tfs), ( 0x00000004 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_preferred_max_len, + { "Preferred Max Len", "atsvc.atsvc_JobEnum.preferred_max_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_days_of_month, + { "Days Of Month", "atsvc.atsvc_JobEnumInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY, + { "Daysofweek Thursday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_THURSDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs), ( 0x08 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY, + { "Daysofweek Friday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_FRIDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentythird, + { "Twentythird", "atsvc.atsvc_DaysOfMonth.Twentythird", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentythird_tfs), ( 0x00400000 ), "", HFILL }}, { &hf_atsvc_atsvc_JobInfo_job_time, { "Job Time", "atsvc.atsvc_JobInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Ninth, - { "Ninth", "atsvc.atsvc_DaysOfMonth.Ninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninth_tfs), ( 0x00000100 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eleventh, - { "Eleventh", "atsvc.atsvc_DaysOfMonth.Eleventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eleventh_tfs), ( 0x00000400 ), "", HFILL }}, + { &hf_atsvc_status, + { "Status", "atsvc.status", FT_UINT32, BASE_HEX, VALS(NT_errors), 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_flags, + { "Flags", "atsvc.atsvc_JobInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY, + { "Daysofweek Saturday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SATURDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs), ( 0x20 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Sixth, + { "Sixth", "atsvc.atsvc_DaysOfMonth.Sixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixth_tfs), ( 0x00000020 ), "", HFILL }}, + { &hf_atsvc_job_id, + { "Job Id", "atsvc.job_id", FT_UINT32, BASE_DEC, NULL, 0, "Identifier of the scheduled job", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentysixth, { "Twentysixth", "atsvc.atsvc_DaysOfMonth.Twentysixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysixth_tfs), ( 0x02000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fifth, + { "Fifth", "atsvc.atsvc_DaysOfMonth.Fifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifth_tfs), ( 0x00000010 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fourth, + { "Fourth", "atsvc.atsvc_DaysOfMonth.Fourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourth_tfs), ( 0x00000008 ), "", HFILL }}, + { &hf_atsvc_job_info, + { "JobInfo", "atcvs.job_info", FT_NONE, BASE_HEX, NULL, 0, "JobInfo structure", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eleventh, + { "Eleventh", "atsvc.atsvc_DaysOfMonth.Eleventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eleventh_tfs), ( 0x00000400 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Sixteenth, + { "Sixteenth", "atsvc.atsvc_DaysOfMonth.Sixteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixteenth_tfs), ( 0x00008000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE, + { "Job Add Current Date", "atsvc.atsvc_Flags.JOB_ADD_CURRENT_DATE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs), ( 0x08 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_ctr, + { "Ctr", "atsvc.atsvc_JobEnum.ctr", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyfifth, + { "Twentyfifth", "atsvc.atsvc_DaysOfMonth.Twentyfifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfifth_tfs), ( 0x01000000 ), "", HFILL }}, { &hf_atsvc_atsvc_JobInfo_days_of_month, { "Days Of Month", "atsvc.atsvc_JobInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentysecond, + { "Twentysecond", "atsvc.atsvc_DaysOfMonth.Twentysecond", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysecond_tfs), ( 0x00200000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_First, + { "First", "atsvc.atsvc_DaysOfMonth.First", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_First_tfs), ( 0x00000001 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_command, + { "Command", "atsvc.atsvc_JobEnumInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thirtieth, + { "Thirtieth", "atsvc.atsvc_DaysOfMonth.Thirtieth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtieth_tfs), ( 0x20000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eight, + { "Eight", "atsvc.atsvc_DaysOfMonth.Eight", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eight_tfs), ( 0x00000080 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyfirst, + { "Twentyfirst", "atsvc.atsvc_DaysOfMonth.Twentyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfirst_tfs), ( 0x00100000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR, + { "Job Exec Error", "atsvc.atsvc_Flags.JOB_EXEC_ERROR", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_EXEC_ERROR_tfs), ( 0x02 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_days_of_week, + { "Days Of Week", "atsvc.atsvc_JobInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobDel_min_job_id, + { "Min Job Id", "atsvc.atsvc_JobDel.min_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_days_of_week, + { "Days Of Week", "atsvc.atsvc_JobEnumInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_JobEnumInfo_flags, { "Flags", "atsvc.atsvc_JobEnumInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobDel_max_job_id, + { "Max Job Id", "atsvc.atsvc_JobDel.max_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thitteenth, + { "Thitteenth", "atsvc.atsvc_DaysOfMonth.Thitteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thitteenth_tfs), ( 0x00001000 ), "", HFILL }}, }; diff --git a/epan/dissectors/packet-dcerpc-dfs.c b/epan/dissectors/packet-dcerpc-dfs.c index b8e26ca0a3..24578a7b43 100644 --- a/epan/dissectors/packet-dcerpc-dfs.c +++ b/epan/dissectors/packet-dcerpc-dfs.c @@ -551,7 +551,7 @@ static int netdfs_dissect_element_dfs_EnumEx_total(tvbuff_t *tvb, int offset, pa static int netdfs_dissect_element_dfs_EnumEx_total_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep); /* IDL: typedef enum { */ -/* IDL: DFS_MANAGER_VERSION_NT4=0, */ +/* IDL: DFS_MANAGER_VERSION_NT4=1, */ /* IDL: DFS_MANAGER_VERSION_W2K=2, */ /* IDL: DFS_MANAGER_VERSION_W2K3=4, */ /* IDL: } dfs_ManagerVersion; */ @@ -3290,7 +3290,7 @@ netdfs_dissect_dfs_Add_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3382,7 +3382,7 @@ netdfs_dissect_dfs_Remove_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3488,7 +3488,7 @@ netdfs_dissect_dfs_SetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3601,7 +3601,7 @@ netdfs_dissect_dfs_GetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3689,7 +3689,7 @@ netdfs_dissect_dfs_Enum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3720,7 +3720,7 @@ netdfs_dissect_dfs_Rename_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3743,7 +3743,7 @@ netdfs_dissect_dfs_Move_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3766,7 +3766,7 @@ netdfs_dissect_dfs_ManagerGetConfigInfo_response(tvbuff_t *tvb _U_, int offset _ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3789,7 +3789,7 @@ netdfs_dissect_dfs_ManagerSendSiteInfo_response(tvbuff_t *tvb _U_, int offset _U offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3929,7 +3929,7 @@ netdfs_dissect_dfs_AddFtRoot_response(tvbuff_t *tvb _U_, int offset _U_, packet_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4054,7 +4054,7 @@ netdfs_dissect_dfs_RemoveFtRoot_response(tvbuff_t *tvb _U_, int offset _U_, pack offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4133,7 +4133,7 @@ netdfs_dissect_dfs_AddStdRoot_response(tvbuff_t *tvb _U_, int offset _U_, packet offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4196,7 +4196,7 @@ netdfs_dissect_dfs_RemoveStdRoot_response(tvbuff_t *tvb _U_, int offset _U_, pac offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4253,7 +4253,7 @@ netdfs_dissect_dfs_ManagerInitialize_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4327,7 +4327,7 @@ netdfs_dissect_dfs_AddStdRootForced_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4358,7 +4358,7 @@ netdfs_dissect_dfs_GetDcAddress_response(tvbuff_t *tvb _U_, int offset _U_, pack offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4381,7 +4381,7 @@ netdfs_dissect_dfs_SetDcAddress_response(tvbuff_t *tvb _U_, int offset _U_, pack offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4427,7 +4427,7 @@ netdfs_dissect_dfs_FlushFtTable_response(tvbuff_t *tvb _U_, int offset _U_, pack offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4454,7 +4454,7 @@ netdfs_dissect_dfs_Add2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4477,7 +4477,7 @@ netdfs_dissect_dfs_Remove2_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4569,7 +4569,7 @@ netdfs_dissect_dfs_EnumEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4602,7 +4602,7 @@ netdfs_dissect_dfs_SetInfo2_response(tvbuff_t *tvb _U_, int offset _U_, packet_i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_netdfs_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -4834,7 +4834,7 @@ void proto_register_dcerpc_netdfs(void) { &hf_netdfs_dfs_Info5_comment, { "Comment", "netdfs.dfs_Info5.comment", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_netdfs_werror, - { "Windows Error", "netdfs.werror", FT_UINT32, BASE_HEX, VALS(DOS_errors), 0, "", HFILL }}, + { "Windows Error", "netdfs.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, "", HFILL }}, { &hf_netdfs_dfs_EnumArray3_count, { "Count", "netdfs.dfs_EnumArray3.count", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_netdfs_dfs_VolumeState_DFS_VOLUME_STATE_INCONSISTENT, diff --git a/epan/dissectors/packet-dcerpc-dfs.h b/epan/dissectors/packet-dcerpc-dfs.h index 7349a7f1d3..881ded718a 100644 --- a/epan/dissectors/packet-dcerpc-dfs.h +++ b/epan/dissectors/packet-dcerpc-dfs.h @@ -16,7 +16,7 @@ #define DFS_STORAGE_STATES ( 0xf ) -#define DFS_MANAGER_VERSION_NT4 (0) +#define DFS_MANAGER_VERSION_NT4 (1) #define DFS_MANAGER_VERSION_W2K (2) #define DFS_MANAGER_VERSION_W2K3 (4) extern const value_string netdfs_dfs_ManagerVersion_vals[]; diff --git a/epan/dissectors/packet-dcerpc-initshutdown.c b/epan/dissectors/packet-dcerpc-initshutdown.c index 90c6d6b78f..364607abc6 100644 --- a/epan/dissectors/packet-dcerpc-initshutdown.c +++ b/epan/dissectors/packet-dcerpc-initshutdown.c @@ -30,24 +30,24 @@ static gint ett_initshutdown_initshutdown_String = -1; /* Header field declarations */ static gint hf_initshutdown_initshutdown_String_name_len = -1; -static gint hf_initshutdown_opnum = -1; +static gint hf_initshutdown_initshutdown_Abort_server = -1; +static gint hf_initshutdown_initshutdown_Init_message = -1; static gint hf_initshutdown_initshutdown_Init_hostname = -1; -static gint hf_initshutdown_initshutdown_String_sub_name = -1; -static gint hf_initshutdown_initshutdown_String_sub_name_size = -1; +static gint hf_initshutdown_initshutdown_InitEx_reboot = -1; static gint hf_initshutdown_initshutdown_InitEx_reason = -1; -static gint hf_initshutdown_initshutdown_InitEx_force_apps = -1; -static gint hf_initshutdown_initshutdown_InitEx_timeout = -1; -static gint hf_initshutdown_initshutdown_Init_timeout = -1; static gint hf_initshutdown_initshutdown_String_name_size = -1; -static gint hf_initshutdown_initshutdown_Init_force_apps = -1; +static gint hf_initshutdown_initshutdown_Init_timeout = -1; static gint hf_initshutdown_initshutdown_InitEx_hostname = -1; -static gint hf_initshutdown_initshutdown_Init_reboot = -1; -static gint hf_initshutdown_initshutdown_InitEx_reboot = -1; -static gint hf_initshutdown_initshutdown_Init_message = -1; -static gint hf_initshutdown_werror = -1; static gint hf_initshutdown_initshutdown_InitEx_message = -1; -static gint hf_initshutdown_initshutdown_Abort_server = -1; static gint hf_initshutdown_initshutdown_String_name = -1; +static gint hf_initshutdown_initshutdown_Init_reboot = -1; +static gint hf_initshutdown_opnum = -1; +static gint hf_initshutdown_initshutdown_Init_force_apps = -1; +static gint hf_initshutdown_initshutdown_String_sub_name = -1; +static gint hf_initshutdown_werror = -1; +static gint hf_initshutdown_initshutdown_String_sub_name_size = -1; +static gint hf_initshutdown_initshutdown_InitEx_force_apps = -1; +static gint hf_initshutdown_initshutdown_InitEx_timeout = -1; static gint proto_dcerpc_initshutdown = -1; /* Version information */ @@ -114,7 +114,7 @@ initshutdown_dissect_struct_String_sub(tvbuff_t *tvb, int offset, packet_info *p old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_initshutdown_initshutdown_String_sub); } @@ -178,7 +178,7 @@ initshutdown_dissect_struct_String(tvbuff_t *tvb, int offset, packet_info *pinfo old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_initshutdown_initshutdown_String); } @@ -267,7 +267,7 @@ initshutdown_dissect_Init_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -316,7 +316,7 @@ initshutdown_dissect_Abort_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -410,7 +410,7 @@ initshutdown_dissect_InitEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -449,42 +449,42 @@ void proto_register_dcerpc_initshutdown(void) static hf_register_info hf[] = { { &hf_initshutdown_initshutdown_String_name_len, { "Name Len", "initshutdown.initshutdown_String.name_len", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_opnum, - { "Operation", "initshutdown.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Abort_server, + { "Server", "initshutdown.initshutdown_Abort.server", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_message, + { "Message", "initshutdown.initshutdown_Init.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_Init_hostname, { "Hostname", "initshutdown.initshutdown_Init.hostname", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_String_sub_name, - { "Name", "initshutdown.initshutdown_String_sub.name", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_String_sub_name_size, - { "Name Size", "initshutdown.initshutdown_String_sub.name_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_reboot, + { "Reboot", "initshutdown.initshutdown_InitEx.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_reason, { "Reason", "initshutdown.initshutdown_InitEx.reason", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_force_apps, - { "Force Apps", "initshutdown.initshutdown_InitEx.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_timeout, - { "Timeout", "initshutdown.initshutdown_InitEx.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_timeout, - { "Timeout", "initshutdown.initshutdown_Init.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_String_name_size, { "Name Size", "initshutdown.initshutdown_String.name_size", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_force_apps, - { "Force Apps", "initshutdown.initshutdown_Init.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_timeout, + { "Timeout", "initshutdown.initshutdown_Init.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_hostname, { "Hostname", "initshutdown.initshutdown_InitEx.hostname", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_reboot, - { "Reboot", "initshutdown.initshutdown_Init.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_reboot, - { "Reboot", "initshutdown.initshutdown_InitEx.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_message, - { "Message", "initshutdown.initshutdown_Init.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_initshutdown_werror, - { "Windows Error", "initshutdown.werror", FT_UINT32, BASE_HEX, VALS(DOS_errors), 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_message, { "Message", "initshutdown.initshutdown_InitEx.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Abort_server, - { "Server", "initshutdown.initshutdown_Abort.server", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_String_name, { "Name", "initshutdown.initshutdown_String.name", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_reboot, + { "Reboot", "initshutdown.initshutdown_Init.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_opnum, + { "Operation", "initshutdown.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_force_apps, + { "Force Apps", "initshutdown.initshutdown_Init.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_String_sub_name, + { "Name", "initshutdown.initshutdown_String_sub.name", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_initshutdown_werror, + { "Windows Error", "initshutdown.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_String_sub_name_size, + { "Name Size", "initshutdown.initshutdown_String_sub.name_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_force_apps, + { "Force Apps", "initshutdown.initshutdown_InitEx.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_timeout, + { "Timeout", "initshutdown.initshutdown_InitEx.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, }; diff --git a/epan/dissectors/packet-dcerpc-winreg.c b/epan/dissectors/packet-dcerpc-winreg.c index d0c8943e10..56bb9854c3 100644 --- a/epan/dissectors/packet-dcerpc-winreg.c +++ b/epan/dissectors/packet-dcerpc-winreg.c @@ -849,7 +849,7 @@ winreg_dissect_OpenHKCR_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -921,7 +921,7 @@ winreg_dissect_OpenHKCU_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -993,7 +993,7 @@ winreg_dissect_OpenHKLM_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1065,7 +1065,7 @@ winreg_dissect_OpenHKPD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1137,7 +1137,7 @@ winreg_dissect_OpenHKU_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1183,7 +1183,7 @@ winreg_dissect_CloseKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1317,7 +1317,7 @@ winreg_dissect_CreateKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1379,7 +1379,7 @@ winreg_dissect_DeleteKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1431,7 +1431,7 @@ winreg_dissect_DeleteValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1543,7 +1543,7 @@ winreg_dissect_EnumKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1709,7 +1709,7 @@ winreg_dissect_EnumValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1762,7 +1762,7 @@ winreg_dissect_FlushKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1832,7 +1832,7 @@ winreg_dissect_GetKeySecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1911,7 +1911,7 @@ winreg_dissect_LoadKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2010,7 +2010,7 @@ winreg_dissect_NotifyChangeKeyValue_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2110,7 +2110,7 @@ winreg_dissect_OpenKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2346,7 +2346,7 @@ winreg_dissect_QueryInfoKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2486,7 +2486,7 @@ winreg_dissect_QueryValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2521,7 +2521,7 @@ winreg_dissect_ReplaceKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2544,7 +2544,7 @@ winreg_dissect_RestoreKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2567,7 +2567,7 @@ winreg_dissect_SaveKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2635,7 +2635,7 @@ winreg_dissect_SetKeySecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2732,7 +2732,7 @@ winreg_dissect_SetValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2765,7 +2765,7 @@ winreg_dissect_UnLoadKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2848,7 +2848,7 @@ winreg_dissect_InitiateSystemShutdown_response(tvbuff_t *tvb _U_, int offset _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2897,7 +2897,7 @@ winreg_dissect_AbortSystemShutdown_response(tvbuff_t *tvb _U_, int offset _U_, p offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2958,7 +2958,7 @@ winreg_dissect_GetVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3028,7 +3028,7 @@ winreg_dissect_OpenHKCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3100,7 +3100,7 @@ winreg_dissect_OpenHKDD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3228,7 +3228,7 @@ winreg_dissect_QueryMultipleValues_response(tvbuff_t *tvb _U_, int offset _U_, p offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3330,7 +3330,7 @@ winreg_dissect_InitiateSystemShutdownEx_response(tvbuff_t *tvb _U_, int offset _ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3365,7 +3365,7 @@ winreg_dissect_SaveKeyEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3433,7 +3433,7 @@ winreg_dissect_OpenHKPT_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3505,7 +3505,7 @@ winreg_dissect_OpenHKPN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3532,7 +3532,7 @@ winreg_dissect_QueryMultipleValues2_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3738,7 +3738,7 @@ void proto_register_dcerpc_winreg(void) { &hf_winreg_winreg_SecBuf_sd, { "Sd", "winreg.winreg_SecBuf.sd", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, { &hf_winreg_werror, - { "Windows Error", "winreg.werror", FT_UINT32, BASE_HEX, VALS(DOS_errors), 0, "", HFILL }}, + { "Windows Error", "winreg.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, "", HFILL }}, { &hf_winreg_winreg_String_name_len, { "Name Len", "winreg.winreg_String.name_len", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_winreg_opnum, diff --git a/epan/dissectors/pidl/atsvc.idl b/epan/dissectors/pidl/atsvc.idl index 7e9f9b0320..d58a719651 100644 --- a/epan/dissectors/pidl/atsvc.idl +++ b/epan/dissectors/pidl/atsvc.idl @@ -2,14 +2,9 @@ atsvc interface definition */ -#include "idl_types.h" - -#define unistr [string] wchar_t * - [ uuid("1ff70682-0a51-30e8-076d-740be8cee98b"), version(1.0), pointer_default(unique), - pointer_default_top(unique), helpstring("Microsoft AT-Scheduler Service"), endpoint("ncacn_np:[\\pipe\\atsvc]", "ncalrpc:") ] interface atsvc @@ -71,21 +66,21 @@ atsvc_DaysOfMonth days_of_month; atsvc_DaysOfWeek days_of_week; atsvc_Flags flags; - unistr *command; + [string,charset(UTF16)] uint16 *command; } atsvc_JobInfo; /******************/ /* Function: 0x00 */ NTSTATUS atsvc_JobAdd( - [in] unistr *servername, - [in,ref] atsvc_JobInfo *job_info, + [in,unique,string,charset(UTF16)] uint16 *servername, + [in] atsvc_JobInfo *job_info, [out] uint32 job_id ); /******************/ /* Function: 0x01 */ NTSTATUS atsvc_JobDel( - [in] unistr *servername, + [in,unique,string,charset(UTF16)] uint16 *servername, [in] uint32 min_job_id, [in] uint32 max_job_id ); @@ -96,7 +91,7 @@ atsvc_DaysOfMonth days_of_month; atsvc_DaysOfWeek days_of_week; atsvc_Flags flags; - unistr *command; + [string,charset(UTF16)] uint16 *command; } atsvc_JobEnumInfo; typedef struct { @@ -107,18 +102,18 @@ /******************/ /* Function: 0x02 */ NTSTATUS atsvc_JobEnum( - [in] unistr *servername, - [in,out,ref] atsvc_enum_ctr *ctr, + [in,unique,string,charset(UTF16)] uint16 *servername, + [in,out] atsvc_enum_ctr *ctr, [in] uint32 preferred_max_len, [out] uint32 total_entries, - [in,out] uint32 *resume_handle + [in,out,unique] uint32 *resume_handle ); /******************/ /* Function: 0x03 */ [public] NTSTATUS atsvc_JobGetInfo( - [in] unistr *servername, + [in,unique,string,charset(UTF16)] uint16 *servername, [in] uint32 job_id, - [out] atsvc_JobInfo *job_info + [out,unique] atsvc_JobInfo *job_info ); } diff --git a/epan/dissectors/pidl/dfs.idl b/epan/dissectors/pidl/dfs.idl index 491953de75..562db1f1f3 100644 --- a/epan/dissectors/pidl/dfs.idl +++ b/epan/dissectors/pidl/dfs.idl @@ -11,7 +11,7 @@ /******************/ /* Function: 0x00 */ typedef [v1_enum] enum { - DFS_MANAGER_VERSION_NT4 = 0, + DFS_MANAGER_VERSION_NT4 = 1, DFS_MANAGER_VERSION_W2K = 2, DFS_MANAGER_VERSION_W2K3 = 4 } dfs_ManagerVersion; diff --git a/epan/dissectors/pidl/packet-dcerpc-atsvc.c b/epan/dissectors/pidl/packet-dcerpc-atsvc.c index fdf650caeb..08116b759b 100644 --- a/epan/dissectors/pidl/packet-dcerpc-atsvc.c +++ b/epan/dissectors/pidl/packet-dcerpc-atsvc.c @@ -33,72 +33,72 @@ static gint ett_atsvc_atsvc_enum_ctr = -1; /* Header field declarations */ -static gint hf_atsvc_atsvc_JobEnumInfo_days_of_month = -1; -static gint hf_atsvc_atsvc_JobEnum_resume_handle = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eight = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Third = -1; -static gint hf_atsvc_atsvc_JobInfo_days_of_week = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyseventh = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Seventeenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fourteenth = -1; static gint hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fifth = -1; -static gint hf_atsvc_job_info = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thitteenth = -1; static gint hf_atsvc_atsvc_enum_ctr_entries_read = -1; -static gint hf_atsvc_atsvc_enum_ctr_first_entry = -1; -static gint hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR = -1; -static gint hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE = -1; -static gint hf_atsvc_opnum = -1; -static gint hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eighteenth = -1; -static gint hf_atsvc_job_id = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Ninteenth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyeighth = -1; static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentysecond = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Second = -1; -static gint hf_atsvc_status = -1; -static gint hf_atsvc_atsvc_JobEnum_ctr = -1; -static gint hf_atsvc_atsvc_JobInfo_command = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Sixteenth = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_command = -1; -static gint hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fourth = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_days_of_week = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_First = -1; -static gint hf_atsvc_atsvc_JobEnumInfo_job_time = -1; -static gint hf_atsvc_atsvc_JobEnum_total_entries = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Ninth = -1; +static gint hf_atsvc_servername = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentyninth = -1; -static gint hf_atsvc_atsvc_JobDel_max_job_id = -1; static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentythird = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Tenth = -1; +static gint hf_atsvc_atsvc_JobEnum_resume_handle = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyseventh = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Fifteenth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyeighth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twelfth = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY = -1; -static gint hf_atsvc_atsvc_JobInfo_flags = -1; +static gint hf_atsvc_atsvc_JobInfo_command = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Ninteenth = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Seventh = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfirst = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Tenth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Fourteenth = -1; -static gint hf_atsvc_atsvc_JobEnum_preferred_max_len = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfourth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfifth = -1; -static gint hf_atsvc_servername = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Thirtieth = -1; -static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Sixth = -1; -static gint hf_atsvc_atsvc_JobDel_min_job_id = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Seventeenth = -1; +static gint hf_atsvc_opnum = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twelfth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eighteenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY = -1; +static gint hf_atsvc_atsvc_JobEnum_total_entries = -1; +static gint hf_atsvc_atsvc_enum_ctr_first_entry = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_job_time = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Third = -1; +static gint hf_atsvc_atsvc_JobEnum_preferred_max_len = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_days_of_month = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentythird = -1; static gint hf_atsvc_atsvc_JobInfo_job_time = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Ninth = -1; -static gint hf_atsvc_atsvc_DaysOfMonth_Eleventh = -1; +static gint hf_atsvc_status = -1; +static gint hf_atsvc_atsvc_JobInfo_flags = -1; +static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Sixth = -1; +static gint hf_atsvc_job_id = -1; static gint hf_atsvc_atsvc_DaysOfMonth_Twentysixth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fifth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Fourth = -1; +static gint hf_atsvc_job_info = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eleventh = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Sixteenth = -1; +static gint hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE = -1; +static gint hf_atsvc_atsvc_JobEnum_ctr = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfifth = -1; static gint hf_atsvc_atsvc_JobInfo_days_of_month = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentysecond = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_First = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_command = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thirtieth = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Eight = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfirst = -1; +static gint hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR = -1; +static gint hf_atsvc_atsvc_JobInfo_days_of_week = -1; +static gint hf_atsvc_atsvc_JobDel_min_job_id = -1; +static gint hf_atsvc_atsvc_JobEnumInfo_days_of_week = -1; static gint hf_atsvc_atsvc_JobEnumInfo_flags = -1; +static gint hf_atsvc_atsvc_JobDel_max_job_id = -1; +static gint hf_atsvc_atsvc_DaysOfMonth_Thitteenth = -1; static gint proto_dcerpc_atsvc = -1; /* Version information */ @@ -365,7 +365,7 @@ atsvc_dissect_bitmap_DaysOfMonth(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 flags; ALIGN_TO_4_BYTES; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfMonth); } @@ -624,7 +624,7 @@ atsvc_dissect_bitmap_DaysOfMonth(tvbuff_t *tvb, int offset, packet_info *pinfo, } flags&=(~( 0x40000000 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -647,7 +647,7 @@ atsvc_dissect_bitmap_Flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_ guint8 flags; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_Flags); } @@ -698,7 +698,7 @@ atsvc_dissect_bitmap_Flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_ } flags&=(~( 0x10 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -723,7 +723,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p guint8 flags; - if(parent_tree) { + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE); tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfWeek); } @@ -790,7 +790,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p } flags&=(~( 0x40 )); - if(flags){ + if (flags) { proto_item_append_text(item, "Unknown bitmap value 0x%x", flags); } @@ -802,7 +802,7 @@ atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, p /* IDL: atsvc_DaysOfMonth days_of_month; */ /* IDL: atsvc_DaysOfWeek days_of_week; */ /* IDL: atsvc_Flags flags; */ -/* IDL: [unique(1)] uint16 *command; */ +/* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */ /* IDL: } atsvc_JobInfo; */ static int @@ -867,7 +867,7 @@ atsvc_dissect_struct_JobInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, prot old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobInfo); } @@ -894,7 +894,7 @@ atsvc_dissect_struct_JobInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, prot /* IDL: atsvc_DaysOfMonth days_of_month; */ /* IDL: atsvc_DaysOfWeek days_of_week; */ /* IDL: atsvc_Flags flags; */ -/* IDL: [unique(1)] uint16 *command; */ +/* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */ /* IDL: } atsvc_JobEnumInfo; */ static int @@ -967,7 +967,7 @@ atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobEnumInfo); } @@ -992,7 +992,7 @@ atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, /* IDL: typedef struct { */ /* IDL: uint32 entries_read; */ -/* IDL: [unique(1)] [size_is(entries_read)] atsvc_JobEnumInfo *first_entry; */ +/* IDL: [size_is(entries_read)] [unique(1)] atsvc_JobEnumInfo *first_entry; */ /* IDL: } atsvc_enum_ctr; */ static int @@ -1038,7 +1038,7 @@ atsvc_dissect_struct_enum_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, pro old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_atsvc_atsvc_enum_ctr); } @@ -1097,7 +1097,7 @@ atsvc_dissect_element_JobAdd_job_id(tvbuff_t *tvb, int offset, packet_info *pinf } /* IDL: NTSTATUS atsvc_JobAdd( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] [ref] atsvc_JobInfo *job_info, */ /* IDL: [out] uint32 job_id */ /* IDL: ); */ @@ -1164,7 +1164,7 @@ atsvc_dissect_element_JobDel_max_job_id(tvbuff_t *tvb, int offset, packet_info * } /* IDL: NTSTATUS atsvc_JobDel( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] uint32 min_job_id, */ /* IDL: [in] uint32 max_job_id */ /* IDL: ); */ @@ -1262,11 +1262,11 @@ atsvc_dissect_element_JobEnum_resume_handle_(tvbuff_t *tvb, int offset, packet_i } /* IDL: NTSTATUS atsvc_JobEnum( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [out] [in] [ref] atsvc_enum_ctr *ctr, */ /* IDL: [in] uint32 preferred_max_len, */ /* IDL: [out] uint32 total_entries, */ -/* IDL: [unique(1)] [out] [in] uint32 *resume_handle */ +/* IDL: [out] [in] [unique(1)] uint32 *resume_handle */ /* IDL: ); */ static int @@ -1349,9 +1349,9 @@ atsvc_dissect_element_JobGetInfo_job_info_(tvbuff_t *tvb, int offset, packet_inf } /* IDL: NTSTATUS atsvc_JobGetInfo( */ -/* IDL: [unique(1)] [in] uint16 *servername, */ +/* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */ /* IDL: [in] uint32 job_id, */ -/* IDL: [unique(1)] [out] atsvc_JobInfo *job_info */ +/* IDL: [out] [unique(1)] atsvc_JobInfo *job_info */ /* IDL: ); */ static int @@ -1396,138 +1396,138 @@ static dcerpc_sub_dissector atsvc_dissectors[] = { void proto_register_dcerpc_atsvc(void) { static hf_register_info hf[] = { - { &hf_atsvc_atsvc_JobEnumInfo_days_of_month, - { "Days Of Month", "atsvc.atsvc_JobEnumInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_resume_handle, - { "Resume Handle", "atsvc.atsvc_JobEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY, - { "Daysofweek Thursday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_THURSDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs), ( 0x08 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eight, - { "Eight", "atsvc.atsvc_DaysOfMonth.Eight", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eight_tfs), ( 0x00000080 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Third, - { "Third", "atsvc.atsvc_DaysOfMonth.Third", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Third_tfs), ( 0x00000004 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_days_of_week, - { "Days Of Week", "atsvc.atsvc_JobInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyseventh, - { "Twentyseventh", "atsvc.atsvc_DaysOfMonth.Twentyseventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyseventh_tfs), ( 0x04000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyth, - { "Twentyth", "atsvc.atsvc_DaysOfMonth.Twentyth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyth_tfs), ( 0x00080000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Seventeenth, - { "Seventeenth", "atsvc.atsvc_DaysOfMonth.Seventeenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventeenth_tfs), ( 0x00010000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE, + { "Job Noninteractive", "atsvc.atsvc_Flags.JOB_NONINTERACTIVE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_NONINTERACTIVE_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fourteenth, + { "Fourteenth", "atsvc.atsvc_DaysOfMonth.Fourteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourteenth_tfs), ( 0x00002000 ), "", HFILL }}, { &hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY, { "Job Run Periodically", "atsvc.atsvc_Flags.JOB_RUN_PERIODICALLY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUN_PERIODICALLY_tfs), ( 0x01 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fifth, - { "Fifth", "atsvc.atsvc_DaysOfMonth.Fifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifth_tfs), ( 0x00000010 ), "", HFILL }}, - { &hf_atsvc_job_info, - { "JobInfo", "atcvs.job_info", FT_NONE, BASE_HEX, NULL, 0, "JobInfo structure", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thitteenth, - { "Thitteenth", "atsvc.atsvc_DaysOfMonth.Thitteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thitteenth_tfs), ( 0x00001000 ), "", HFILL }}, { &hf_atsvc_atsvc_enum_ctr_entries_read, { "Entries Read", "atsvc.atsvc_enum_ctr.entries_read", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_enum_ctr_first_entry, - { "First Entry", "atsvc.atsvc_enum_ctr.first_entry", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR, - { "Job Exec Error", "atsvc.atsvc_Flags.JOB_EXEC_ERROR", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_EXEC_ERROR_tfs), ( 0x02 ), "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE, - { "Job Noninteractive", "atsvc.atsvc_Flags.JOB_NONINTERACTIVE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_NONINTERACTIVE_tfs), ( 0x10 ), "", HFILL }}, - { &hf_atsvc_opnum, - { "Operation", "atsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY, - { "Job Runs Today", "atsvc.atsvc_Flags.JOB_RUNS_TODAY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUNS_TODAY_tfs), ( 0x04 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eighteenth, - { "Eighteenth", "atsvc.atsvc_DaysOfMonth.Eighteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eighteenth_tfs), ( 0x00020000 ), "", HFILL }}, - { &hf_atsvc_job_id, - { "Job Id", "atsvc.job_id", FT_UINT32, BASE_DEC, NULL, 0, "Identifier of the scheduled job", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY, - { "Daysofweek Saturday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SATURDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs), ( 0x20 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Ninteenth, - { "Ninteenth", "atsvc.atsvc_DaysOfMonth.Ninteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninteenth_tfs), ( 0x00040000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyeighth, + { "Twentyeighth", "atsvc.atsvc_DaysOfMonth.Twentyeighth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyeighth_tfs), ( 0x08000000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY, { "Daysofweek Monday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_MONDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY_tfs), ( 0x01 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentysecond, - { "Twentysecond", "atsvc.atsvc_DaysOfMonth.Twentysecond", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysecond_tfs), ( 0x00200000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY, - { "Daysofweek Friday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_FRIDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY, + { "Daysofweek Sunday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SUNDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs), ( 0x40 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Second, { "Second", "atsvc.atsvc_DaysOfMonth.Second", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Second_tfs), ( 0x00000002 ), "", HFILL }}, - { &hf_atsvc_status, - { "Status", "atsvc.status", FT_UINT32, BASE_HEX, VALS(NT_errors), 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_ctr, - { "Ctr", "atsvc.atsvc_JobEnum.ctr", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_command, - { "Command", "atsvc.atsvc_JobInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Sixteenth, - { "Sixteenth", "atsvc.atsvc_DaysOfMonth.Sixteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixteenth_tfs), ( 0x00008000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_command, - { "Command", "atsvc.atsvc_JobEnumInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE, - { "Job Add Current Date", "atsvc.atsvc_Flags.JOB_ADD_CURRENT_DATE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs), ( 0x08 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst, - { "Thirtyfirst", "atsvc.atsvc_DaysOfMonth.Thirtyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtyfirst_tfs), ( 0x40000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fourth, - { "Fourth", "atsvc.atsvc_DaysOfMonth.Fourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourth_tfs), ( 0x00000008 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_days_of_week, - { "Days Of Week", "atsvc.atsvc_JobEnumInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_First, - { "First", "atsvc.atsvc_DaysOfMonth.First", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_First_tfs), ( 0x00000001 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnumInfo_job_time, - { "Job Time", "atsvc.atsvc_JobEnumInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_total_entries, - { "Total Entries", "atsvc.atsvc_JobEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyth, + { "Twentyth", "atsvc.atsvc_DaysOfMonth.Twentyth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyth_tfs), ( 0x00080000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Ninth, + { "Ninth", "atsvc.atsvc_DaysOfMonth.Ninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninth_tfs), ( 0x00000100 ), "", HFILL }}, + { &hf_atsvc_servername, + { "Server", "atsvc.server", FT_STRING, BASE_HEX, NULL, 0, "Name of the server", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY, + { "Daysofweek Wednesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_WEDNESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs), ( 0x04 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentyninth, { "Twentyninth", "atsvc.atsvc_DaysOfMonth.Twentyninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyninth_tfs), ( 0x10000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobDel_max_job_id, - { "Max Job Id", "atsvc.atsvc_JobDel.max_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY, { "Daysofweek Tuesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_TUESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY_tfs), ( 0x02 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentythird, - { "Twentythird", "atsvc.atsvc_DaysOfMonth.Twentythird", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentythird_tfs), ( 0x00400000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Tenth, + { "Tenth", "atsvc.atsvc_DaysOfMonth.Tenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Tenth_tfs), ( 0x00000200 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_resume_handle, + { "Resume Handle", "atsvc.atsvc_JobEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyseventh, + { "Twentyseventh", "atsvc.atsvc_DaysOfMonth.Twentyseventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyseventh_tfs), ( 0x04000000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Fifteenth, { "Fifteenth", "atsvc.atsvc_DaysOfMonth.Fifteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifteenth_tfs), ( 0x00004000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyeighth, - { "Twentyeighth", "atsvc.atsvc_DaysOfMonth.Twentyeighth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyeighth_tfs), ( 0x08000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twelfth, - { "Twelfth", "atsvc.atsvc_DaysOfMonth.Twelfth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twelfth_tfs), ( 0x00000800 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY, - { "Daysofweek Wednesday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_WEDNESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs), ( 0x04 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobInfo_flags, - { "Flags", "atsvc.atsvc_JobInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_command, + { "Command", "atsvc.atsvc_JobInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Ninteenth, + { "Ninteenth", "atsvc.atsvc_DaysOfMonth.Ninteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninteenth_tfs), ( 0x00040000 ), "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Seventh, { "Seventh", "atsvc.atsvc_DaysOfMonth.Seventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventh_tfs), ( 0x00000040 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyfirst, - { "Twentyfirst", "atsvc.atsvc_DaysOfMonth.Twentyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfirst_tfs), ( 0x00100000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Tenth, - { "Tenth", "atsvc.atsvc_DaysOfMonth.Tenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Tenth_tfs), ( 0x00000200 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Fourteenth, - { "Fourteenth", "atsvc.atsvc_DaysOfMonth.Fourteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourteenth_tfs), ( 0x00002000 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobEnum_preferred_max_len, - { "Preferred Max Len", "atsvc.atsvc_JobEnum.preferred_max_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentyfourth, { "Twentyfourth", "atsvc.atsvc_DaysOfMonth.Twentyfourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfourth_tfs), ( 0x00800000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Twentyfifth, - { "Twentyfifth", "atsvc.atsvc_DaysOfMonth.Twentyfifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfifth_tfs), ( 0x01000000 ), "", HFILL }}, - { &hf_atsvc_servername, - { "Server", "atsvc.server", FT_STRING, BASE_HEX, NULL, 0, "Name of the server", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Thirtieth, - { "Thirtieth", "atsvc.atsvc_DaysOfMonth.Thirtieth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtieth_tfs), ( 0x20000000 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY, - { "Daysofweek Sunday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SUNDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs), ( 0x40 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Sixth, - { "Sixth", "atsvc.atsvc_DaysOfMonth.Sixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixth_tfs), ( 0x00000020 ), "", HFILL }}, - { &hf_atsvc_atsvc_JobDel_min_job_id, - { "Min Job Id", "atsvc.atsvc_JobDel.min_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Seventeenth, + { "Seventeenth", "atsvc.atsvc_DaysOfMonth.Seventeenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventeenth_tfs), ( 0x00010000 ), "", HFILL }}, + { &hf_atsvc_opnum, + { "Operation", "atsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twelfth, + { "Twelfth", "atsvc.atsvc_DaysOfMonth.Twelfth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twelfth_tfs), ( 0x00000800 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eighteenth, + { "Eighteenth", "atsvc.atsvc_DaysOfMonth.Eighteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eighteenth_tfs), ( 0x00020000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY, + { "Job Runs Today", "atsvc.atsvc_Flags.JOB_RUNS_TODAY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUNS_TODAY_tfs), ( 0x04 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_total_entries, + { "Total Entries", "atsvc.atsvc_JobEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_enum_ctr_first_entry, + { "First Entry", "atsvc.atsvc_enum_ctr.first_entry", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_job_time, + { "Job Time", "atsvc.atsvc_JobEnumInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst, + { "Thirtyfirst", "atsvc.atsvc_DaysOfMonth.Thirtyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtyfirst_tfs), ( 0x40000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Third, + { "Third", "atsvc.atsvc_DaysOfMonth.Third", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Third_tfs), ( 0x00000004 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_preferred_max_len, + { "Preferred Max Len", "atsvc.atsvc_JobEnum.preferred_max_len", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_days_of_month, + { "Days Of Month", "atsvc.atsvc_JobEnumInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY, + { "Daysofweek Thursday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_THURSDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs), ( 0x08 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY, + { "Daysofweek Friday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_FRIDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs), ( 0x10 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentythird, + { "Twentythird", "atsvc.atsvc_DaysOfMonth.Twentythird", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentythird_tfs), ( 0x00400000 ), "", HFILL }}, { &hf_atsvc_atsvc_JobInfo_job_time, { "Job Time", "atsvc.atsvc_JobInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Ninth, - { "Ninth", "atsvc.atsvc_DaysOfMonth.Ninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninth_tfs), ( 0x00000100 ), "", HFILL }}, - { &hf_atsvc_atsvc_DaysOfMonth_Eleventh, - { "Eleventh", "atsvc.atsvc_DaysOfMonth.Eleventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eleventh_tfs), ( 0x00000400 ), "", HFILL }}, + { &hf_atsvc_status, + { "Status", "atsvc.status", FT_UINT32, BASE_HEX, VALS(NT_errors), 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_flags, + { "Flags", "atsvc.atsvc_JobInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY, + { "Daysofweek Saturday", "atsvc.atsvc_DaysOfWeek.DAYSOFWEEK_SATURDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs), ( 0x20 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Sixth, + { "Sixth", "atsvc.atsvc_DaysOfMonth.Sixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixth_tfs), ( 0x00000020 ), "", HFILL }}, + { &hf_atsvc_job_id, + { "Job Id", "atsvc.job_id", FT_UINT32, BASE_DEC, NULL, 0, "Identifier of the scheduled job", HFILL }}, { &hf_atsvc_atsvc_DaysOfMonth_Twentysixth, { "Twentysixth", "atsvc.atsvc_DaysOfMonth.Twentysixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysixth_tfs), ( 0x02000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fifth, + { "Fifth", "atsvc.atsvc_DaysOfMonth.Fifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifth_tfs), ( 0x00000010 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Fourth, + { "Fourth", "atsvc.atsvc_DaysOfMonth.Fourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourth_tfs), ( 0x00000008 ), "", HFILL }}, + { &hf_atsvc_job_info, + { "JobInfo", "atcvs.job_info", FT_NONE, BASE_HEX, NULL, 0, "JobInfo structure", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eleventh, + { "Eleventh", "atsvc.atsvc_DaysOfMonth.Eleventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eleventh_tfs), ( 0x00000400 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Sixteenth, + { "Sixteenth", "atsvc.atsvc_DaysOfMonth.Sixteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixteenth_tfs), ( 0x00008000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE, + { "Job Add Current Date", "atsvc.atsvc_Flags.JOB_ADD_CURRENT_DATE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs), ( 0x08 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnum_ctr, + { "Ctr", "atsvc.atsvc_JobEnum.ctr", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyfifth, + { "Twentyfifth", "atsvc.atsvc_DaysOfMonth.Twentyfifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfifth_tfs), ( 0x01000000 ), "", HFILL }}, { &hf_atsvc_atsvc_JobInfo_days_of_month, { "Days Of Month", "atsvc.atsvc_JobInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentysecond, + { "Twentysecond", "atsvc.atsvc_DaysOfMonth.Twentysecond", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysecond_tfs), ( 0x00200000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_First, + { "First", "atsvc.atsvc_DaysOfMonth.First", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_First_tfs), ( 0x00000001 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_command, + { "Command", "atsvc.atsvc_JobEnumInfo.command", FT_STRING, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thirtieth, + { "Thirtieth", "atsvc.atsvc_DaysOfMonth.Thirtieth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtieth_tfs), ( 0x20000000 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Eight, + { "Eight", "atsvc.atsvc_DaysOfMonth.Eight", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eight_tfs), ( 0x00000080 ), "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Twentyfirst, + { "Twentyfirst", "atsvc.atsvc_DaysOfMonth.Twentyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfirst_tfs), ( 0x00100000 ), "", HFILL }}, + { &hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR, + { "Job Exec Error", "atsvc.atsvc_Flags.JOB_EXEC_ERROR", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_EXEC_ERROR_tfs), ( 0x02 ), "", HFILL }}, + { &hf_atsvc_atsvc_JobInfo_days_of_week, + { "Days Of Week", "atsvc.atsvc_JobInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobDel_min_job_id, + { "Min Job Id", "atsvc.atsvc_JobDel.min_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobEnumInfo_days_of_week, + { "Days Of Week", "atsvc.atsvc_JobEnumInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, { &hf_atsvc_atsvc_JobEnumInfo_flags, { "Flags", "atsvc.atsvc_JobEnumInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_JobDel_max_job_id, + { "Max Job Id", "atsvc.atsvc_JobDel.max_job_id", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_atsvc_atsvc_DaysOfMonth_Thitteenth, + { "Thitteenth", "atsvc.atsvc_DaysOfMonth.Thitteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thitteenth_tfs), ( 0x00001000 ), "", HFILL }}, }; diff --git a/epan/dissectors/pidl/packet-dcerpc-initshutdown.c b/epan/dissectors/pidl/packet-dcerpc-initshutdown.c index 90c6d6b78f..364607abc6 100644 --- a/epan/dissectors/pidl/packet-dcerpc-initshutdown.c +++ b/epan/dissectors/pidl/packet-dcerpc-initshutdown.c @@ -30,24 +30,24 @@ static gint ett_initshutdown_initshutdown_String = -1; /* Header field declarations */ static gint hf_initshutdown_initshutdown_String_name_len = -1; -static gint hf_initshutdown_opnum = -1; +static gint hf_initshutdown_initshutdown_Abort_server = -1; +static gint hf_initshutdown_initshutdown_Init_message = -1; static gint hf_initshutdown_initshutdown_Init_hostname = -1; -static gint hf_initshutdown_initshutdown_String_sub_name = -1; -static gint hf_initshutdown_initshutdown_String_sub_name_size = -1; +static gint hf_initshutdown_initshutdown_InitEx_reboot = -1; static gint hf_initshutdown_initshutdown_InitEx_reason = -1; -static gint hf_initshutdown_initshutdown_InitEx_force_apps = -1; -static gint hf_initshutdown_initshutdown_InitEx_timeout = -1; -static gint hf_initshutdown_initshutdown_Init_timeout = -1; static gint hf_initshutdown_initshutdown_String_name_size = -1; -static gint hf_initshutdown_initshutdown_Init_force_apps = -1; +static gint hf_initshutdown_initshutdown_Init_timeout = -1; static gint hf_initshutdown_initshutdown_InitEx_hostname = -1; -static gint hf_initshutdown_initshutdown_Init_reboot = -1; -static gint hf_initshutdown_initshutdown_InitEx_reboot = -1; -static gint hf_initshutdown_initshutdown_Init_message = -1; -static gint hf_initshutdown_werror = -1; static gint hf_initshutdown_initshutdown_InitEx_message = -1; -static gint hf_initshutdown_initshutdown_Abort_server = -1; static gint hf_initshutdown_initshutdown_String_name = -1; +static gint hf_initshutdown_initshutdown_Init_reboot = -1; +static gint hf_initshutdown_opnum = -1; +static gint hf_initshutdown_initshutdown_Init_force_apps = -1; +static gint hf_initshutdown_initshutdown_String_sub_name = -1; +static gint hf_initshutdown_werror = -1; +static gint hf_initshutdown_initshutdown_String_sub_name_size = -1; +static gint hf_initshutdown_initshutdown_InitEx_force_apps = -1; +static gint hf_initshutdown_initshutdown_InitEx_timeout = -1; static gint proto_dcerpc_initshutdown = -1; /* Version information */ @@ -114,7 +114,7 @@ initshutdown_dissect_struct_String_sub(tvbuff_t *tvb, int offset, packet_info *p old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_initshutdown_initshutdown_String_sub); } @@ -178,7 +178,7 @@ initshutdown_dissect_struct_String(tvbuff_t *tvb, int offset, packet_info *pinfo old_offset = offset; - if(parent_tree){ + if (parent_tree) { item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE); tree = proto_item_add_subtree(item, ett_initshutdown_initshutdown_String); } @@ -267,7 +267,7 @@ initshutdown_dissect_Init_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -316,7 +316,7 @@ initshutdown_dissect_Abort_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -410,7 +410,7 @@ initshutdown_dissect_InitEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_initshutdown_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -449,42 +449,42 @@ void proto_register_dcerpc_initshutdown(void) static hf_register_info hf[] = { { &hf_initshutdown_initshutdown_String_name_len, { "Name Len", "initshutdown.initshutdown_String.name_len", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_opnum, - { "Operation", "initshutdown.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Abort_server, + { "Server", "initshutdown.initshutdown_Abort.server", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_message, + { "Message", "initshutdown.initshutdown_Init.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_Init_hostname, { "Hostname", "initshutdown.initshutdown_Init.hostname", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_String_sub_name, - { "Name", "initshutdown.initshutdown_String_sub.name", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_String_sub_name_size, - { "Name Size", "initshutdown.initshutdown_String_sub.name_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_reboot, + { "Reboot", "initshutdown.initshutdown_InitEx.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_reason, { "Reason", "initshutdown.initshutdown_InitEx.reason", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_force_apps, - { "Force Apps", "initshutdown.initshutdown_InitEx.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_timeout, - { "Timeout", "initshutdown.initshutdown_InitEx.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_timeout, - { "Timeout", "initshutdown.initshutdown_Init.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_String_name_size, { "Name Size", "initshutdown.initshutdown_String.name_size", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_force_apps, - { "Force Apps", "initshutdown.initshutdown_Init.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_timeout, + { "Timeout", "initshutdown.initshutdown_Init.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_hostname, { "Hostname", "initshutdown.initshutdown_InitEx.hostname", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_reboot, - { "Reboot", "initshutdown.initshutdown_Init.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_InitEx_reboot, - { "Reboot", "initshutdown.initshutdown_InitEx.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Init_message, - { "Message", "initshutdown.initshutdown_Init.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_initshutdown_werror, - { "Windows Error", "initshutdown.werror", FT_UINT32, BASE_HEX, VALS(DOS_errors), 0, "", HFILL }}, { &hf_initshutdown_initshutdown_InitEx_message, { "Message", "initshutdown.initshutdown_InitEx.message", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, - { &hf_initshutdown_initshutdown_Abort_server, - { "Server", "initshutdown.initshutdown_Abort.server", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_initshutdown_initshutdown_String_name, { "Name", "initshutdown.initshutdown_String.name", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_reboot, + { "Reboot", "initshutdown.initshutdown_Init.reboot", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_opnum, + { "Operation", "initshutdown.opnum", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_Init_force_apps, + { "Force Apps", "initshutdown.initshutdown_Init.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_String_sub_name, + { "Name", "initshutdown.initshutdown_String_sub.name", FT_NONE, BASE_HEX, NULL, 0, "", HFILL }}, + { &hf_initshutdown_werror, + { "Windows Error", "initshutdown.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_String_sub_name_size, + { "Name Size", "initshutdown.initshutdown_String_sub.name_size", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_force_apps, + { "Force Apps", "initshutdown.initshutdown_InitEx.force_apps", FT_UINT8, BASE_DEC, NULL, 0, "", HFILL }}, + { &hf_initshutdown_initshutdown_InitEx_timeout, + { "Timeout", "initshutdown.initshutdown_InitEx.timeout", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }}, }; diff --git a/epan/dissectors/pidl/packet-dcerpc-winreg.c b/epan/dissectors/pidl/packet-dcerpc-winreg.c index d0c8943e10..56bb9854c3 100644 --- a/epan/dissectors/pidl/packet-dcerpc-winreg.c +++ b/epan/dissectors/pidl/packet-dcerpc-winreg.c @@ -849,7 +849,7 @@ winreg_dissect_OpenHKCR_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -921,7 +921,7 @@ winreg_dissect_OpenHKCU_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -993,7 +993,7 @@ winreg_dissect_OpenHKLM_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1065,7 +1065,7 @@ winreg_dissect_OpenHKPD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1137,7 +1137,7 @@ winreg_dissect_OpenHKU_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1183,7 +1183,7 @@ winreg_dissect_CloseKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1317,7 +1317,7 @@ winreg_dissect_CreateKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1379,7 +1379,7 @@ winreg_dissect_DeleteKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1431,7 +1431,7 @@ winreg_dissect_DeleteValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_in offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1543,7 +1543,7 @@ winreg_dissect_EnumKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1709,7 +1709,7 @@ winreg_dissect_EnumValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1762,7 +1762,7 @@ winreg_dissect_FlushKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1832,7 +1832,7 @@ winreg_dissect_GetKeySecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -1911,7 +1911,7 @@ winreg_dissect_LoadKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2010,7 +2010,7 @@ winreg_dissect_NotifyChangeKeyValue_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2110,7 +2110,7 @@ winreg_dissect_OpenKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2346,7 +2346,7 @@ winreg_dissect_QueryInfoKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_i offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2486,7 +2486,7 @@ winreg_dissect_QueryValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2521,7 +2521,7 @@ winreg_dissect_ReplaceKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2544,7 +2544,7 @@ winreg_dissect_RestoreKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2567,7 +2567,7 @@ winreg_dissect_SaveKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info * offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2635,7 +2635,7 @@ winreg_dissect_SetKeySecurity_response(tvbuff_t *tvb _U_, int offset _U_, packet offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2732,7 +2732,7 @@ winreg_dissect_SetValue_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2765,7 +2765,7 @@ winreg_dissect_UnLoadKey_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2848,7 +2848,7 @@ winreg_dissect_InitiateSystemShutdown_response(tvbuff_t *tvb _U_, int offset _U_ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2897,7 +2897,7 @@ winreg_dissect_AbortSystemShutdown_response(tvbuff_t *tvb _U_, int offset _U_, p offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -2958,7 +2958,7 @@ winreg_dissect_GetVersion_response(tvbuff_t *tvb _U_, int offset _U_, packet_inf offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3028,7 +3028,7 @@ winreg_dissect_OpenHKCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3100,7 +3100,7 @@ winreg_dissect_OpenHKDD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3228,7 +3228,7 @@ winreg_dissect_QueryMultipleValues_response(tvbuff_t *tvb _U_, int offset _U_, p offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3330,7 +3330,7 @@ winreg_dissect_InitiateSystemShutdownEx_response(tvbuff_t *tvb _U_, int offset _ offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3365,7 +3365,7 @@ winreg_dissect_SaveKeyEx_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3433,7 +3433,7 @@ winreg_dissect_OpenHKPT_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3505,7 +3505,7 @@ winreg_dissect_OpenHKPN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3532,7 +3532,7 @@ winreg_dissect_QueryMultipleValues2_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_winreg_werror, &status); if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) - col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, DOS_errors, "Unknown DOS error 0x%08x")); + col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, WERR_errors, "Unknown DOS error 0x%08x")); return offset; } @@ -3738,7 +3738,7 @@ void proto_register_dcerpc_winreg(void) { &hf_winreg_winreg_SecBuf_sd, { "Sd", "winreg.winreg_SecBuf.sd", FT_NONE, BASE_NONE, NULL, 0, "", HFILL }}, { &hf_winreg_werror, - { "Windows Error", "winreg.werror", FT_UINT32, BASE_HEX, VALS(DOS_errors), 0, "", HFILL }}, + { "Windows Error", "winreg.werror", FT_UINT32, BASE_HEX, VALS(WERR_errors), 0, "", HFILL }}, { &hf_winreg_winreg_String_name_len, { "Name Len", "winreg.winreg_String.name_len", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_winreg_opnum, |