aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bfd.h
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-28 17:59:54 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-28 17:59:54 +0000
commit2b89c2a0c94fa72880cc4566ee0514b340c69070 (patch)
treeb146bf32d53ea6c5a732d1d65c5d6fbb91a09ba0 /epan/dissectors/packet-bfd.h
parent9549d911d740dc1bbb4e3af4a91c8d62a9d5e9d5 (diff)
From Krishnamurthy Mayya:
Part of patch: 2. BFD extension has been added as per RFC 6428, to decode the BFD packet with ACH encapsulation(without IP/UDP header encapsulation). The channel type in ACH header identifies the BFD payload as BFD CC or CV packet. Also decoding for MPLS-TP source MEP-ID TLV in BFD CV packet has been added. applied with a change to add packet-bfd.h https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6610#add_comment git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40029 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bfd.h')
-rw-r--r--epan/dissectors/packet-bfd.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bfd.h b/epan/dissectors/packet-bfd.h
new file mode 100644
index 0000000000..a52f91541a
--- /dev/null
+++ b/epan/dissectors/packet-bfd.h
@@ -0,0 +1,30 @@
+/* packet-bfd.h
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef PACKET_BFD_H
+#define PACKET_BFD_H
+
+void dissect_bfd_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+void dissect_bfd_mep (tvbuff_t *tvb, proto_tree *tree);
+
+#endif \ No newline at end of file