regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-iwbemlevel1login.c
blobd4e2d26550f5ce6c7e0915e21a622925fff185bf
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from iwbemlevel1login.idl and iwbemlevel1login.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 https://wiki.wireshark.org/Pidl
9 */
12 #include "config.h"
13 #include <string.h>
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
16 #include <epan/tfs.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-iwbemlevel1login.h"
22 void proto_register_dcerpc_IWbemLevel1Login(void);
23 void proto_reg_handoff_dcerpc_IWbemLevel1Login(void);
25 /* Ett declarations */
26 static int ett_IWbemLevel1Login_EstablishPosition_orpcthis;
27 static int ett_IWbemLevel1Login_EstablishPosition_orpcthat;
28 static int ett_IWbemLevel1Login_RequestChallenge_orpcthis;
29 static int ett_IWbemLevel1Login_RequestChallenge_orpcthat;
30 static int ett_IWbemLevel1Login_WBEMLogin_orpcthis;
31 static int ett_IWbemLevel1Login_WBEMLogin_orpcthat;
32 static int ett_IWbemLevel1Login_NTLMLogin_orpcthis;
33 static int ett_IWbemLevel1Login_NTLMLogin_orpcthat;
34 static int ett_dcerpc_IWbemLevel1Login;
35 static int ett_IWbemLevel1Login_ORPCTHIS;
36 static int ett_IWbemLevel1Login_ORPCTHAT;
37 static int ett_IWbemLevel1Login_IWbemServices;
40 /* Header field declarations */
41 static int hf_IWbemLevel1Login_EstablishPosition_LocaleVersion;
42 static int hf_IWbemLevel1Login_EstablishPosition_orpcthat;
43 static int hf_IWbemLevel1Login_EstablishPosition_orpcthis;
44 static int hf_IWbemLevel1Login_EstablishPosition_reserved1;
45 static int hf_IWbemLevel1Login_EstablishPosition_reserved2;
46 static int hf_IWbemLevel1Login_IWbemServices_count;
47 static int hf_IWbemLevel1Login_IWbemServices_services;
48 static int hf_IWbemLevel1Login_NTLMLogin_lFlags;
49 static int hf_IWbemLevel1Login_NTLMLogin_orpcthat;
50 static int hf_IWbemLevel1Login_NTLMLogin_orpcthis;
51 static int hf_IWbemLevel1Login_NTLMLogin_pCtx;
52 static int hf_IWbemLevel1Login_NTLMLogin_ppNamespace;
53 static int hf_IWbemLevel1Login_NTLMLogin_wszNetworkResource;
54 static int hf_IWbemLevel1Login_NTLMLogin_wszPreferredLocale;
55 static int hf_IWbemLevel1Login_RequestChallenge_orpcthat;
56 static int hf_IWbemLevel1Login_RequestChallenge_orpcthis;
57 static int hf_IWbemLevel1Login_RequestChallenge_reserved1;
58 static int hf_IWbemLevel1Login_RequestChallenge_reserved2;
59 static int hf_IWbemLevel1Login_RequestChallenge_reserved3;
60 static int hf_IWbemLevel1Login_WBEMLogin_orpcthat;
61 static int hf_IWbemLevel1Login_WBEMLogin_orpcthis;
62 static int hf_IWbemLevel1Login_WBEMLogin_ppNamespace;
63 static int hf_IWbemLevel1Login_WBEMLogin_reserved1;
64 static int hf_IWbemLevel1Login_WBEMLogin_reserved2;
65 static int hf_IWbemLevel1Login_WBEMLogin_reserved3;
66 static int hf_IWbemLevel1Login_WBEMLogin_reserved4;
67 static int hf_IWbemLevel1Login_opnum;
68 static int hf_IWbemLevel1Login_werror;
70 static int proto_dcerpc_IWbemLevel1Login;
71 /* Version information */
74 static e_guid_t uuid_dcerpc_IWbemLevel1Login = {
75 0xf309ad18, 0xd86a, 0x11d0,
76 { 0xa0, 0x75, 0x00, 0xc0, 0x4f, 0xb6, 0x88, 0x20 }
78 static uint16_t ver_dcerpc_IWbemLevel1Login = 0;
80 static int IWbemLevel1Login_dissect_element_IWbemServices_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
81 static int IWbemLevel1Login_dissect_element_IWbemServices_services(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
82 static int IWbemLevel1Login_dissect_conformant_IWbemServices_services(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga);
83 static int IWbemLevel1Login_dissect_element_EstablishPosition_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
84 static int IWbemLevel1Login_dissect_element_EstablishPosition_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
85 static int IWbemLevel1Login_dissect_element_EstablishPosition_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
86 static int IWbemLevel1Login_dissect_element_EstablishPosition_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
87 static int IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
88 static int IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
89 static int IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
90 static int IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
91 static int IWbemLevel1Login_dissect_element_RequestChallenge_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
92 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
93 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
94 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
95 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
96 static int IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
97 static int IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
98 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
99 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
100 static int IWbemLevel1Login_dissect_element_RequestChallenge_reserved3__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
101 static int IWbemLevel1Login_dissect_element_WBEMLogin_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
102 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
103 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
104 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
105 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
106 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved2__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
107 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
108 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
109 static int IWbemLevel1Login_dissect_element_WBEMLogin_reserved4_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
110 static int IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
111 static int IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
112 static int IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
113 static int IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
114 static int IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
115 static int IWbemLevel1Login_dissect_element_NTLMLogin_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
116 static int IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
117 static int IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
118 static int IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
119 static int IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
120 static int IWbemLevel1Login_dissect_element_NTLMLogin_lFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
121 static int IWbemLevel1Login_dissect_element_NTLMLogin_pCtx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
122 static int IWbemLevel1Login_dissect_element_NTLMLogin_pCtx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
123 static int IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
124 static int IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
125 static int IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
126 static int IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
127 static int IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_);
128 #include "packet-dcom.h"
129 /* EstablishPosition */
130 static int
131 IWbemLevel1Login_dissect_element_EstablishPosition_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
133 proto_item *sub_item;
134 proto_tree *sub_tree;
135 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_EstablishPosition_orpcthis, tvb, offset, 0, ENC_NA);
136 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_EstablishPosition_orpcthis);
137 offset = dissect_dcom_this(tvb, offset, pinfo, sub_tree, di, drep);
138 return offset;
140 static int
141 IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
143 proto_item *sub_item;
144 proto_tree *sub_tree;
145 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_EstablishPosition_orpcthat, tvb, offset, 0, ENC_NA);
146 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_EstablishPosition_orpcthat);
147 offset = dissect_dcom_that(tvb, offset, pinfo, sub_tree, di, drep);
148 return offset;
150 /* RequestChallenge */
151 static int
152 IWbemLevel1Login_dissect_element_RequestChallenge_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
154 proto_item *sub_item;
155 proto_tree *sub_tree;
156 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_RequestChallenge_orpcthis, tvb, offset, 0, ENC_NA);
157 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_RequestChallenge_orpcthis);
158 offset = dissect_dcom_this(tvb, offset, pinfo, sub_tree, di, drep);
159 return offset;
161 static int
162 IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
164 proto_item *sub_item;
165 proto_tree *sub_tree;
166 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_RequestChallenge_orpcthat, tvb, offset, 0, ENC_NA);
167 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_RequestChallenge_orpcthat);
168 offset = dissect_dcom_that(tvb, offset, pinfo, sub_tree, di, drep);
169 return offset;
171 /* WBEMLogin */
172 static int
173 IWbemLevel1Login_dissect_element_WBEMLogin_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
175 proto_item *sub_item;
176 proto_tree *sub_tree;
177 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_WBEMLogin_orpcthis, tvb, offset, 0, ENC_NA);
178 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_WBEMLogin_orpcthis);
179 offset = dissect_dcom_this(tvb, offset, pinfo, sub_tree, di, drep);
180 return offset;
182 static int
183 IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
185 proto_item *sub_item;
186 proto_tree *sub_tree;
187 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_WBEMLogin_orpcthat, tvb, offset, 0, ENC_NA);
188 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_WBEMLogin_orpcthat);
189 offset = dissect_dcom_that(tvb, offset, pinfo, sub_tree, di, drep);
190 return offset;
192 /* NTLMLogin */
193 static int
194 IWbemLevel1Login_dissect_element_NTLMLogin_orpcthis(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
196 proto_item *sub_item;
197 proto_tree *sub_tree;
198 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_NTLMLogin_orpcthis, tvb, offset, 0, ENC_NA);
199 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_NTLMLogin_orpcthis);
200 offset = dissect_dcom_this(tvb, offset, pinfo, sub_tree, di, drep);
201 return offset;
203 static int
204 IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
206 proto_item *sub_item;
207 proto_tree *sub_tree;
208 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_NTLMLogin_orpcthat, tvb, offset, 0, ENC_NA);
209 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_NTLMLogin_orpcthat);
210 offset = dissect_dcom_that(tvb, offset, pinfo, sub_tree, di, drep);
211 return offset;
213 static int
214 IWbemLevel1Login_dissect_element_IWbemServices_services_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep);
215 static int
216 IWbemLevel1Login_dissect_element_IWbemServices_services(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
218 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, nga, IWbemLevel1Login_dissect_element_IWbemServices_services_);
219 return offset;
221 static int
222 IWbemLevel1Login_dissect_element_IWbemServices_services_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, uint8_t *drep)
224 proto_item *sub_item;
225 proto_tree *sub_tree;
226 sub_item = proto_tree_add_item(tree, hf_IWbemLevel1Login_WBEMLogin_ppNamespace, tvb, offset, 0, ENC_NA);
227 sub_tree = proto_item_add_subtree(sub_item, ett_IWbemLevel1Login_IWbemServices);
228 offset = dissect_dcom_OBJREF(tvb, offset, pinfo, sub_tree, di, drep, hf_IWbemLevel1Login_WBEMLogin_ppNamespace, NULL);
229 return offset;
233 /* IDL: struct { */
234 /* IDL: } */
237 IWbemLevel1Login_dissect_struct_ORPCTHIS(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
239 proto_item *item = NULL;
240 int old_offset;
242 old_offset = offset;
244 if (parent_tree) {
245 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
249 proto_item_set_len(item, offset-old_offset);
252 return offset;
256 /* IDL: struct { */
257 /* IDL: } */
260 IWbemLevel1Login_dissect_struct_ORPCTHAT(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
262 proto_item *item = NULL;
263 int old_offset;
265 old_offset = offset;
267 if (parent_tree) {
268 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
272 proto_item_set_len(item, offset-old_offset);
275 return offset;
279 /* IDL: struct { */
280 /* IDL: uint32 count; */
281 /* IDL: [size_is(count)] uint8 services[*]; */
282 /* IDL: } */
284 static int
285 IWbemLevel1Login_dissect_element_IWbemServices_count(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
287 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_IWbemServices_count, 0);
289 return offset;
292 static int
293 IWbemLevel1Login_dissect_conformant_IWbemServices_services(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, struct ndr_generic_array *nga)
295 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, nga);
297 return offset;
301 IWbemLevel1Login_dissect_struct_IWbemServices(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
303 struct ndr_generic_array nga_services = { .is_conformant = false, };
304 proto_item *item = NULL;
305 proto_tree *tree = NULL;
306 bool oldalign = di->no_align;
307 int old_offset;
309 offset = IWbemLevel1Login_dissect_conformant_IWbemServices_services(tvb, offset, pinfo, parent_tree, di, drep, &nga_services);
311 di->no_align = true;
313 old_offset = offset;
315 if (parent_tree) {
316 item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
317 tree = proto_item_add_subtree(item, ett_IWbemLevel1Login_IWbemServices);
320 offset = IWbemLevel1Login_dissect_element_IWbemServices_count(tvb, offset, pinfo, tree, di, drep);
322 offset = IWbemLevel1Login_dissect_element_IWbemServices_services(tvb, offset, pinfo, tree, di, drep, &nga_services);
325 proto_item_set_len(item, offset-old_offset);
328 di->no_align = oldalign;
330 return offset;
333 /* IDL: WERROR iwbemlevel1login_opnum0( */
334 /* IDL: */
335 /* IDL: ); */
337 static int
338 IWbemLevel1Login_dissect_iwbemlevel1login_opnum0_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
340 uint32_t status;
342 di->dcerpc_procedure_name="iwbemlevel1login_opnum0";
343 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
345 if (status != 0)
346 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
348 return offset;
351 static int
352 IWbemLevel1Login_dissect_iwbemlevel1login_opnum0_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
354 di->dcerpc_procedure_name="iwbemlevel1login_opnum0";
355 return offset;
358 /* IDL: WERROR iwbemlevel1login_opnum1( */
359 /* IDL: */
360 /* IDL: ); */
362 static int
363 IWbemLevel1Login_dissect_iwbemlevel1login_opnum1_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
365 uint32_t status;
367 di->dcerpc_procedure_name="iwbemlevel1login_opnum1";
368 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
370 if (status != 0)
371 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
373 return offset;
376 static int
377 IWbemLevel1Login_dissect_iwbemlevel1login_opnum1_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
379 di->dcerpc_procedure_name="iwbemlevel1login_opnum1";
380 return offset;
383 /* IDL: WERROR iwbemlevel1login_opnum2( */
384 /* IDL: */
385 /* IDL: ); */
387 static int
388 IWbemLevel1Login_dissect_iwbemlevel1login_opnum2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
390 uint32_t status;
392 di->dcerpc_procedure_name="iwbemlevel1login_opnum2";
393 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
395 if (status != 0)
396 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
398 return offset;
401 static int
402 IWbemLevel1Login_dissect_iwbemlevel1login_opnum2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
404 di->dcerpc_procedure_name="iwbemlevel1login_opnum2";
405 return offset;
408 static int
409 IWbemLevel1Login_dissect_element_EstablishPosition_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
411 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_EstablishPosition_reserved1_, NDR_POINTER_UNIQUE, "Pointer to Reserved1 (uint16)",hf_IWbemLevel1Login_EstablishPosition_reserved1);
413 return offset;
416 static int
417 IWbemLevel1Login_dissect_element_EstablishPosition_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
419 char *data = NULL;
420 struct ndr_generic_array nga = { .is_conformant = false, };
422 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
424 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
425 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_EstablishPosition_reserved1, false, &nga, &data);
426 proto_item_append_text(tree, ": %s", data);
428 return offset;
431 static int
432 IWbemLevel1Login_dissect_element_EstablishPosition_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
434 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_EstablishPosition_reserved2, 0);
436 return offset;
439 static int
440 IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
442 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat_, NDR_POINTER_REF, "Pointer to Orpcthat (ORPCTHAT)",hf_IWbemLevel1Login_EstablishPosition_orpcthat);
444 return offset;
447 static int
448 IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
450 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion_, NDR_POINTER_REF, "Pointer to LocaleVersion (uint32)",hf_IWbemLevel1Login_EstablishPosition_LocaleVersion);
452 return offset;
455 static int
456 IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
458 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_EstablishPosition_LocaleVersion, 0);
460 return offset;
463 /* IDL: WERROR EstablishPosition( */
464 /* IDL: [in] ORPCTHIS orpcthis, */
465 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *reserved1, */
466 /* IDL: [in] uint32 reserved2, */
467 /* IDL: [out] [ref] ORPCTHAT *orpcthat, */
468 /* IDL: [out] [ref] uint32 *LocaleVersion */
469 /* IDL: ); */
471 static int
472 IWbemLevel1Login_dissect_EstablishPosition_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
474 uint32_t status;
476 di->dcerpc_procedure_name="EstablishPosition";
477 offset = IWbemLevel1Login_dissect_element_EstablishPosition_orpcthat(tvb, offset, pinfo, tree, di, drep);
478 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
480 offset = IWbemLevel1Login_dissect_element_EstablishPosition_LocaleVersion(tvb, offset, pinfo, tree, di, drep);
481 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
483 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
485 if (status != 0)
486 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
488 return offset;
491 static int
492 IWbemLevel1Login_dissect_EstablishPosition_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
494 di->dcerpc_procedure_name="EstablishPosition";
495 offset = IWbemLevel1Login_dissect_element_EstablishPosition_orpcthis(tvb, offset, pinfo, tree, di, drep);
496 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
497 offset = IWbemLevel1Login_dissect_element_EstablishPosition_reserved1(tvb, offset, pinfo, tree, di, drep);
498 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
499 offset = IWbemLevel1Login_dissect_element_EstablishPosition_reserved2(tvb, offset, pinfo, tree, di, drep);
500 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
501 return offset;
504 static int
505 IWbemLevel1Login_dissect_element_RequestChallenge_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
507 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_RequestChallenge_reserved1_, NDR_POINTER_UNIQUE, "Pointer to Reserved1 (uint16)",hf_IWbemLevel1Login_RequestChallenge_reserved1);
509 return offset;
512 static int
513 IWbemLevel1Login_dissect_element_RequestChallenge_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
515 char *data = NULL;
516 struct ndr_generic_array nga = { .is_conformant = false, };
518 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
520 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
521 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_RequestChallenge_reserved1, false, &nga, &data);
522 proto_item_append_text(tree, ": %s", data);
524 return offset;
527 static int
528 IWbemLevel1Login_dissect_element_RequestChallenge_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
530 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_RequestChallenge_reserved2_, NDR_POINTER_UNIQUE, "Pointer to Reserved2 (uint16)",hf_IWbemLevel1Login_RequestChallenge_reserved2);
532 return offset;
535 static int
536 IWbemLevel1Login_dissect_element_RequestChallenge_reserved2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
538 char *data = NULL;
539 struct ndr_generic_array nga = { .is_conformant = false, };
541 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
543 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
544 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_RequestChallenge_reserved2, false, &nga, &data);
545 proto_item_append_text(tree, ": %s", data);
547 return offset;
550 static int
551 IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
553 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat_, NDR_POINTER_REF, "Pointer to Orpcthat (ORPCTHAT)",hf_IWbemLevel1Login_RequestChallenge_orpcthat);
555 return offset;
558 static int
559 IWbemLevel1Login_dissect_element_RequestChallenge_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
561 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_RequestChallenge_reserved3_, NDR_POINTER_REF, "Pointer to Reserved3 (uint8)",hf_IWbemLevel1Login_RequestChallenge_reserved3);
563 return offset;
566 static int
567 IWbemLevel1Login_dissect_element_RequestChallenge_reserved3_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
569 struct ndr_generic_array nga = { .is_conformant = false, };
571 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
573 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
575 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, IWbemLevel1Login_dissect_element_RequestChallenge_reserved3__);
577 return offset;
580 static int
581 IWbemLevel1Login_dissect_element_RequestChallenge_reserved3__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
583 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_RequestChallenge_reserved3, 0);
585 return offset;
588 /* IDL: WERROR RequestChallenge( */
589 /* IDL: [in] ORPCTHIS orpcthis, */
590 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *reserved1, */
591 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *reserved2, */
592 /* IDL: [out] [ref] ORPCTHAT *orpcthat, */
593 /* IDL: [length_is(16)] [out] [ref] [size_is(16)] uint8 *reserved3 */
594 /* IDL: ); */
596 static int
597 IWbemLevel1Login_dissect_RequestChallenge_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
599 uint32_t status;
601 di->dcerpc_procedure_name="RequestChallenge";
602 offset = IWbemLevel1Login_dissect_element_RequestChallenge_orpcthat(tvb, offset, pinfo, tree, di, drep);
603 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
605 offset = IWbemLevel1Login_dissect_element_RequestChallenge_reserved3(tvb, offset, pinfo, tree, di, drep);
606 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
608 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
610 if (status != 0)
611 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
613 return offset;
616 static int
617 IWbemLevel1Login_dissect_RequestChallenge_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
619 di->dcerpc_procedure_name="RequestChallenge";
620 offset = IWbemLevel1Login_dissect_element_RequestChallenge_orpcthis(tvb, offset, pinfo, tree, di, drep);
621 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
622 offset = IWbemLevel1Login_dissect_element_RequestChallenge_reserved1(tvb, offset, pinfo, tree, di, drep);
623 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
624 offset = IWbemLevel1Login_dissect_element_RequestChallenge_reserved2(tvb, offset, pinfo, tree, di, drep);
625 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
626 return offset;
629 static int
630 IWbemLevel1Login_dissect_element_WBEMLogin_reserved1(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
632 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_reserved1_, NDR_POINTER_UNIQUE, "Pointer to Reserved1 (uint16)",hf_IWbemLevel1Login_WBEMLogin_reserved1);
634 return offset;
637 static int
638 IWbemLevel1Login_dissect_element_WBEMLogin_reserved1_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
640 char *data = NULL;
641 struct ndr_generic_array nga = { .is_conformant = false, };
643 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
645 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
646 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_WBEMLogin_reserved1, false, &nga, &data);
647 proto_item_append_text(tree, ": %s", data);
649 return offset;
652 static int
653 IWbemLevel1Login_dissect_element_WBEMLogin_reserved2(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
655 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_reserved2_, NDR_POINTER_UNIQUE, "Pointer to Reserved2 (uint8)",hf_IWbemLevel1Login_WBEMLogin_reserved2);
657 return offset;
660 static int
661 IWbemLevel1Login_dissect_element_WBEMLogin_reserved2_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
663 struct ndr_generic_array nga = { .is_conformant = false, };
665 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
667 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
669 offset = dissect_ndr_generic_array_bytes(tvb, offset, pinfo, tree, di, drep, &nga, IWbemLevel1Login_dissect_element_WBEMLogin_reserved2__);
671 return offset;
674 static int
675 IWbemLevel1Login_dissect_element_WBEMLogin_reserved2__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
677 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_WBEMLogin_reserved2, 0);
679 return offset;
682 static int
683 IWbemLevel1Login_dissect_element_WBEMLogin_reserved3(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
685 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_WBEMLogin_reserved3, 0);
687 return offset;
690 static int
691 IWbemLevel1Login_dissect_element_WBEMLogin_reserved4(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
693 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_reserved4_, NDR_POINTER_REF, "Pointer to Reserved4 (uint8)",hf_IWbemLevel1Login_WBEMLogin_reserved4);
695 return offset;
698 static int
699 IWbemLevel1Login_dissect_element_WBEMLogin_reserved4_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
701 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_WBEMLogin_reserved4, 0);
703 return offset;
706 static int
707 IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
709 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat_, NDR_POINTER_REF, "Pointer to Orpcthat (ORPCTHAT)",hf_IWbemLevel1Login_WBEMLogin_orpcthat);
711 return offset;
714 static int
715 IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
717 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace_, NDR_POINTER_REF, "Pointer to PpNamespace (IWbemServices)",hf_IWbemLevel1Login_WBEMLogin_ppNamespace);
719 return offset;
722 static int
723 IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
725 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace__, NDR_POINTER_UNIQUE, "Pointer to PpNamespace (IWbemServices)",hf_IWbemLevel1Login_WBEMLogin_ppNamespace);
727 return offset;
730 static int
731 IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
733 offset = IWbemLevel1Login_dissect_struct_IWbemServices(tvb,offset,pinfo,tree,di,drep,hf_IWbemLevel1Login_WBEMLogin_ppNamespace,0);
735 return offset;
738 /* IDL: WERROR WBEMLogin( */
739 /* IDL: [in] ORPCTHIS orpcthis, */
740 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *reserved1, */
741 /* IDL: [in] [length_is(16)] [size_is(16)] [unique(1)] uint8 *reserved2, */
742 /* IDL: [in] int32 reserved3, */
743 /* IDL: [in] [ref] uint8 *reserved4, */
744 /* IDL: [out] [ref] ORPCTHAT *orpcthat, */
745 /* IDL: [out] [ref] IWbemServices **ppNamespace */
746 /* IDL: ); */
748 static int
749 IWbemLevel1Login_dissect_WBEMLogin_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
751 uint32_t status;
753 di->dcerpc_procedure_name="WBEMLogin";
754 offset = IWbemLevel1Login_dissect_element_WBEMLogin_orpcthat(tvb, offset, pinfo, tree, di, drep);
755 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
757 offset = IWbemLevel1Login_dissect_element_WBEMLogin_ppNamespace(tvb, offset, pinfo, tree, di, drep);
758 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
760 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
762 if (status != 0)
763 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
765 return offset;
768 static int
769 IWbemLevel1Login_dissect_WBEMLogin_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
771 di->dcerpc_procedure_name="WBEMLogin";
772 offset = IWbemLevel1Login_dissect_element_WBEMLogin_orpcthis(tvb, offset, pinfo, tree, di, drep);
773 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
774 offset = IWbemLevel1Login_dissect_element_WBEMLogin_reserved1(tvb, offset, pinfo, tree, di, drep);
775 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
776 offset = IWbemLevel1Login_dissect_element_WBEMLogin_reserved2(tvb, offset, pinfo, tree, di, drep);
777 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
778 offset = IWbemLevel1Login_dissect_element_WBEMLogin_reserved3(tvb, offset, pinfo, tree, di, drep);
779 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
780 offset = IWbemLevel1Login_dissect_element_WBEMLogin_reserved4(tvb, offset, pinfo, tree, di, drep);
781 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
782 return offset;
785 static int
786 IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
788 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource_, NDR_POINTER_UNIQUE, "Pointer to WszNetworkResource (uint16)",hf_IWbemLevel1Login_NTLMLogin_wszNetworkResource);
790 return offset;
793 static int
794 IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
796 char *data = NULL;
797 struct ndr_generic_array nga = { .is_conformant = false, };
799 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
801 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
802 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_NTLMLogin_wszNetworkResource, false, &nga, &data);
803 proto_item_append_text(tree, ": %s", data);
805 return offset;
808 static int
809 IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
811 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale_, NDR_POINTER_UNIQUE, "Pointer to WszPreferredLocale (uint16)",hf_IWbemLevel1Login_NTLMLogin_wszPreferredLocale);
813 return offset;
816 static int
817 IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
819 char *data = NULL;
820 struct ndr_generic_array nga = { .is_conformant = false, };
822 offset = dissect_ndr_conformant_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
824 offset = dissect_ndr_varying_array_hdr(tvb, offset, pinfo, tree, di, drep, &nga);
825 offset = dissect_ndr_generic_array_string(tvb, offset, pinfo, tree, di, drep, sizeof(uint16_t), hf_IWbemLevel1Login_NTLMLogin_wszPreferredLocale, false, &nga, &data);
826 proto_item_append_text(tree, ": %s", data);
828 return offset;
831 static int
832 IWbemLevel1Login_dissect_element_NTLMLogin_lFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
834 offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_NTLMLogin_lFlags, 0);
836 return offset;
839 static int
840 IWbemLevel1Login_dissect_element_NTLMLogin_pCtx(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
842 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_pCtx_, NDR_POINTER_UNIQUE, "Pointer to PCtx (uint8)",hf_IWbemLevel1Login_NTLMLogin_pCtx);
844 return offset;
847 static int
848 IWbemLevel1Login_dissect_element_NTLMLogin_pCtx_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
850 offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_NTLMLogin_pCtx, 0);
852 return offset;
855 static int
856 IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
858 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat_, NDR_POINTER_REF, "Pointer to Orpcthat (ORPCTHAT)",hf_IWbemLevel1Login_NTLMLogin_orpcthat);
860 return offset;
863 static int
864 IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
866 offset = dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace_, NDR_POINTER_REF, "Pointer to PpNamespace (IWbemServices)",hf_IWbemLevel1Login_NTLMLogin_ppNamespace);
868 return offset;
871 static int
872 IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace_(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
874 offset = dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, di, drep, IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace__, NDR_POINTER_UNIQUE, "Pointer to PpNamespace (IWbemServices)",hf_IWbemLevel1Login_NTLMLogin_ppNamespace);
876 return offset;
879 static int
880 IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace__(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
882 offset = IWbemLevel1Login_dissect_struct_IWbemServices(tvb,offset,pinfo,tree,di,drep,hf_IWbemLevel1Login_NTLMLogin_ppNamespace,0);
884 return offset;
887 /* IDL: WERROR NTLMLogin( */
888 /* IDL: [in] ORPCTHIS orpcthis, */
889 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *wszNetworkResource, */
890 /* IDL: [charset(UTF16)] [in] [unique(1)] uint16 *wszPreferredLocale, */
891 /* IDL: [in] int32 lFlags, */
892 /* IDL: [in] [unique(1)] uint8 *pCtx, */
893 /* IDL: [out] [ref] ORPCTHAT *orpcthat, */
894 /* IDL: [out] [ref] IWbemServices **ppNamespace */
895 /* IDL: ); */
897 static int
898 IWbemLevel1Login_dissect_NTLMLogin_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
900 uint32_t status;
902 di->dcerpc_procedure_name="NTLMLogin";
903 offset = IWbemLevel1Login_dissect_element_NTLMLogin_orpcthat(tvb, offset, pinfo, tree, di, drep);
904 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
906 offset = IWbemLevel1Login_dissect_element_NTLMLogin_ppNamespace(tvb, offset, pinfo, tree, di, drep);
907 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
909 offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_IWbemLevel1Login_werror, &status);
911 if (status != 0)
912 col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str_ext(status, &WERR_errors_ext, "Unknown DOS error 0x%08x"));
914 return offset;
917 static int
918 IWbemLevel1Login_dissect_NTLMLogin_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
920 di->dcerpc_procedure_name="NTLMLogin";
921 offset = IWbemLevel1Login_dissect_element_NTLMLogin_orpcthis(tvb, offset, pinfo, tree, di, drep);
922 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
923 offset = IWbemLevel1Login_dissect_element_NTLMLogin_wszNetworkResource(tvb, offset, pinfo, tree, di, drep);
924 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
925 offset = IWbemLevel1Login_dissect_element_NTLMLogin_wszPreferredLocale(tvb, offset, pinfo, tree, di, drep);
926 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
927 offset = IWbemLevel1Login_dissect_element_NTLMLogin_lFlags(tvb, offset, pinfo, tree, di, drep);
928 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
929 offset = IWbemLevel1Login_dissect_element_NTLMLogin_pCtx(tvb, offset, pinfo, tree, di, drep);
930 offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);
931 return offset;
935 static const dcerpc_sub_dissector IWbemLevel1Login_dissectors[] = {
936 { 0, "iwbemlevel1login_opnum0",
937 IWbemLevel1Login_dissect_iwbemlevel1login_opnum0_request, IWbemLevel1Login_dissect_iwbemlevel1login_opnum0_response},
938 { 1, "iwbemlevel1login_opnum1",
939 IWbemLevel1Login_dissect_iwbemlevel1login_opnum1_request, IWbemLevel1Login_dissect_iwbemlevel1login_opnum1_response},
940 { 2, "iwbemlevel1login_opnum2",
941 IWbemLevel1Login_dissect_iwbemlevel1login_opnum2_request, IWbemLevel1Login_dissect_iwbemlevel1login_opnum2_response},
942 { 3, "EstablishPosition",
943 IWbemLevel1Login_dissect_EstablishPosition_request, IWbemLevel1Login_dissect_EstablishPosition_response},
944 { 4, "RequestChallenge",
945 IWbemLevel1Login_dissect_RequestChallenge_request, IWbemLevel1Login_dissect_RequestChallenge_response},
946 { 5, "WBEMLogin",
947 IWbemLevel1Login_dissect_WBEMLogin_request, IWbemLevel1Login_dissect_WBEMLogin_response},
948 { 6, "NTLMLogin",
949 IWbemLevel1Login_dissect_NTLMLogin_request, IWbemLevel1Login_dissect_NTLMLogin_response},
950 { 0, NULL, NULL, NULL }
953 void proto_register_dcerpc_IWbemLevel1Login(void)
955 static hf_register_info hf[] = {
956 { &hf_IWbemLevel1Login_EstablishPosition_LocaleVersion,
957 { "LocaleVersion", "IWbemLevel1Login.EstablishPosition.LocaleVersion", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
958 { &hf_IWbemLevel1Login_EstablishPosition_orpcthat,
959 { "Orpcthat", "IWbemLevel1Login.EstablishPosition.orpcthat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
960 { &hf_IWbemLevel1Login_EstablishPosition_orpcthis,
961 { "Orpcthis", "IWbemLevel1Login.EstablishPosition.orpcthis", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
962 { &hf_IWbemLevel1Login_EstablishPosition_reserved1,
963 { "Reserved1", "IWbemLevel1Login.EstablishPosition.reserved1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
964 { &hf_IWbemLevel1Login_EstablishPosition_reserved2,
965 { "Reserved2", "IWbemLevel1Login.EstablishPosition.reserved2", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
966 { &hf_IWbemLevel1Login_IWbemServices_count,
967 { "Count", "IWbemLevel1Login.IWbemServices.count", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
968 { &hf_IWbemLevel1Login_IWbemServices_services,
969 { "Services", "IWbemLevel1Login.IWbemServices.services", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
970 { &hf_IWbemLevel1Login_NTLMLogin_lFlags,
971 { "LFlags", "IWbemLevel1Login.NTLMLogin.lFlags", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }},
972 { &hf_IWbemLevel1Login_NTLMLogin_orpcthat,
973 { "Orpcthat", "IWbemLevel1Login.NTLMLogin.orpcthat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
974 { &hf_IWbemLevel1Login_NTLMLogin_orpcthis,
975 { "Orpcthis", "IWbemLevel1Login.NTLMLogin.orpcthis", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
976 { &hf_IWbemLevel1Login_NTLMLogin_pCtx,
977 { "PCtx", "IWbemLevel1Login.NTLMLogin.pCtx", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
978 { &hf_IWbemLevel1Login_NTLMLogin_ppNamespace,
979 { "PpNamespace", "IWbemLevel1Login.NTLMLogin.ppNamespace", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
980 { &hf_IWbemLevel1Login_NTLMLogin_wszNetworkResource,
981 { "WszNetworkResource", "IWbemLevel1Login.NTLMLogin.wszNetworkResource", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
982 { &hf_IWbemLevel1Login_NTLMLogin_wszPreferredLocale,
983 { "WszPreferredLocale", "IWbemLevel1Login.NTLMLogin.wszPreferredLocale", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
984 { &hf_IWbemLevel1Login_RequestChallenge_orpcthat,
985 { "Orpcthat", "IWbemLevel1Login.RequestChallenge.orpcthat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
986 { &hf_IWbemLevel1Login_RequestChallenge_orpcthis,
987 { "Orpcthis", "IWbemLevel1Login.RequestChallenge.orpcthis", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
988 { &hf_IWbemLevel1Login_RequestChallenge_reserved1,
989 { "Reserved1", "IWbemLevel1Login.RequestChallenge.reserved1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
990 { &hf_IWbemLevel1Login_RequestChallenge_reserved2,
991 { "Reserved2", "IWbemLevel1Login.RequestChallenge.reserved2", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
992 { &hf_IWbemLevel1Login_RequestChallenge_reserved3,
993 { "Reserved3", "IWbemLevel1Login.RequestChallenge.reserved3", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
994 { &hf_IWbemLevel1Login_WBEMLogin_orpcthat,
995 { "Orpcthat", "IWbemLevel1Login.WBEMLogin.orpcthat", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
996 { &hf_IWbemLevel1Login_WBEMLogin_orpcthis,
997 { "Orpcthis", "IWbemLevel1Login.WBEMLogin.orpcthis", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
998 { &hf_IWbemLevel1Login_WBEMLogin_ppNamespace,
999 { "PpNamespace", "IWbemLevel1Login.WBEMLogin.ppNamespace", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }},
1000 { &hf_IWbemLevel1Login_WBEMLogin_reserved1,
1001 { "Reserved1", "IWbemLevel1Login.WBEMLogin.reserved1", FT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }},
1002 { &hf_IWbemLevel1Login_WBEMLogin_reserved2,
1003 { "Reserved2", "IWbemLevel1Login.WBEMLogin.reserved2", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
1004 { &hf_IWbemLevel1Login_WBEMLogin_reserved3,
1005 { "Reserved3", "IWbemLevel1Login.WBEMLogin.reserved3", FT_INT32, BASE_DEC, NULL, 0, NULL, HFILL }},
1006 { &hf_IWbemLevel1Login_WBEMLogin_reserved4,
1007 { "Reserved4", "IWbemLevel1Login.WBEMLogin.reserved4", FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL }},
1008 { &hf_IWbemLevel1Login_opnum,
1009 { "Operation", "IWbemLevel1Login.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
1010 { &hf_IWbemLevel1Login_werror,
1011 { "Windows Error", "IWbemLevel1Login.werror", FT_UINT32, BASE_HEX|BASE_EXT_STRING, &WERR_errors_ext, 0, NULL, HFILL }},
1015 static int *ett[] = {
1016 &ett_IWbemLevel1Login_EstablishPosition_orpcthis,
1017 &ett_IWbemLevel1Login_EstablishPosition_orpcthat,
1018 &ett_IWbemLevel1Login_RequestChallenge_orpcthis,
1019 &ett_IWbemLevel1Login_RequestChallenge_orpcthat,
1020 &ett_IWbemLevel1Login_WBEMLogin_orpcthis,
1021 &ett_IWbemLevel1Login_WBEMLogin_orpcthat,
1022 &ett_IWbemLevel1Login_NTLMLogin_orpcthis,
1023 &ett_IWbemLevel1Login_NTLMLogin_orpcthat,
1024 &ett_dcerpc_IWbemLevel1Login,
1025 &ett_IWbemLevel1Login_ORPCTHIS,
1026 &ett_IWbemLevel1Login_ORPCTHAT,
1027 &ett_IWbemLevel1Login_IWbemServices,
1030 proto_dcerpc_IWbemLevel1Login = proto_register_protocol("IWBEMLEVEL1LOGIN (pidl)", "IWBEMLEVEL1LOGIN", "IWbemLevel1Login");
1031 proto_register_field_array(proto_dcerpc_IWbemLevel1Login, hf, array_length (hf));
1032 proto_register_subtree_array(ett, array_length(ett));
1035 void proto_reg_handoff_dcerpc_IWbemLevel1Login(void)
1037 dcerpc_init_uuid(proto_dcerpc_IWbemLevel1Login, ett_dcerpc_IWbemLevel1Login,
1038 &uuid_dcerpc_IWbemLevel1Login, ver_dcerpc_IWbemLevel1Login,
1039 IWbemLevel1Login_dissectors, hf_IWbemLevel1Login_opnum);