Date: 2009/03/18 02:59 PM
Create an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
generated from pycrc. The command line used to generate the file is in
epan/crc/Makefile.common. I used "plain" to distinguish it from CCITT,
USB, and other 16-bit CRCs. Integrate the new CRC code into our
Add crc16_plain_tvb_offset() to epan/crc16.[ch] and use it in
plugins/profinet/packet-pn-rt.c. This _should_ work correctly, but
hasn't been tested.
I've just checked your CRC changes and it's looking good.
I've removed the CRC GPLv2 code from the PROFINET plugin.
Thanks a lot for your work on this task. My feeling is that this
solution is now much better than having more or less generic CRC code in
the PN dissector anyway :-)