aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-erf.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-08-30 03:58:12 +0000
committerGuy Harris <guy@alum.mit.edu>2011-08-30 03:58:12 +0000
commita6fcf8cd45c43251a5b4b7ae41839905e67127e5 (patch)
treef8008c98ce5cfecc9837c069ef00d8157f7f819b /epan/dissectors/packet-erf.h
parentd6798876d6fd6e95b3a49c01ed3324e5411526e1 (diff)
Endace ERF channelisation and "New BFS" extension header support, from
Andrew Kampjes. svn path=/trunk/; revision=38788
Diffstat (limited to 'epan/dissectors/packet-erf.h')
-rw-r--r--epan/dissectors/packet-erf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-erf.h b/epan/dissectors/packet-erf.h
index 0e15810167..6264ddddd2 100644
--- a/epan/dissectors/packet-erf.h
+++ b/epan/dissectors/packet-erf.h
@@ -28,6 +28,10 @@
#define EXT_HDR_TYPE_INTERCEPTID 4
#define EXT_HDR_TYPE_RAW_LINK 5
#define EXT_HDR_TYPE_BFS 6
+#define EXT_HDR_TYPE_CHANNELISED 12
+#define EXT_HDR_TYPE_NEW_BFS 14
+
+#define DECHAN_MAX_AUG_INDEX 4
void proto_reg_handoff_erf(void);
void proto_register_erf(void);
@@ -79,4 +83,16 @@ struct erf_eth_hdrx {
guint8 byte1;
};
+typedef struct sdh_g707_format_s
+{
+ guint8 m_sdh_line_rate;
+ guint8 m_vc_size ;
+ gint8 m_vc_index_array[DECHAN_MAX_AUG_INDEX];
+ /* i = 4 --> ITU-T letter #E - index of AUG-64
+ * i = 3 --> ITU-T letter #D - index of AUG-16
+ * i = 2 --> ITU-T letter #C - index of AUG-4,
+ * i = 1 --> ITU-T letter #B -index of AUG-1
+ * i = 0 --> ITU-T letter #A - index of AU3*/
+}sdh_g707_format_t;
+
#endif