2 This filter was automatically generated
3 from atsvc.idl and atsvc.cnf.
5 Pidl is a perl based IDL compiler for DCE/RPC idl files.
6 It is maintained by the Samba team, not the Wireshark team.
7 Instructions on how to download and install Pidl can be
8 found at http://wiki.wireshark.org/Pidl
17 #pragma warning(disable:4005)
18 #pragma warning(disable:4013)
19 #pragma warning(disable:4018)
20 #pragma warning(disable:4101)
25 #include <epan/packet.h>
27 #include "packet-dcerpc.h"
28 #include "packet-dcerpc-nt.h"
29 #include "packet-windows-common.h"
30 #include "packet-dcerpc-atsvc.h"
32 /* Ett declarations */
33 static gint ett_dcerpc_atsvc = -1;
34 static gint ett_atsvc_atsvc_DaysOfMonth = -1;
35 static gint ett_atsvc_atsvc_Flags = -1;
36 static gint ett_atsvc_atsvc_DaysOfWeek = -1;
37 static gint ett_atsvc_atsvc_JobInfo = -1;
38 static gint ett_atsvc_atsvc_JobEnumInfo = -1;
39 static gint ett_atsvc_atsvc_enum_ctr = -1;
42 /* Header field declarations */
43 static gint hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE = -1;
44 static gint hf_atsvc_atsvc_DaysOfMonth_Fourteenth = -1;
45 static gint hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY = -1;
46 static gint hf_atsvc_atsvc_enum_ctr_entries_read = -1;
47 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyeighth = -1;
48 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY = -1;
49 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY = -1;
50 static gint hf_atsvc_atsvc_DaysOfMonth_Second = -1;
51 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyth = -1;
52 static gint hf_atsvc_atsvc_DaysOfMonth_Ninth = -1;
53 static gint hf_atsvc_servername = -1;
54 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY = -1;
55 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyninth = -1;
56 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY = -1;
57 static gint hf_atsvc_atsvc_DaysOfMonth_Tenth = -1;
58 static gint hf_atsvc_atsvc_JobEnum_resume_handle = -1;
59 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyseventh = -1;
60 static gint hf_atsvc_atsvc_DaysOfMonth_Fifteenth = -1;
61 static gint hf_atsvc_atsvc_JobInfo_command = -1;
62 static gint hf_atsvc_atsvc_DaysOfMonth_Ninteenth = -1;
63 static gint hf_atsvc_atsvc_DaysOfMonth_Seventh = -1;
64 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfourth = -1;
65 static gint hf_atsvc_atsvc_DaysOfMonth_Seventeenth = -1;
66 static gint hf_atsvc_opnum = -1;
67 static gint hf_atsvc_atsvc_DaysOfMonth_Twelfth = -1;
68 static gint hf_atsvc_atsvc_DaysOfMonth_Eighteenth = -1;
69 static gint hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY = -1;
70 static gint hf_atsvc_atsvc_JobEnum_total_entries = -1;
71 static gint hf_atsvc_atsvc_enum_ctr_first_entry = -1;
72 static gint hf_atsvc_atsvc_JobEnumInfo_job_time = -1;
73 static gint hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst = -1;
74 static gint hf_atsvc_atsvc_DaysOfMonth_Third = -1;
75 static gint hf_atsvc_atsvc_JobEnum_preferred_max_len = -1;
76 static gint hf_atsvc_atsvc_JobEnumInfo_days_of_month = -1;
77 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY = -1;
78 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY = -1;
79 static gint hf_atsvc_atsvc_DaysOfMonth_Twentythird = -1;
80 static gint hf_atsvc_atsvc_JobInfo_job_time = -1;
81 static gint hf_atsvc_status = -1;
82 static gint hf_atsvc_atsvc_JobInfo_flags = -1;
83 static gint hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY = -1;
84 static gint hf_atsvc_atsvc_DaysOfMonth_Sixth = -1;
85 static gint hf_atsvc_job_id = -1;
86 static gint hf_atsvc_atsvc_DaysOfMonth_Twentysixth = -1;
87 static gint hf_atsvc_atsvc_DaysOfMonth_Fifth = -1;
88 static gint hf_atsvc_atsvc_DaysOfMonth_Fourth = -1;
89 static gint hf_atsvc_job_info = -1;
90 static gint hf_atsvc_atsvc_DaysOfMonth_Eleventh = -1;
91 static gint hf_atsvc_atsvc_DaysOfMonth_Sixteenth = -1;
92 static gint hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE = -1;
93 static gint hf_atsvc_atsvc_JobEnum_ctr = -1;
94 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfifth = -1;
95 static gint hf_atsvc_atsvc_JobInfo_days_of_month = -1;
96 static gint hf_atsvc_atsvc_DaysOfMonth_Twentysecond = -1;
97 static gint hf_atsvc_atsvc_DaysOfMonth_First = -1;
98 static gint hf_atsvc_atsvc_JobEnumInfo_command = -1;
99 static gint hf_atsvc_atsvc_DaysOfMonth_Thirtieth = -1;
100 static gint hf_atsvc_atsvc_DaysOfMonth_Eight = -1;
101 static gint hf_atsvc_atsvc_DaysOfMonth_Twentyfirst = -1;
102 static gint hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR = -1;
103 static gint hf_atsvc_atsvc_JobInfo_days_of_week = -1;
104 static gint hf_atsvc_atsvc_JobDel_min_job_id = -1;
105 static gint hf_atsvc_atsvc_JobEnumInfo_days_of_week = -1;
106 static gint hf_atsvc_atsvc_JobEnumInfo_flags = -1;
107 static gint hf_atsvc_atsvc_JobDel_max_job_id = -1;
108 static gint hf_atsvc_atsvc_DaysOfMonth_Thitteenth = -1;
110 static gint proto_dcerpc_atsvc = -1;
111 /* Version information */
114 static e_uuid_t uuid_dcerpc_atsvc = {
115 0x1ff70682, 0x0a51, 0x30e8,
116 { 0x07, 0x6d, 0x74, 0x0b, 0xe8, 0xce, 0xe9, 0x8b }
118 static guint16 ver_dcerpc_atsvc = 1;
120 static const true_false_string atsvc_DaysOfMonth_First_tfs = {
124 static const true_false_string atsvc_DaysOfMonth_Second_tfs = {
128 static const true_false_string atsvc_DaysOfMonth_Third_tfs = {
132 static const true_false_string atsvc_DaysOfMonth_Fourth_tfs = {
136 static const true_false_string atsvc_DaysOfMonth_Fifth_tfs = {
140 static const true_false_string atsvc_DaysOfMonth_Sixth_tfs = {
144 static const true_false_string atsvc_DaysOfMonth_Seventh_tfs = {
146 "Seventh is NOT SET",
148 static const true_false_string atsvc_DaysOfMonth_Eight_tfs = {
152 static const true_false_string atsvc_DaysOfMonth_Ninth_tfs = {
156 static const true_false_string atsvc_DaysOfMonth_Tenth_tfs = {
160 static const true_false_string atsvc_DaysOfMonth_Eleventh_tfs = {
162 "Eleventh is NOT SET",
164 static const true_false_string atsvc_DaysOfMonth_Twelfth_tfs = {
166 "Twelfth is NOT SET",
168 static const true_false_string atsvc_DaysOfMonth_Thitteenth_tfs = {
170 "Thitteenth is NOT SET",
172 static const true_false_string atsvc_DaysOfMonth_Fourteenth_tfs = {
174 "Fourteenth is NOT SET",
176 static const true_false_string atsvc_DaysOfMonth_Fifteenth_tfs = {
178 "Fifteenth is NOT SET",
180 static const true_false_string atsvc_DaysOfMonth_Sixteenth_tfs = {
182 "Sixteenth is NOT SET",
184 static const true_false_string atsvc_DaysOfMonth_Seventeenth_tfs = {
185 "Seventeenth is SET",
186 "Seventeenth is NOT SET",
188 static const true_false_string atsvc_DaysOfMonth_Eighteenth_tfs = {
190 "Eighteenth is NOT SET",
192 static const true_false_string atsvc_DaysOfMonth_Ninteenth_tfs = {
194 "Ninteenth is NOT SET",
196 static const true_false_string atsvc_DaysOfMonth_Twentyth_tfs = {
198 "Twentyth is NOT SET",
200 static const true_false_string atsvc_DaysOfMonth_Twentyfirst_tfs = {
201 "Twentyfirst is SET",
202 "Twentyfirst is NOT SET",
204 static const true_false_string atsvc_DaysOfMonth_Twentysecond_tfs = {
205 "Twentysecond is SET",
206 "Twentysecond is NOT SET",
208 static const true_false_string atsvc_DaysOfMonth_Twentythird_tfs = {
209 "Twentythird is SET",
210 "Twentythird is NOT SET",
212 static const true_false_string atsvc_DaysOfMonth_Twentyfourth_tfs = {
213 "Twentyfourth is SET",
214 "Twentyfourth is NOT SET",
216 static const true_false_string atsvc_DaysOfMonth_Twentyfifth_tfs = {
217 "Twentyfifth is SET",
218 "Twentyfifth is NOT SET",
220 static const true_false_string atsvc_DaysOfMonth_Twentysixth_tfs = {
221 "Twentysixth is SET",
222 "Twentysixth is NOT SET",
224 static const true_false_string atsvc_DaysOfMonth_Twentyseventh_tfs = {
225 "Twentyseventh is SET",
226 "Twentyseventh is NOT SET",
228 static const true_false_string atsvc_DaysOfMonth_Twentyeighth_tfs = {
229 "Twentyeighth is SET",
230 "Twentyeighth is NOT SET",
232 static const true_false_string atsvc_DaysOfMonth_Twentyninth_tfs = {
233 "Twentyninth is SET",
234 "Twentyninth is NOT SET",
236 static const true_false_string atsvc_DaysOfMonth_Thirtieth_tfs = {
238 "Thirtieth is NOT SET",
240 static const true_false_string atsvc_DaysOfMonth_Thirtyfirst_tfs = {
241 "Thirtyfirst is SET",
242 "Thirtyfirst is NOT SET",
244 static const true_false_string atsvc_Flags_JOB_RUN_PERIODICALLY_tfs = {
245 "JOB_RUN_PERIODICALLY is SET",
246 "JOB_RUN_PERIODICALLY is NOT SET",
248 static const true_false_string atsvc_Flags_JOB_EXEC_ERROR_tfs = {
249 "JOB_EXEC_ERROR is SET",
250 "JOB_EXEC_ERROR is NOT SET",
252 static const true_false_string atsvc_Flags_JOB_RUNS_TODAY_tfs = {
253 "JOB_RUNS_TODAY is SET",
254 "JOB_RUNS_TODAY is NOT SET",
256 static const true_false_string atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs = {
257 "JOB_ADD_CURRENT_DATE is SET",
258 "JOB_ADD_CURRENT_DATE is NOT SET",
260 static const true_false_string atsvc_Flags_JOB_NONINTERACTIVE_tfs = {
261 "JOB_NONINTERACTIVE is SET",
262 "JOB_NONINTERACTIVE is NOT SET",
264 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY_tfs = {
265 "DAYSOFWEEK_MONDAY is SET",
266 "DAYSOFWEEK_MONDAY is NOT SET",
268 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY_tfs = {
269 "DAYSOFWEEK_TUESDAY is SET",
270 "DAYSOFWEEK_TUESDAY is NOT SET",
272 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs = {
273 "DAYSOFWEEK_WEDNESDAY is SET",
274 "DAYSOFWEEK_WEDNESDAY is NOT SET",
276 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs = {
277 "DAYSOFWEEK_THURSDAY is SET",
278 "DAYSOFWEEK_THURSDAY is NOT SET",
280 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs = {
281 "DAYSOFWEEK_FRIDAY is SET",
282 "DAYSOFWEEK_FRIDAY is NOT SET",
284 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs = {
285 "DAYSOFWEEK_SATURDAY is SET",
286 "DAYSOFWEEK_SATURDAY is NOT SET",
288 static const true_false_string atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs = {
289 "DAYSOFWEEK_SUNDAY is SET",
290 "DAYSOFWEEK_SUNDAY is NOT SET",
292 static int atsvc_dissect_element_JobInfo_job_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
293 static int atsvc_dissect_element_JobInfo_days_of_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
294 static int atsvc_dissect_element_JobInfo_days_of_week(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
295 static int atsvc_dissect_element_JobInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
296 static int atsvc_dissect_element_JobInfo_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
297 static int atsvc_dissect_element_JobInfo_command_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
298 static int atsvc_dissect_element_JobEnumInfo_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
299 static int atsvc_dissect_element_JobEnumInfo_job_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
300 static int atsvc_dissect_element_JobEnumInfo_days_of_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
301 static int atsvc_dissect_element_JobEnumInfo_days_of_week(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
302 static int atsvc_dissect_element_JobEnumInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
303 static int atsvc_dissect_element_JobEnumInfo_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
304 static int atsvc_dissect_element_JobEnumInfo_command_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
305 static int atsvc_dissect_element_enum_ctr_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
306 static int atsvc_dissect_element_enum_ctr_first_entry(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
307 static int atsvc_dissect_element_enum_ctr_first_entry_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
308 static int atsvc_dissect_element_enum_ctr_first_entry__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
309 static int atsvc_dissect_element_JobAdd_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
310 static int atsvc_dissect_element_JobAdd_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
311 static int atsvc_dissect_element_JobAdd_job_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
312 static int atsvc_dissect_element_JobAdd_job_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
313 static int atsvc_dissect_element_JobAdd_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
314 static int atsvc_dissect_element_JobAdd_job_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
315 static int atsvc_dissect_element_JobDel_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
316 static int atsvc_dissect_element_JobDel_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
317 static int atsvc_dissect_element_JobDel_min_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
318 static int atsvc_dissect_element_JobDel_max_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
319 static int atsvc_dissect_element_JobEnum_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
320 static int atsvc_dissect_element_JobEnum_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
321 static int atsvc_dissect_element_JobEnum_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
322 static int atsvc_dissect_element_JobEnum_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
323 static int atsvc_dissect_element_JobEnum_preferred_max_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
324 static int atsvc_dissect_element_JobEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
325 static int atsvc_dissect_element_JobEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
326 static int atsvc_dissect_element_JobEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
327 static int atsvc_dissect_element_JobEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
328 static int atsvc_dissect_element_JobGetInfo_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
329 static int atsvc_dissect_element_JobGetInfo_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
330 static int atsvc_dissect_element_JobGetInfo_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
331 static int atsvc_dissect_element_JobGetInfo_job_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
332 static int atsvc_dissect_element_JobGetInfo_job_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
333 static int atsvc_dissect_element_JobGetInfo_job_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_);
337 /* IDL: First = 0x00000001 , */
338 /* IDL: Second = 0x00000002 , */
339 /* IDL: Third = 0x00000004 , */
340 /* IDL: Fourth = 0x00000008 , */
341 /* IDL: Fifth = 0x00000010 , */
342 /* IDL: Sixth = 0x00000020 , */
343 /* IDL: Seventh = 0x00000040 , */
344 /* IDL: Eight = 0x00000080 , */
345 /* IDL: Ninth = 0x00000100 , */
346 /* IDL: Tenth = 0x00000200 , */
347 /* IDL: Eleventh = 0x00000400 , */
348 /* IDL: Twelfth = 0x00000800 , */
349 /* IDL: Thitteenth = 0x00001000 , */
350 /* IDL: Fourteenth = 0x00002000 , */
351 /* IDL: Fifteenth = 0x00004000 , */
352 /* IDL: Sixteenth = 0x00008000 , */
353 /* IDL: Seventeenth = 0x00010000 , */
354 /* IDL: Eighteenth = 0x00020000 , */
355 /* IDL: Ninteenth = 0x00040000 , */
356 /* IDL: Twentyth = 0x00080000 , */
357 /* IDL: Twentyfirst = 0x00100000 , */
358 /* IDL: Twentysecond = 0x00200000 , */
359 /* IDL: Twentythird = 0x00400000 , */
360 /* IDL: Twentyfourth = 0x00800000 , */
361 /* IDL: Twentyfifth = 0x01000000 , */
362 /* IDL: Twentysixth = 0x02000000 , */
363 /* IDL: Twentyseventh = 0x04000000 , */
364 /* IDL: Twentyeighth = 0x08000000 , */
365 /* IDL: Twentyninth = 0x10000000 , */
366 /* IDL: Thirtieth = 0x20000000 , */
367 /* IDL: Thirtyfirst = 0x40000000 , */
371 atsvc_dissect_bitmap_DaysOfMonth(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
373 proto_item *item = NULL;
374 proto_tree *tree = NULL;
380 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
381 tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfMonth);
384 offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
385 proto_item_append_text(item, ": ");
388 proto_item_append_text(item, "(No values set)");
390 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_First, tvb, offset-4, 4, flags);
391 if (flags&( 0x00000001 )){
392 proto_item_append_text(item, "First");
393 if (flags & (~( 0x00000001 )))
394 proto_item_append_text(item, ", ");
396 flags&=(~( 0x00000001 ));
398 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Second, tvb, offset-4, 4, flags);
399 if (flags&( 0x00000002 )){
400 proto_item_append_text(item, "Second");
401 if (flags & (~( 0x00000002 )))
402 proto_item_append_text(item, ", ");
404 flags&=(~( 0x00000002 ));
406 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Third, tvb, offset-4, 4, flags);
407 if (flags&( 0x00000004 )){
408 proto_item_append_text(item, "Third");
409 if (flags & (~( 0x00000004 )))
410 proto_item_append_text(item, ", ");
412 flags&=(~( 0x00000004 ));
414 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Fourth, tvb, offset-4, 4, flags);
415 if (flags&( 0x00000008 )){
416 proto_item_append_text(item, "Fourth");
417 if (flags & (~( 0x00000008 )))
418 proto_item_append_text(item, ", ");
420 flags&=(~( 0x00000008 ));
422 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Fifth, tvb, offset-4, 4, flags);
423 if (flags&( 0x00000010 )){
424 proto_item_append_text(item, "Fifth");
425 if (flags & (~( 0x00000010 )))
426 proto_item_append_text(item, ", ");
428 flags&=(~( 0x00000010 ));
430 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Sixth, tvb, offset-4, 4, flags);
431 if (flags&( 0x00000020 )){
432 proto_item_append_text(item, "Sixth");
433 if (flags & (~( 0x00000020 )))
434 proto_item_append_text(item, ", ");
436 flags&=(~( 0x00000020 ));
438 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Seventh, tvb, offset-4, 4, flags);
439 if (flags&( 0x00000040 )){
440 proto_item_append_text(item, "Seventh");
441 if (flags & (~( 0x00000040 )))
442 proto_item_append_text(item, ", ");
444 flags&=(~( 0x00000040 ));
446 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Eight, tvb, offset-4, 4, flags);
447 if (flags&( 0x00000080 )){
448 proto_item_append_text(item, "Eight");
449 if (flags & (~( 0x00000080 )))
450 proto_item_append_text(item, ", ");
452 flags&=(~( 0x00000080 ));
454 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Ninth, tvb, offset-4, 4, flags);
455 if (flags&( 0x00000100 )){
456 proto_item_append_text(item, "Ninth");
457 if (flags & (~( 0x00000100 )))
458 proto_item_append_text(item, ", ");
460 flags&=(~( 0x00000100 ));
462 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Tenth, tvb, offset-4, 4, flags);
463 if (flags&( 0x00000200 )){
464 proto_item_append_text(item, "Tenth");
465 if (flags & (~( 0x00000200 )))
466 proto_item_append_text(item, ", ");
468 flags&=(~( 0x00000200 ));
470 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Eleventh, tvb, offset-4, 4, flags);
471 if (flags&( 0x00000400 )){
472 proto_item_append_text(item, "Eleventh");
473 if (flags & (~( 0x00000400 )))
474 proto_item_append_text(item, ", ");
476 flags&=(~( 0x00000400 ));
478 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twelfth, tvb, offset-4, 4, flags);
479 if (flags&( 0x00000800 )){
480 proto_item_append_text(item, "Twelfth");
481 if (flags & (~( 0x00000800 )))
482 proto_item_append_text(item, ", ");
484 flags&=(~( 0x00000800 ));
486 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Thitteenth, tvb, offset-4, 4, flags);
487 if (flags&( 0x00001000 )){
488 proto_item_append_text(item, "Thitteenth");
489 if (flags & (~( 0x00001000 )))
490 proto_item_append_text(item, ", ");
492 flags&=(~( 0x00001000 ));
494 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Fourteenth, tvb, offset-4, 4, flags);
495 if (flags&( 0x00002000 )){
496 proto_item_append_text(item, "Fourteenth");
497 if (flags & (~( 0x00002000 )))
498 proto_item_append_text(item, ", ");
500 flags&=(~( 0x00002000 ));
502 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Fifteenth, tvb, offset-4, 4, flags);
503 if (flags&( 0x00004000 )){
504 proto_item_append_text(item, "Fifteenth");
505 if (flags & (~( 0x00004000 )))
506 proto_item_append_text(item, ", ");
508 flags&=(~( 0x00004000 ));
510 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Sixteenth, tvb, offset-4, 4, flags);
511 if (flags&( 0x00008000 )){
512 proto_item_append_text(item, "Sixteenth");
513 if (flags & (~( 0x00008000 )))
514 proto_item_append_text(item, ", ");
516 flags&=(~( 0x00008000 ));
518 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Seventeenth, tvb, offset-4, 4, flags);
519 if (flags&( 0x00010000 )){
520 proto_item_append_text(item, "Seventeenth");
521 if (flags & (~( 0x00010000 )))
522 proto_item_append_text(item, ", ");
524 flags&=(~( 0x00010000 ));
526 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Eighteenth, tvb, offset-4, 4, flags);
527 if (flags&( 0x00020000 )){
528 proto_item_append_text(item, "Eighteenth");
529 if (flags & (~( 0x00020000 )))
530 proto_item_append_text(item, ", ");
532 flags&=(~( 0x00020000 ));
534 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Ninteenth, tvb, offset-4, 4, flags);
535 if (flags&( 0x00040000 )){
536 proto_item_append_text(item, "Ninteenth");
537 if (flags & (~( 0x00040000 )))
538 proto_item_append_text(item, ", ");
540 flags&=(~( 0x00040000 ));
542 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyth, tvb, offset-4, 4, flags);
543 if (flags&( 0x00080000 )){
544 proto_item_append_text(item, "Twentyth");
545 if (flags & (~( 0x00080000 )))
546 proto_item_append_text(item, ", ");
548 flags&=(~( 0x00080000 ));
550 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyfirst, tvb, offset-4, 4, flags);
551 if (flags&( 0x00100000 )){
552 proto_item_append_text(item, "Twentyfirst");
553 if (flags & (~( 0x00100000 )))
554 proto_item_append_text(item, ", ");
556 flags&=(~( 0x00100000 ));
558 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentysecond, tvb, offset-4, 4, flags);
559 if (flags&( 0x00200000 )){
560 proto_item_append_text(item, "Twentysecond");
561 if (flags & (~( 0x00200000 )))
562 proto_item_append_text(item, ", ");
564 flags&=(~( 0x00200000 ));
566 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentythird, tvb, offset-4, 4, flags);
567 if (flags&( 0x00400000 )){
568 proto_item_append_text(item, "Twentythird");
569 if (flags & (~( 0x00400000 )))
570 proto_item_append_text(item, ", ");
572 flags&=(~( 0x00400000 ));
574 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyfourth, tvb, offset-4, 4, flags);
575 if (flags&( 0x00800000 )){
576 proto_item_append_text(item, "Twentyfourth");
577 if (flags & (~( 0x00800000 )))
578 proto_item_append_text(item, ", ");
580 flags&=(~( 0x00800000 ));
582 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyfifth, tvb, offset-4, 4, flags);
583 if (flags&( 0x01000000 )){
584 proto_item_append_text(item, "Twentyfifth");
585 if (flags & (~( 0x01000000 )))
586 proto_item_append_text(item, ", ");
588 flags&=(~( 0x01000000 ));
590 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentysixth, tvb, offset-4, 4, flags);
591 if (flags&( 0x02000000 )){
592 proto_item_append_text(item, "Twentysixth");
593 if (flags & (~( 0x02000000 )))
594 proto_item_append_text(item, ", ");
596 flags&=(~( 0x02000000 ));
598 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyseventh, tvb, offset-4, 4, flags);
599 if (flags&( 0x04000000 )){
600 proto_item_append_text(item, "Twentyseventh");
601 if (flags & (~( 0x04000000 )))
602 proto_item_append_text(item, ", ");
604 flags&=(~( 0x04000000 ));
606 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyeighth, tvb, offset-4, 4, flags);
607 if (flags&( 0x08000000 )){
608 proto_item_append_text(item, "Twentyeighth");
609 if (flags & (~( 0x08000000 )))
610 proto_item_append_text(item, ", ");
612 flags&=(~( 0x08000000 ));
614 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Twentyninth, tvb, offset-4, 4, flags);
615 if (flags&( 0x10000000 )){
616 proto_item_append_text(item, "Twentyninth");
617 if (flags & (~( 0x10000000 )))
618 proto_item_append_text(item, ", ");
620 flags&=(~( 0x10000000 ));
622 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Thirtieth, tvb, offset-4, 4, flags);
623 if (flags&( 0x20000000 )){
624 proto_item_append_text(item, "Thirtieth");
625 if (flags & (~( 0x20000000 )))
626 proto_item_append_text(item, ", ");
628 flags&=(~( 0x20000000 ));
630 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst, tvb, offset-4, 4, flags);
631 if (flags&( 0x40000000 )){
632 proto_item_append_text(item, "Thirtyfirst");
633 if (flags & (~( 0x40000000 )))
634 proto_item_append_text(item, ", ");
636 flags&=(~( 0x40000000 ));
639 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
647 /* IDL: JOB_RUN_PERIODICALLY = 0x01 , */
648 /* IDL: JOB_EXEC_ERROR = 0x02 , */
649 /* IDL: JOB_RUNS_TODAY = 0x04 , */
650 /* IDL: JOB_ADD_CURRENT_DATE = 0x08 , */
651 /* IDL: JOB_NONINTERACTIVE = 0x10 , */
655 atsvc_dissect_bitmap_Flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
657 proto_item *item = NULL;
658 proto_tree *tree = NULL;
663 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE);
664 tree = proto_item_add_subtree(item,ett_atsvc_atsvc_Flags);
667 offset = dissect_ndr_uint8(tvb, offset, pinfo, NULL, drep, -1, &flags);
668 proto_item_append_text(item, ": ");
671 proto_item_append_text(item, "(No values set)");
673 proto_tree_add_boolean(tree, hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY, tvb, offset-1, 1, flags);
675 proto_item_append_text(item, "JOB_RUN_PERIODICALLY");
676 if (flags & (~( 0x01 )))
677 proto_item_append_text(item, ", ");
681 proto_tree_add_boolean(tree, hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR, tvb, offset-1, 1, flags);
683 proto_item_append_text(item, "JOB_EXEC_ERROR");
684 if (flags & (~( 0x02 )))
685 proto_item_append_text(item, ", ");
689 proto_tree_add_boolean(tree, hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY, tvb, offset-1, 1, flags);
691 proto_item_append_text(item, "JOB_RUNS_TODAY");
692 if (flags & (~( 0x04 )))
693 proto_item_append_text(item, ", ");
697 proto_tree_add_boolean(tree, hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE, tvb, offset-1, 1, flags);
699 proto_item_append_text(item, "JOB_ADD_CURRENT_DATE");
700 if (flags & (~( 0x08 )))
701 proto_item_append_text(item, ", ");
705 proto_tree_add_boolean(tree, hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE, tvb, offset-1, 1, flags);
707 proto_item_append_text(item, "JOB_NONINTERACTIVE");
708 if (flags & (~( 0x10 )))
709 proto_item_append_text(item, ", ");
714 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
722 /* IDL: DAYSOFWEEK_MONDAY = 0x01 , */
723 /* IDL: DAYSOFWEEK_TUESDAY = 0x02 , */
724 /* IDL: DAYSOFWEEK_WEDNESDAY = 0x04 , */
725 /* IDL: DAYSOFWEEK_THURSDAY = 0x08 , */
726 /* IDL: DAYSOFWEEK_FRIDAY = 0x10 , */
727 /* IDL: DAYSOFWEEK_SATURDAY = 0x20 , */
728 /* IDL: DAYSOFWEEK_SUNDAY = 0x40 , */
732 atsvc_dissect_bitmap_DaysOfWeek(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
734 proto_item *item = NULL;
735 proto_tree *tree = NULL;
740 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, 1, TRUE);
741 tree = proto_item_add_subtree(item,ett_atsvc_atsvc_DaysOfWeek);
744 offset = dissect_ndr_uint8(tvb, offset, pinfo, NULL, drep, -1, &flags);
745 proto_item_append_text(item, ": ");
748 proto_item_append_text(item, "(No values set)");
750 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY, tvb, offset-1, 1, flags);
752 proto_item_append_text(item, "DAYSOFWEEK_MONDAY");
753 if (flags & (~( 0x01 )))
754 proto_item_append_text(item, ", ");
758 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY, tvb, offset-1, 1, flags);
760 proto_item_append_text(item, "DAYSOFWEEK_TUESDAY");
761 if (flags & (~( 0x02 )))
762 proto_item_append_text(item, ", ");
766 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY, tvb, offset-1, 1, flags);
768 proto_item_append_text(item, "DAYSOFWEEK_WEDNESDAY");
769 if (flags & (~( 0x04 )))
770 proto_item_append_text(item, ", ");
774 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY, tvb, offset-1, 1, flags);
776 proto_item_append_text(item, "DAYSOFWEEK_THURSDAY");
777 if (flags & (~( 0x08 )))
778 proto_item_append_text(item, ", ");
782 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY, tvb, offset-1, 1, flags);
784 proto_item_append_text(item, "DAYSOFWEEK_FRIDAY");
785 if (flags & (~( 0x10 )))
786 proto_item_append_text(item, ", ");
790 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY, tvb, offset-1, 1, flags);
792 proto_item_append_text(item, "DAYSOFWEEK_SATURDAY");
793 if (flags & (~( 0x20 )))
794 proto_item_append_text(item, ", ");
798 proto_tree_add_boolean(tree, hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY, tvb, offset-1, 1, flags);
800 proto_item_append_text(item, "DAYSOFWEEK_SUNDAY");
801 if (flags & (~( 0x40 )))
802 proto_item_append_text(item, ", ");
807 proto_item_append_text(item, "Unknown bitmap value 0x%x", flags);
815 /* IDL: uint32 job_time; */
816 /* IDL: atsvc_DaysOfMonth days_of_month; */
817 /* IDL: atsvc_DaysOfWeek days_of_week; */
818 /* IDL: atsvc_Flags flags; */
819 /* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */
823 atsvc_dissect_element_JobInfo_job_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
825 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobInfo_job_time, 0);
831 atsvc_dissect_element_JobInfo_days_of_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
833 offset = atsvc_dissect_bitmap_DaysOfMonth(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobInfo_days_of_month, 0);
839 atsvc_dissect_element_JobInfo_days_of_week(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
841 offset = atsvc_dissect_bitmap_DaysOfWeek(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobInfo_days_of_week, 0);
847 atsvc_dissect_element_JobInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
849 offset = atsvc_dissect_bitmap_Flags(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobInfo_flags, 0);
855 atsvc_dissect_element_JobInfo_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
857 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobInfo_command_, NDR_POINTER_UNIQUE, "Pointer to Command (uint16)",hf_atsvc_atsvc_JobInfo_command);
863 atsvc_dissect_element_JobInfo_command_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
867 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_atsvc_JobInfo_command, FALSE, &data);
868 proto_item_append_text(tree, ": %s", data);
874 atsvc_dissect_struct_JobInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
876 proto_item *item = NULL;
877 proto_tree *tree = NULL;
885 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
886 tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobInfo);
889 offset = atsvc_dissect_element_JobInfo_job_time(tvb, offset, pinfo, tree, drep);
891 offset = atsvc_dissect_element_JobInfo_days_of_month(tvb, offset, pinfo, tree, drep);
893 offset = atsvc_dissect_element_JobInfo_days_of_week(tvb, offset, pinfo, tree, drep);
895 offset = atsvc_dissect_element_JobInfo_flags(tvb, offset, pinfo, tree, drep);
897 offset = atsvc_dissect_element_JobInfo_command(tvb, offset, pinfo, tree, drep);
900 proto_item_set_len(item, offset-old_offset);
907 /* IDL: uint32 job_id; */
908 /* IDL: uint32 job_time; */
909 /* IDL: atsvc_DaysOfMonth days_of_month; */
910 /* IDL: atsvc_DaysOfWeek days_of_week; */
911 /* IDL: atsvc_Flags flags; */
912 /* IDL: [charset(UTF16)] [unique(1)] uint16 *command; */
916 atsvc_dissect_element_JobEnumInfo_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
918 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_job_id, 0);
924 atsvc_dissect_element_JobEnumInfo_job_time(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
926 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnumInfo_job_time, 0);
932 atsvc_dissect_element_JobEnumInfo_days_of_month(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
934 offset = atsvc_dissect_bitmap_DaysOfMonth(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnumInfo_days_of_month, 0);
940 atsvc_dissect_element_JobEnumInfo_days_of_week(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
942 offset = atsvc_dissect_bitmap_DaysOfWeek(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnumInfo_days_of_week, 0);
948 atsvc_dissect_element_JobEnumInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
950 offset = atsvc_dissect_bitmap_Flags(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnumInfo_flags, 0);
956 atsvc_dissect_element_JobEnumInfo_command(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
958 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobEnumInfo_command_, NDR_POINTER_UNIQUE, "Pointer to Command (uint16)",hf_atsvc_atsvc_JobEnumInfo_command);
964 atsvc_dissect_element_JobEnumInfo_command_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
968 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_atsvc_JobEnumInfo_command, FALSE, &data);
969 proto_item_append_text(tree, ": %s", data);
975 atsvc_dissect_struct_JobEnumInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
977 proto_item *item = NULL;
978 proto_tree *tree = NULL;
986 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
987 tree = proto_item_add_subtree(item, ett_atsvc_atsvc_JobEnumInfo);
990 offset = atsvc_dissect_element_JobEnumInfo_job_id(tvb, offset, pinfo, tree, drep);
992 offset = atsvc_dissect_element_JobEnumInfo_job_time(tvb, offset, pinfo, tree, drep);
994 offset = atsvc_dissect_element_JobEnumInfo_days_of_month(tvb, offset, pinfo, tree, drep);
996 offset = atsvc_dissect_element_JobEnumInfo_days_of_week(tvb, offset, pinfo, tree, drep);
998 offset = atsvc_dissect_element_JobEnumInfo_flags(tvb, offset, pinfo, tree, drep);
1000 offset = atsvc_dissect_element_JobEnumInfo_command(tvb, offset, pinfo, tree, drep);
1003 proto_item_set_len(item, offset-old_offset);
1010 /* IDL: uint32 entries_read; */
1011 /* IDL: [size_is(entries_read)] [unique(1)] atsvc_JobEnumInfo *first_entry; */
1015 atsvc_dissect_element_enum_ctr_entries_read(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1017 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_enum_ctr_entries_read, 0);
1023 atsvc_dissect_element_enum_ctr_first_entry(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1025 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_enum_ctr_first_entry_, NDR_POINTER_UNIQUE, "Pointer to First Entry (atsvc_JobEnumInfo)",hf_atsvc_atsvc_enum_ctr_first_entry);
1031 atsvc_dissect_element_enum_ctr_first_entry_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1033 offset = dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_enum_ctr_first_entry__);
1039 atsvc_dissect_element_enum_ctr_first_entry__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1041 offset = atsvc_dissect_struct_JobEnumInfo(tvb,offset,pinfo,tree,drep,hf_atsvc_atsvc_enum_ctr_first_entry,0);
1047 atsvc_dissect_struct_enum_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)
1049 proto_item *item = NULL;
1050 proto_tree *tree = NULL;
1055 old_offset = offset;
1058 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1059 tree = proto_item_add_subtree(item, ett_atsvc_atsvc_enum_ctr);
1062 offset = atsvc_dissect_element_enum_ctr_entries_read(tvb, offset, pinfo, tree, drep);
1064 offset = atsvc_dissect_element_enum_ctr_first_entry(tvb, offset, pinfo, tree, drep);
1067 proto_item_set_len(item, offset-old_offset);
1073 atsvc_dissect_element_JobAdd_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1075 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobAdd_servername_, NDR_POINTER_UNIQUE, "Pointer to Servername (uint16)",hf_atsvc_servername);
1081 atsvc_dissect_element_JobAdd_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1085 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_servername, FALSE, &data);
1086 proto_item_append_text(tree, ": %s", data);
1092 atsvc_dissect_element_JobAdd_job_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1094 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobAdd_job_info_, NDR_POINTER_REF, "Pointer to Job Info (atsvc_JobInfo)",hf_atsvc_job_info);
1100 atsvc_dissect_element_JobAdd_job_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1102 offset = atsvc_dissect_struct_JobInfo(tvb,offset,pinfo,tree,drep,hf_atsvc_job_info,0);
1108 atsvc_dissect_element_JobAdd_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1110 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobAdd_job_id_, NDR_POINTER_REF, "Pointer to Job Id (uint32)",hf_atsvc_job_id);
1116 atsvc_dissect_element_JobAdd_job_id_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1118 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_job_id, 0);
1123 /* IDL: NTSTATUS atsvc_JobAdd( */
1124 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */
1125 /* IDL: [in] [ref] atsvc_JobInfo *job_info, */
1126 /* IDL: [out] [ref] uint32 *job_id */
1130 atsvc_dissect_JobAdd_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1134 pinfo->dcerpc_procedure_name="JobAdd";
1135 offset = atsvc_dissect_element_JobAdd_job_id(tvb, offset, pinfo, tree, drep);
1136 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1138 offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_atsvc_status, &status);
1140 if (status != 0 && check_col(pinfo->cinfo, COL_INFO))
1141 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x"));
1147 atsvc_dissect_JobAdd_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1149 pinfo->dcerpc_procedure_name="JobAdd";
1150 offset = atsvc_dissect_element_JobAdd_servername(tvb, offset, pinfo, tree, drep);
1151 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1152 offset = atsvc_dissect_element_JobAdd_job_info(tvb, offset, pinfo, tree, drep);
1153 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1158 atsvc_dissect_element_JobDel_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1160 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobDel_servername_, NDR_POINTER_UNIQUE, "Pointer to Servername (uint16)",hf_atsvc_servername);
1166 atsvc_dissect_element_JobDel_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1170 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_servername, FALSE, &data);
1171 proto_item_append_text(tree, ": %s", data);
1177 atsvc_dissect_element_JobDel_min_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1179 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobDel_min_job_id, 0);
1185 atsvc_dissect_element_JobDel_max_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1187 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobDel_max_job_id, 0);
1192 /* IDL: NTSTATUS atsvc_JobDel( */
1193 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */
1194 /* IDL: [in] uint32 min_job_id, */
1195 /* IDL: [in] uint32 max_job_id */
1199 atsvc_dissect_JobDel_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1203 pinfo->dcerpc_procedure_name="JobDel";
1204 offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_atsvc_status, &status);
1206 if (status != 0 && check_col(pinfo->cinfo, COL_INFO))
1207 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x"));
1213 atsvc_dissect_JobDel_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1215 pinfo->dcerpc_procedure_name="JobDel";
1216 offset = atsvc_dissect_element_JobDel_servername(tvb, offset, pinfo, tree, drep);
1217 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1218 offset = atsvc_dissect_element_JobDel_min_job_id(tvb, offset, pinfo, tree, drep);
1219 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1220 offset = atsvc_dissect_element_JobDel_max_job_id(tvb, offset, pinfo, tree, drep);
1221 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1226 atsvc_dissect_element_JobEnum_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1228 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobEnum_servername_, NDR_POINTER_UNIQUE, "Pointer to Servername (uint16)",hf_atsvc_servername);
1234 atsvc_dissect_element_JobEnum_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1238 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_servername, FALSE, &data);
1239 proto_item_append_text(tree, ": %s", data);
1245 atsvc_dissect_element_JobEnum_ctr(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1247 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobEnum_ctr_, NDR_POINTER_REF, "Pointer to Ctr (atsvc_enum_ctr)",hf_atsvc_atsvc_JobEnum_ctr);
1253 atsvc_dissect_element_JobEnum_ctr_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1255 offset = atsvc_dissect_struct_enum_ctr(tvb,offset,pinfo,tree,drep,hf_atsvc_atsvc_JobEnum_ctr,0);
1261 atsvc_dissect_element_JobEnum_preferred_max_len(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1263 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnum_preferred_max_len, 0);
1269 atsvc_dissect_element_JobEnum_total_entries(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1271 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobEnum_total_entries_, NDR_POINTER_REF, "Pointer to Total Entries (uint32)",hf_atsvc_atsvc_JobEnum_total_entries);
1277 atsvc_dissect_element_JobEnum_total_entries_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1279 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnum_total_entries, 0);
1285 atsvc_dissect_element_JobEnum_resume_handle(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1287 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobEnum_resume_handle_, NDR_POINTER_UNIQUE, "Pointer to Resume Handle (uint32)",hf_atsvc_atsvc_JobEnum_resume_handle);
1293 atsvc_dissect_element_JobEnum_resume_handle_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1295 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_atsvc_JobEnum_resume_handle, 0);
1300 /* IDL: NTSTATUS atsvc_JobEnum( */
1301 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */
1302 /* IDL: [out] [in] [ref] atsvc_enum_ctr *ctr, */
1303 /* IDL: [in] uint32 preferred_max_len, */
1304 /* IDL: [out] [ref] uint32 *total_entries, */
1305 /* IDL: [out] [in] [unique(1)] uint32 *resume_handle */
1309 atsvc_dissect_JobEnum_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1313 pinfo->dcerpc_procedure_name="JobEnum";
1314 offset = atsvc_dissect_element_JobEnum_ctr(tvb, offset, pinfo, tree, drep);
1315 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1317 offset = atsvc_dissect_element_JobEnum_total_entries(tvb, offset, pinfo, tree, drep);
1318 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1320 offset = atsvc_dissect_element_JobEnum_resume_handle(tvb, offset, pinfo, tree, drep);
1321 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1323 offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_atsvc_status, &status);
1325 if (status != 0 && check_col(pinfo->cinfo, COL_INFO))
1326 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x"));
1332 atsvc_dissect_JobEnum_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1334 pinfo->dcerpc_procedure_name="JobEnum";
1335 offset = atsvc_dissect_element_JobEnum_servername(tvb, offset, pinfo, tree, drep);
1336 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1337 offset = atsvc_dissect_element_JobEnum_ctr(tvb, offset, pinfo, tree, drep);
1338 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1339 offset = atsvc_dissect_element_JobEnum_preferred_max_len(tvb, offset, pinfo, tree, drep);
1340 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1341 offset = atsvc_dissect_element_JobEnum_resume_handle(tvb, offset, pinfo, tree, drep);
1342 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1347 atsvc_dissect_element_JobGetInfo_servername(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1349 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobGetInfo_servername_, NDR_POINTER_UNIQUE, "Pointer to Servername (uint16)",hf_atsvc_servername);
1355 atsvc_dissect_element_JobGetInfo_servername_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1359 offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, sizeof(guint16), hf_atsvc_servername, FALSE, &data);
1360 proto_item_append_text(tree, ": %s", data);
1366 atsvc_dissect_element_JobGetInfo_job_id(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1368 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_atsvc_job_id, 0);
1374 atsvc_dissect_element_JobGetInfo_job_info(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1376 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobGetInfo_job_info_, NDR_POINTER_REF, "Pointer to Job Info (atsvc_JobInfo)",hf_atsvc_job_info);
1382 atsvc_dissect_element_JobGetInfo_job_info_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1384 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, atsvc_dissect_element_JobGetInfo_job_info__, NDR_POINTER_REF, "Pointer to Job Info (atsvc_JobInfo)",hf_atsvc_job_info);
1390 atsvc_dissect_element_JobGetInfo_job_info__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1392 offset = atsvc_dissect_struct_JobInfo(tvb,offset,pinfo,tree,drep,hf_atsvc_job_info,0);
1397 /* IDL: NTSTATUS atsvc_JobGetInfo( */
1398 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *servername, */
1399 /* IDL: [in] uint32 job_id, */
1400 /* IDL: [out] [ref] atsvc_JobInfo **job_info */
1404 atsvc_dissect_JobGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1408 pinfo->dcerpc_procedure_name="JobGetInfo";
1409 offset = atsvc_dissect_element_JobGetInfo_job_info(tvb, offset, pinfo, tree, drep);
1410 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1412 offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_atsvc_status, &status);
1414 if (status != 0 && check_col(pinfo->cinfo, COL_INFO))
1415 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x"));
1421 atsvc_dissect_JobGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1423 pinfo->dcerpc_procedure_name="JobGetInfo";
1424 offset = atsvc_dissect_element_JobGetInfo_servername(tvb, offset, pinfo, tree, drep);
1425 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1426 offset = atsvc_dissect_element_JobGetInfo_job_id(tvb, offset, pinfo, tree, drep);
1427 offset = dissect_deferred_pointers(pinfo, tvb, offset, drep);
1432 static dcerpc_sub_dissector atsvc_dissectors[] = {
1434 atsvc_dissect_JobAdd_request, atsvc_dissect_JobAdd_response},
1436 atsvc_dissect_JobDel_request, atsvc_dissect_JobDel_response},
1438 atsvc_dissect_JobEnum_request, atsvc_dissect_JobEnum_response},
1440 atsvc_dissect_JobGetInfo_request, atsvc_dissect_JobGetInfo_response},
1441 { 0, NULL, NULL, NULL }
1444 void proto_register_dcerpc_atsvc(void)
1446 static hf_register_info hf[] = {
1447 { &hf_atsvc_atsvc_Flags_JOB_NONINTERACTIVE,
1448 { "Job Noninteractive", "atsvc.Flags.JOB_NONINTERACTIVE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_NONINTERACTIVE_tfs), ( 0x10 ), NULL, HFILL }},
1449 { &hf_atsvc_atsvc_DaysOfMonth_Fourteenth,
1450 { "Fourteenth", "atsvc.DaysOfMonth.Fourteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourteenth_tfs), ( 0x00002000 ), NULL, HFILL }},
1451 { &hf_atsvc_atsvc_Flags_JOB_RUN_PERIODICALLY,
1452 { "Job Run Periodically", "atsvc.Flags.JOB_RUN_PERIODICALLY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUN_PERIODICALLY_tfs), ( 0x01 ), NULL, HFILL }},
1453 { &hf_atsvc_atsvc_enum_ctr_entries_read,
1454 { "Entries Read", "atsvc.enum_ctr.entries_read", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1455 { &hf_atsvc_atsvc_DaysOfMonth_Twentyeighth,
1456 { "Twentyeighth", "atsvc.DaysOfMonth.Twentyeighth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyeighth_tfs), ( 0x08000000 ), NULL, HFILL }},
1457 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY,
1458 { "Daysofweek Monday", "atsvc.DaysOfWeek.DAYSOFWEEK_MONDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_MONDAY_tfs), ( 0x01 ), NULL, HFILL }},
1459 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY,
1460 { "Daysofweek Sunday", "atsvc.DaysOfWeek.DAYSOFWEEK_SUNDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SUNDAY_tfs), ( 0x40 ), NULL, HFILL }},
1461 { &hf_atsvc_atsvc_DaysOfMonth_Second,
1462 { "Second", "atsvc.DaysOfMonth.Second", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Second_tfs), ( 0x00000002 ), NULL, HFILL }},
1463 { &hf_atsvc_atsvc_DaysOfMonth_Twentyth,
1464 { "Twentyth", "atsvc.DaysOfMonth.Twentyth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyth_tfs), ( 0x00080000 ), NULL, HFILL }},
1465 { &hf_atsvc_atsvc_DaysOfMonth_Ninth,
1466 { "Ninth", "atsvc.DaysOfMonth.Ninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninth_tfs), ( 0x00000100 ), NULL, HFILL }},
1467 { &hf_atsvc_servername,
1468 { "Server", "atsvc.server", FT_STRING, BASE_NONE, NULL, 0, "Name of the server", HFILL }},
1469 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY,
1470 { "Daysofweek Wednesday", "atsvc.DaysOfWeek.DAYSOFWEEK_WEDNESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_WEDNESDAY_tfs), ( 0x04 ), NULL, HFILL }},
1471 { &hf_atsvc_atsvc_DaysOfMonth_Twentyninth,
1472 { "Twentyninth", "atsvc.DaysOfMonth.Twentyninth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyninth_tfs), ( 0x10000000 ), NULL, HFILL }},
1473 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY,
1474 { "Daysofweek Tuesday", "atsvc.DaysOfWeek.DAYSOFWEEK_TUESDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_TUESDAY_tfs), ( 0x02 ), NULL, HFILL }},
1475 { &hf_atsvc_atsvc_DaysOfMonth_Tenth,
1476 { "Tenth", "atsvc.DaysOfMonth.Tenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Tenth_tfs), ( 0x00000200 ), NULL, HFILL }},
1477 { &hf_atsvc_atsvc_JobEnum_resume_handle,
1478 { "Resume Handle", "atsvc.JobEnum.resume_handle", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1479 { &hf_atsvc_atsvc_DaysOfMonth_Twentyseventh,
1480 { "Twentyseventh", "atsvc.DaysOfMonth.Twentyseventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyseventh_tfs), ( 0x04000000 ), NULL, HFILL }},
1481 { &hf_atsvc_atsvc_DaysOfMonth_Fifteenth,
1482 { "Fifteenth", "atsvc.DaysOfMonth.Fifteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifteenth_tfs), ( 0x00004000 ), NULL, HFILL }},
1483 { &hf_atsvc_atsvc_JobInfo_command,
1484 { "Command", "atsvc.JobInfo.command", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
1485 { &hf_atsvc_atsvc_DaysOfMonth_Ninteenth,
1486 { "Ninteenth", "atsvc.DaysOfMonth.Ninteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Ninteenth_tfs), ( 0x00040000 ), NULL, HFILL }},
1487 { &hf_atsvc_atsvc_DaysOfMonth_Seventh,
1488 { "Seventh", "atsvc.DaysOfMonth.Seventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventh_tfs), ( 0x00000040 ), NULL, HFILL }},
1489 { &hf_atsvc_atsvc_DaysOfMonth_Twentyfourth,
1490 { "Twentyfourth", "atsvc.DaysOfMonth.Twentyfourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfourth_tfs), ( 0x00800000 ), NULL, HFILL }},
1491 { &hf_atsvc_atsvc_DaysOfMonth_Seventeenth,
1492 { "Seventeenth", "atsvc.DaysOfMonth.Seventeenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Seventeenth_tfs), ( 0x00010000 ), NULL, HFILL }},
1494 { "Operation", "atsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
1495 { &hf_atsvc_atsvc_DaysOfMonth_Twelfth,
1496 { "Twelfth", "atsvc.DaysOfMonth.Twelfth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twelfth_tfs), ( 0x00000800 ), NULL, HFILL }},
1497 { &hf_atsvc_atsvc_DaysOfMonth_Eighteenth,
1498 { "Eighteenth", "atsvc.DaysOfMonth.Eighteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eighteenth_tfs), ( 0x00020000 ), NULL, HFILL }},
1499 { &hf_atsvc_atsvc_Flags_JOB_RUNS_TODAY,
1500 { "Job Runs Today", "atsvc.Flags.JOB_RUNS_TODAY", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_RUNS_TODAY_tfs), ( 0x04 ), NULL, HFILL }},
1501 { &hf_atsvc_atsvc_JobEnum_total_entries,
1502 { "Total Entries", "atsvc.JobEnum.total_entries", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1503 { &hf_atsvc_atsvc_enum_ctr_first_entry,
1504 { "First Entry", "atsvc.enum_ctr.first_entry", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
1505 { &hf_atsvc_atsvc_JobEnumInfo_job_time,
1506 { "Job Time", "atsvc.JobEnumInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1507 { &hf_atsvc_atsvc_DaysOfMonth_Thirtyfirst,
1508 { "Thirtyfirst", "atsvc.DaysOfMonth.Thirtyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtyfirst_tfs), ( 0x40000000 ), NULL, HFILL }},
1509 { &hf_atsvc_atsvc_DaysOfMonth_Third,
1510 { "Third", "atsvc.DaysOfMonth.Third", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Third_tfs), ( 0x00000004 ), NULL, HFILL }},
1511 { &hf_atsvc_atsvc_JobEnum_preferred_max_len,
1512 { "Preferred Max Len", "atsvc.JobEnum.preferred_max_len", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1513 { &hf_atsvc_atsvc_JobEnumInfo_days_of_month,
1514 { "Days Of Month", "atsvc.JobEnumInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
1515 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY,
1516 { "Daysofweek Thursday", "atsvc.DaysOfWeek.DAYSOFWEEK_THURSDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_THURSDAY_tfs), ( 0x08 ), NULL, HFILL }},
1517 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY,
1518 { "Daysofweek Friday", "atsvc.DaysOfWeek.DAYSOFWEEK_FRIDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_FRIDAY_tfs), ( 0x10 ), NULL, HFILL }},
1519 { &hf_atsvc_atsvc_DaysOfMonth_Twentythird,
1520 { "Twentythird", "atsvc.DaysOfMonth.Twentythird", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentythird_tfs), ( 0x00400000 ), NULL, HFILL }},
1521 { &hf_atsvc_atsvc_JobInfo_job_time,
1522 { "Job Time", "atsvc.JobInfo.job_time", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1524 { "NT Error", "atsvc.status", FT_UINT32, BASE_HEX, VALS(NT_errors), 0, NULL, HFILL }},
1525 { &hf_atsvc_atsvc_JobInfo_flags,
1526 { "Flags", "atsvc.JobInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }},
1527 { &hf_atsvc_atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY,
1528 { "Daysofweek Saturday", "atsvc.DaysOfWeek.DAYSOFWEEK_SATURDAY", FT_BOOLEAN, 8, TFS(&atsvc_DaysOfWeek_DAYSOFWEEK_SATURDAY_tfs), ( 0x20 ), NULL, HFILL }},
1529 { &hf_atsvc_atsvc_DaysOfMonth_Sixth,
1530 { "Sixth", "atsvc.DaysOfMonth.Sixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixth_tfs), ( 0x00000020 ), NULL, HFILL }},
1532 { "Job Id", "atsvc.job_id", FT_UINT32, BASE_DEC, NULL, 0, "Identifier of the scheduled job", HFILL }},
1533 { &hf_atsvc_atsvc_DaysOfMonth_Twentysixth,
1534 { "Twentysixth", "atsvc.DaysOfMonth.Twentysixth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysixth_tfs), ( 0x02000000 ), NULL, HFILL }},
1535 { &hf_atsvc_atsvc_DaysOfMonth_Fifth,
1536 { "Fifth", "atsvc.DaysOfMonth.Fifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fifth_tfs), ( 0x00000010 ), NULL, HFILL }},
1537 { &hf_atsvc_atsvc_DaysOfMonth_Fourth,
1538 { "Fourth", "atsvc.DaysOfMonth.Fourth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Fourth_tfs), ( 0x00000008 ), NULL, HFILL }},
1539 { &hf_atsvc_job_info,
1540 { "JobInfo", "atcvs.job_info", FT_NONE, BASE_NONE, NULL, 0, "JobInfo structure", HFILL }},
1541 { &hf_atsvc_atsvc_DaysOfMonth_Eleventh,
1542 { "Eleventh", "atsvc.DaysOfMonth.Eleventh", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eleventh_tfs), ( 0x00000400 ), NULL, HFILL }},
1543 { &hf_atsvc_atsvc_DaysOfMonth_Sixteenth,
1544 { "Sixteenth", "atsvc.DaysOfMonth.Sixteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Sixteenth_tfs), ( 0x00008000 ), NULL, HFILL }},
1545 { &hf_atsvc_atsvc_Flags_JOB_ADD_CURRENT_DATE,
1546 { "Job Add Current Date", "atsvc.Flags.JOB_ADD_CURRENT_DATE", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_ADD_CURRENT_DATE_tfs), ( 0x08 ), NULL, HFILL }},
1547 { &hf_atsvc_atsvc_JobEnum_ctr,
1548 { "Ctr", "atsvc.JobEnum.ctr", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
1549 { &hf_atsvc_atsvc_DaysOfMonth_Twentyfifth,
1550 { "Twentyfifth", "atsvc.DaysOfMonth.Twentyfifth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfifth_tfs), ( 0x01000000 ), NULL, HFILL }},
1551 { &hf_atsvc_atsvc_JobInfo_days_of_month,
1552 { "Days Of Month", "atsvc.JobInfo.days_of_month", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }},
1553 { &hf_atsvc_atsvc_DaysOfMonth_Twentysecond,
1554 { "Twentysecond", "atsvc.DaysOfMonth.Twentysecond", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentysecond_tfs), ( 0x00200000 ), NULL, HFILL }},
1555 { &hf_atsvc_atsvc_DaysOfMonth_First,
1556 { "First", "atsvc.DaysOfMonth.First", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_First_tfs), ( 0x00000001 ), NULL, HFILL }},
1557 { &hf_atsvc_atsvc_JobEnumInfo_command,
1558 { "Command", "atsvc.JobEnumInfo.command", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
1559 { &hf_atsvc_atsvc_DaysOfMonth_Thirtieth,
1560 { "Thirtieth", "atsvc.DaysOfMonth.Thirtieth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thirtieth_tfs), ( 0x20000000 ), NULL, HFILL }},
1561 { &hf_atsvc_atsvc_DaysOfMonth_Eight,
1562 { "Eight", "atsvc.DaysOfMonth.Eight", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Eight_tfs), ( 0x00000080 ), NULL, HFILL }},
1563 { &hf_atsvc_atsvc_DaysOfMonth_Twentyfirst,
1564 { "Twentyfirst", "atsvc.DaysOfMonth.Twentyfirst", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Twentyfirst_tfs), ( 0x00100000 ), NULL, HFILL }},
1565 { &hf_atsvc_atsvc_Flags_JOB_EXEC_ERROR,
1566 { "Job Exec Error", "atsvc.Flags.JOB_EXEC_ERROR", FT_BOOLEAN, 8, TFS(&atsvc_Flags_JOB_EXEC_ERROR_tfs), ( 0x02 ), NULL, HFILL }},
1567 { &hf_atsvc_atsvc_JobInfo_days_of_week,
1568 { "Days Of Week", "atsvc.JobInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }},
1569 { &hf_atsvc_atsvc_JobDel_min_job_id,
1570 { "Min Job Id", "atsvc.JobDel.min_job_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1571 { &hf_atsvc_atsvc_JobEnumInfo_days_of_week,
1572 { "Days Of Week", "atsvc.JobEnumInfo.days_of_week", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }},
1573 { &hf_atsvc_atsvc_JobEnumInfo_flags,
1574 { "Flags", "atsvc.JobEnumInfo.flags", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }},
1575 { &hf_atsvc_atsvc_JobDel_max_job_id,
1576 { "Max Job Id", "atsvc.JobDel.max_job_id", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1577 { &hf_atsvc_atsvc_DaysOfMonth_Thitteenth,
1578 { "Thitteenth", "atsvc.DaysOfMonth.Thitteenth", FT_BOOLEAN, 32, TFS(&atsvc_DaysOfMonth_Thitteenth_tfs), ( 0x00001000 ), NULL, HFILL }},
1582 static gint *ett[] = {
1584 &ett_atsvc_atsvc_DaysOfMonth,
1585 &ett_atsvc_atsvc_Flags,
1586 &ett_atsvc_atsvc_DaysOfWeek,
1587 &ett_atsvc_atsvc_JobInfo,
1588 &ett_atsvc_atsvc_JobEnumInfo,
1589 &ett_atsvc_atsvc_enum_ctr,
1592 proto_dcerpc_atsvc = proto_register_protocol("Microsoft AT-Scheduler Service", "ATSVC", "atsvc");
1593 proto_register_field_array(proto_dcerpc_atsvc, hf, array_length (hf));
1594 proto_register_subtree_array(ett, array_length(ett));
1597 void proto_reg_handoff_dcerpc_atsvc(void)
1599 dcerpc_init_uuid(proto_dcerpc_atsvc, ett_dcerpc_atsvc,
1600 &uuid_dcerpc_atsvc, ver_dcerpc_atsvc,
1601 atsvc_dissectors, hf_atsvc_opnum);