aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-03 02:44:31 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-03 02:44:31 +0000
commit1c40a35743f6d786c935e2c2fc76c1bf7c324494 (patch)
tree69d589b04082827129f2b50f37f0508c60fdbea7 /epan/dissectors/packet-dcerpc-nt.h
parent0856248cf0de576f576303f8646962d5f202135c (diff)
pild uses a magic alignment of 5 to mean align either to 4 or 8 bytes
depending on if ndr or ndr64 is used. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30258 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.h')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h
index a9f85d412c..4c51fc25f9 100644
--- a/epan/dissectors/packet-dcerpc-nt.h
+++ b/epan/dissectors/packet-dcerpc-nt.h
@@ -66,6 +66,8 @@ extern const value_string platform_id_vals[];
} \
}
+#define ALIGN_TO_5_BYTES ALIGN_TO_4_OR_8_BYTES
+
#define ALIGN_TO_4_OR_8_BYTES \
{ dcerpc_info *xzdi2; \
xzdi2=pinfo->private_data; \
@@ -75,6 +77,8 @@ extern const value_string platform_id_vals[];
ALIGN_TO_4_BYTES; \
} \
}
+
+
int
dissect_ndr_counted_ascii_string_cb(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,