diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-28 09:29:49 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-28 09:29:49 +0000 |
commit | 610da77693fcb3d857253e953cb687224249fd74 (patch) | |
tree | 219599a66d3ca408ff49b235bb556e1602596f37 /epan/dissectors/packet-dcerpc-browser.c | |
parent | 289fd317a0461cb3ad54b5c680719b62d47a60a0 (diff) |
older MS DCE/RPC interfaces often use a construct that is to be treated as a 64 bit integer but in reality is a struct containing 2 32bit integers.
this construct is aligned on 4 byte boundaries in ndr and NOT
8 bytes as a real uint64 (== hyper) would be.
rename the existing dissect_ndr_uint64 ro dissect_ndr_duint32 (double uint32) to make it reflect better the alignment of the type.
svn path=/trunk/; revision=13184
Diffstat (limited to 'epan/dissectors/packet-dcerpc-browser.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-browser.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-dcerpc-browser.c b/epan/dissectors/packet-dcerpc-browser.c index cbbac28214..38da56a299 100644 --- a/epan/dissectors/packet-dcerpc-browser.c +++ b/epan/dissectors/packet-dcerpc-browser.c @@ -471,13 +471,13 @@ dissect_browser_TYPE_5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, @@ -525,7 +525,7 @@ dissect_browser_TYPE_5(tvbuff_t *tvb, int offset, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_long, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); return offset; @@ -646,13 +646,13 @@ dissect_browser_TYPE_11(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep) { - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, @@ -664,7 +664,7 @@ dissect_browser_TYPE_11(tvbuff_t *tvb, int offset, offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_long, NULL); - offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, hf_browser_unknown_hyper, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, |