summaryrefslogtreecommitdiff
path: root/wiretap/erf.h
diff options
context:
space:
mode:
authorAnthony Coddington <anthony.coddington@endace.com>2015-11-19 16:23:53 +1300
committerGuy Harris <guy@alum.mit.edu>2015-12-19 17:53:10 +0000
commitdcfbf927055bb3e9a27fdcb78d8bd819c871a98e (patch)
tree9361e638966413fbb40cdb4ff26e119550871958 /wiretap/erf.h
parent16181142a7b027f754ce67c4129e0a75554f4e66 (diff)
downloadwireshark-dcfbf927055bb3e9a27fdcb78d8bd819c871a98e.tar.gz
ERF: Add basic no-break support for ERF_TYPE_META.
Update erf_open heuristic to not break when ERF_TYPE_META records are present. Remove check for maximum non-pad ERF type and add defines for reserved types. No dissection in this commit beyond record type name, this will come later. Change-Id: Ib64e450e26b2878b5519fb6afeafa2ce9477ac85 Reviewed-on: https://code.wireshark.org/review/12708 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/erf.h')
-rw-r--r--wiretap/erf.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/wiretap/erf.h b/wiretap/erf.h
index 20d7303f54..6db215d6fa 100644
--- a/wiretap/erf.h
+++ b/wiretap/erf.h
@@ -65,7 +65,27 @@
#define ERF_TYPE_IPV6 23
#define ERF_TYPE_RAW_LINK 24
#define ERF_TYPE_INFINIBAND_LINK 25
+#define ERF_TYPE_META 27
+/* Record types reserved for local and internal use */
+#define ERF_TYPE_INTERNAL0 32
+#define ERF_TYPE_INTERNAL1 33
+#define ERF_TYPE_INTERNAL2 34
+#define ERF_TYPE_INTERNAL3 35
+#define ERF_TYPE_INTERNAL4 36
+#define ERF_TYPE_INTERNAL5 37
+#define ERF_TYPE_INTERNAL6 38
+#define ERF_TYPE_INTERNAL7 39
+#define ERF_TYPE_INTERNAL8 40
+#define ERF_TYPE_INTERNAL9 41
+#define ERF_TYPE_INTERNAL10 42
+#define ERF_TYPE_INTERNAL11 43
+#define ERF_TYPE_INTERNAL12 44
+#define ERF_TYPE_INTERNAL13 45
+#define ERF_TYPE_INTERNAL14 46
+#define ERF_TYPE_INTERNAL15 47
+
+/* Pad records */
#define ERF_TYPE_PAD 48
#define ERF_TYPE_MIN 1 /* sanity checking */