diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-05-24 19:57:37 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-05-24 19:57:37 +0000 |
commit | 5812f26b650ae13077050126f7c0c7049f72a1d7 (patch) | |
tree | 3e75f2c8ad3ecee5adbeee875d1fd69289f61ced /epan/dissectors/packet-dcom-oxid.c | |
parent | 1c650087aca13506de89b33c46bfbc51c1364a87 (diff) |
dissect ServerAlive response
svn path=/trunk/; revision=14426
Diffstat (limited to 'epan/dissectors/packet-dcom-oxid.c')
-rw-r--r-- | epan/dissectors/packet-dcom-oxid.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcom-oxid.c b/epan/dissectors/packet-dcom-oxid.c index 5500fffd24..7ae4d16c31 100644 --- a/epan/dissectors/packet-dcom-oxid.c +++ b/epan/dissectors/packet-dcom-oxid.c @@ -93,6 +93,24 @@ dissect_oxid_simple_ping_resp(tvbuff_t *tvb, int offset, } +static int +dissect_oxid_server_alive_resp(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, guint8 *drep) +{ + guint32 u32HResult; + + + offset = dissect_dcom_HRESULT(tvb, offset, pinfo, tree, drep, + &u32HResult); + + if (check_col(pinfo->cinfo, COL_INFO)) { + col_append_fstr(pinfo->cinfo, COL_INFO, " -> %s", + val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)") ); + } + + return offset; +} + static int dissect_oxid_complex_ping_rqst(tvbuff_t *tvb, int offset, @@ -271,7 +289,7 @@ static dcerpc_sub_dissector oxid_dissectors[] = { { 0, "ResolveOxid", NULL, NULL }, { 1, "SimplePing", dissect_oxid_simple_ping_rqst, dissect_oxid_simple_ping_resp }, { 2, "ComplexPing", dissect_oxid_complex_ping_rqst, dissect_oxid_complex_ping_resp }, - { 3, "ServerAlive", NULL, NULL }, + { 3, "ServerAlive", NULL /* no input parameters */, dissect_oxid_server_alive_resp }, { 4, "ResolveOxid2", dissect_oxid_resolve_oxid2_rqst, dissect_oxid_resolve_oxid2_resp }, { 5, "ServerAlive2", NULL, dissect_oxid_server_alive2_resp }, { 0, NULL, NULL, NULL }, |