diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-06-28 18:54:19 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-06-28 18:54:19 +0000 |
commit | 086ff7cd0157e048d2d2ae8c782809cbe59f422b (patch) | |
tree | 83c7953868ea6e26eaf6e9dcddf6eef78e6d1f1d /epan/dissectors/packet-dcom-sysact.c | |
parent | aef975762d1558ae1d4e400239479db7bc36388b (diff) |
add dissection of the RemoteCreateInstance method (as far as known)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18597 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcom-sysact.c')
-rw-r--r-- | epan/dissectors/packet-dcom-sysact.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcom-sysact.c b/epan/dissectors/packet-dcom-sysact.c index ab66c3b4d0..6b278d06ea 100644 --- a/epan/dissectors/packet-dcom-sysact.c +++ b/epan/dissectors/packet-dcom-sysact.c @@ -38,6 +38,7 @@ static int proto_ISystemActivator = -1; static int hf_opnum = -1; +static int hf_sysact_unknown = -1; static gint ett_ISystemActivator = -1; @@ -52,8 +53,12 @@ dissect_remsysact_remotecreateinstance_rqst(tvbuff_t *tvb, int offset, offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); + /* XXX - what is this? */ offset = dissect_dcom_tobedone_data(tvb, offset, pinfo, tree, drep, - tvb_ensure_length_remaining(tvb, offset)); + 4); + + offset = dissect_dcom_PMInterfacePointer(tvb, offset, pinfo, tree, drep, + hf_sysact_unknown); return offset; } @@ -66,8 +71,11 @@ dissect_remsysact_remotecreateinstance_resp(tvbuff_t *tvb, int offset, offset = dissect_dcom_that(tvb, offset, pinfo, tree, drep); - offset = dissect_dcom_tobedone_data(tvb, offset, pinfo, tree, drep, - tvb_ensure_length_remaining(tvb, offset)); + offset = dissect_dcom_PMInterfacePointer(tvb, offset, pinfo, tree, drep, + hf_sysact_unknown); + + offset = dissect_dcom_HRESULT(tvb, offset, pinfo, tree, drep, + NULL /* pu32HResult */); return offset; } @@ -89,8 +97,9 @@ proto_register_ISystemActivator (void) { static hf_register_info hf[] = { { &hf_opnum, - { "Operation", "isystemactivator.opnum", FT_UINT16, BASE_DEC, - NULL, 0x0, "", HFILL }}, + { "Operation", "isystemactivator.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL }}, + { &hf_sysact_unknown, + { "IUnknown", "isystemactivator.unknown", FT_NONE, BASE_HEX, NULL, 0x0, "", HFILL }}, }; static gint *ett[] = { &ett_ISystemActivator |