summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-08-02 22:42:58 +0400
committerMatthieu Patou <mat@matws.net>2011-08-06 01:33:07 +0400
commit5a5f6845db58ad1edfd90210da4b538859da43fc (patch)
tree9a36033bf09daade78ef0f9603fee1d2a298c3b9 /pidl/lib/Parse
parentdc829a438a8b9f5cb8cd05dbbe24470bf192f935 (diff)
downloadsamba-5a5f6845db58ad1edfd90210da4b538859da43fc.tar.gz
samba-5a5f6845db58ad1edfd90210da4b538859da43fc.tar.bz2
samba-5a5f6845db58ad1edfd90210da4b538859da43fc.zip
pidl: handle hyper attribute for wireshark
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r--pidl/lib/Parse/Pidl/Wireshark/NDR.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 8c236a6020..4ff5f41e11 100644
--- a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -889,6 +889,7 @@ sub Initialize($$)
$self->register_type("int$bits", "offset = PIDL_dissect_uint$bits(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);", "FT_INT$bits", "BASE_DEC", 0, "NULL", $bytes);
}
+ $self->register_type("hyper", "offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, \@HF\@, NULL);", "FT_UINT64", "BASE_DEC", 0, "NULL", 8);
$self->register_type("udlong", "offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, drep, \@HF\@, NULL);", "FT_UINT64", "BASE_DEC", 0, "NULL", 4);
$self->register_type("bool8", "offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);","FT_INT8", "BASE_DEC", 0, "NULL", 1);
$self->register_type("char", "offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);","FT_INT8", "BASE_DEC", 0, "NULL", 1);