aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Santes <flavio.santes@1byt3.com>2017-10-15 02:33:56 -0400
committerStig Bjørlykke <stig@bjorlykke.org>2017-10-16 09:31:53 +0000
commit5967621d19204947021932ea86f1e55fbe810124 (patch)
tree04ed7379bc223e3211bd994ee4af8489b94694e2
parentf7054dcf0569756ad4f0f1fe32d785b91c4c05a4 (diff)
dissector/mqtt: Add the MQTT protocol description
The packet-PROTOABBREV.c template recommends to provide a short description of the protocol below the license header. Currently, this information is not present in the packet-mqtt.c dissector. This patch adds the protocol description taken from the official specification. Links to the v3.1 and v3.1.1 specifications are also provided by this patch. Change-Id: I9bb85aa3b78c8804c923f77c163904a7949f6899 Signed-off-by: Flavio Santes <flavio.santes@1byt3.com> Reviewed-on: https://code.wireshark.org/review/23936 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
-rw-r--r--epan/dissectors/packet-mqtt.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mqtt.c b/epan/dissectors/packet-mqtt.c
index 0ec71507c3..129d5c38f0 100644
--- a/epan/dissectors/packet-mqtt.c
+++ b/epan/dissectors/packet-mqtt.c
@@ -1,7 +1,5 @@
/* packet-mqtt.c
* Routines for MQTT Protocol dissection
- * http://mqtt.org
- * This dissector dissects MQTT data transfers as per MQTT V3.1 and V3.1.1 Protocol Specification
*
* By Lakshmi Narayana Madala <madalanarayana@outlook.com>
* Stig Bjorlykke <stig@bjorlykke.org>
@@ -25,6 +23,21 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+/*
+ * Protocol description:
+ *
+ * MQTT is a Client Server publish/subscribe messaging transport
+ * protocol. The protocol runs over TCP/IP, or over other network
+ * protocols that provide ordered, lossless, bi-directional
+ * connections.
+ *
+ * MQTT v3.1 specification:
+ * http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html
+ *
+ * MQTT v3.1.1 specification:
+ * http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/
+ */
+
#include "config.h"
#include <epan/packet.h>
#include <epan/dwarf.h>