http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45793
User: mmann
Date: 2012/10/25 07:15 PM
Log:
Improve Modbus/TCP dissector, Part 1
This is a portion of the patch supplied in bug 7902 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7902). Breaking the functionality up into smaller chunks.
This definitively breaks the Modbus dissection into 3 dissectors:
Modbus - real protocol PDU
Modbus/TCP - Encapsulation of Modbus over TCP (with a small header before PDU)
Modbus RTU - Originally an encapsulation of Modbus over serial (with smaller header + CRC), but can also be sent over TCP.
General cleanup/refactoring (including display filter names) based on the 3 dissectors.
Also included:
1. Enhanced dissection to include preferences for register data to be dissected as UINT16, UINT32 or FLOAT
2. Dynamic port registration
3. Additional fields now filterable
Directory: /trunk/epan/dissectors/
Changes Path Action
+11 -2 packet-cip.c Modified
+779 -224 packet-mbtcp.c Modified
+40 -26 packet-mbtcp.h Modified