aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtn.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-05-23 06:25:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-05-23 06:25:00 +0000
commitab58c26ff3f496e7e2847f15ab87cfd413988e1c (patch)
tree883ab1298b6aa2144067ee0ee874f2755a230077 /epan/dissectors/packet-dtn.h
parent322c827a42ba9248eded43a8417a72685558d38a (diff)
From Jim Wright:
Enhance the DTN dissector so that it understands ECOS blocks (Extended Class of Service) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7242 svn path=/trunk/; revision=42804
Diffstat (limited to 'epan/dissectors/packet-dtn.h')
-rw-r--r--epan/dissectors/packet-dtn.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtn.h b/epan/dissectors/packet-dtn.h
index 342fd59bb1..5d42ea0009 100644
--- a/epan/dissectors/packet-dtn.h
+++ b/epan/dissectors/packet-dtn.h
@@ -102,7 +102,7 @@
#define BUNDLE_BLOCK_TYPE_METADATA_EXTENSION 0x08 /* RFC6258 */
#define BUNDLE_BLOCK_TYPE_EXTENSION_SECURITY 0x09 /* RFC6257 */
#define BUNDLE_BLOCK_TYPE_CUSTODY_TRANSFER 0x0a /* http://bioserve.colorado.edu/bp-acs/ */
-#define BUNDLE_BLOCK_TYPE_EXTENDED_CLASS 0x13 /* http://tools.ietf.org/html/draft-irtf-dtnrg-ecos-02 */
+#define BUNDLE_BLOCK_TYPE_EXTENDED_COS 0x13 /* http://tools.ietf.org/html/draft-irtf-dtnrg-ecos-02 */
/* Payload Header Processing Flags */
#define PAYLOAD_PROCFLAGS_REPLICATE_MASK 0x01
@@ -142,6 +142,11 @@
#define BLOCK_CONTROL_NOT_PROCESSED 0x20
#define BLOCK_CONTROL_EID_REFERENCE 0x40
+/* ECOS Flags */
+#define ECOS_FLAGS_CRITICAL 0x01
+#define ECOS_FLAGS_STREAMING 0x02
+#define ECOS_FLAGS_ORDINAL 0x04
+
#define IPN_SCHEME_STR "ipn"
int evaluate_sdnv(tvbuff_t *tvb, int offset, int *bytecount);