diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-07-24 09:14:12 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-03 12:38:01 +0000 |
commit | f528f55cd5066166bb8136a905648de3cb466c29 (patch) | |
tree | 13bec23cd0279cc37bb3ab49b2dca646197c54b7 /epan/dissectors/packet-dcerpc-witness.h | |
parent | eafc94c9acf7dadd1a10f3effdae8249dfd53109 (diff) |
packet-dcerpc-witness: initial implementation based on the idl file from samba
See [MS-SWN], https://msdn.microsoft.com/en-us/library/hh536748.aspx
Change-Id: Ie92dad2c229ec08e7f7e31be9422450305b3908a
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-on: https://code.wireshark.org/review/11366
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-witness.h')
-rw-r--r-- | epan/dissectors/packet-dcerpc-witness.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-witness.h b/epan/dissectors/packet-dcerpc-witness.h new file mode 100644 index 0000000000..f2f9e8eed2 --- /dev/null +++ b/epan/dissectors/packet-dcerpc-witness.h @@ -0,0 +1,46 @@ +/* DO NOT EDIT + This file was automatically generated by Pidl + from pidl/witness.idl and pidl/witness.cnf. + + Pidl is a perl based IDL compiler for DCE/RPC idl files. + It is maintained by the Samba team, not the Wireshark team. + Instructions on how to download and install Pidl can be + found at https://wiki.wireshark.org/Pidl +*/ + +#include "packet-dcerpc-misc.h" + +#ifndef __PACKET_DCERPC_WITNESS_H +#define __PACKET_DCERPC_WITNESS_H + +#define WITNESS_V1 (0x00010001) +#define WITNESS_V2 (0x00020000) +#define WITNESS_UNSPECIFIED_VERSION (0xFFFFFFFF) +extern const value_string witness_witness_version_vals[]; +int witness_dissect_enum_version(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_); +#define WITNESS_STATE_UNKNOWN (0x00) +#define WITNESS_STATE_AVAILABLE (0x01) +#define WITNESS_STATE_UNAVAILABLE (0xff) +extern const value_string witness_witness_interfaceInfo_state_vals[]; +int witness_dissect_enum_interfaceInfo_state(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint16 *param _U_); +int witness_dissect_bitmap_interfaceInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_struct_interfaceInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_struct_interfaceList(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +#define WITNESS_NOTIFY_RESOURCE_CHANGE (1) +#define WITNESS_NOTIFY_CLIENT_MOVE (2) +#define WITNESS_NOTIFY_SHARE_MOVE (3) +#define WITNESS_NOTIFY_IP_CHANGE (4) +extern const value_string witness_witness_notifyResponse_type_vals[]; +int witness_dissect_enum_notifyResponse_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_); +#define WITNESS_RESOURCE_STATE_UNKNOWN (0x00) +#define WITNESS_RESOURCE_STATE_AVAILABLE (0x01) +#define WITNESS_RESOURCE_STATE_UNAVAILABLE (0xff) +extern const value_string witness_witness_ResourceChange_type_vals[]; +int witness_dissect_enum_ResourceChange_type(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 *param _U_); +int witness_dissect_struct_ResourceChange(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_bitmap_IPaddrInfo_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_struct_IPaddrInfo(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_struct_IPaddrInfoList(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_struct_notifyResponse(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +int witness_dissect_bitmap_RegisterEx_flags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_); +#endif /* __PACKET_DCERPC_WITNESS_H */ |