summaryrefslogtreecommitdiff
path: root/epan/proto.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-04-20 17:32:12 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-04-20 17:32:12 +0000
commitc705b3bc881e0944415eec24b9669b221aed58ba (patch)
treeb3388a105dbf0134992a95eeab062e148017a864 /epan/proto.h
parent08100dc0390f31e8895ad024890a33dbcf3bab45 (diff)
downloadwireshark-c705b3bc881e0944415eec24b9669b221aed58ba.tar.gz
From Jakub Zawadzki:
Add support for multi byte entries. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4413 svn path=/trunk/; revision=32525
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h
index b41a6203d4..e1c8bd0048 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -256,6 +256,11 @@ typedef struct field_info {
/** The protocol field is actually a URL */
#define FI_URL 0x00000004
+/** The protocol field value is in little endian */
+#define FI_LITTLE_ENDIAN 0x00000008
+/** The protocol field value is in big endian */
+#define FI_BIG_ENDIAN 0x00000010
+
/** convenience macro to get field_info.flags */
#define FI_GET_FLAG(fi, flag) ((fi) ? (fi->flags & flag) : 0)
/** convenience macro to set field_info.flags */