aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/utils.c
AgeCommit message (Collapse)Author
2016-11-23libqcdm,libwmc: use C99 sized types from stdint.hAleksander Morgado
2012-05-30qcdm: namespace stuff properlyDan Williams
2012-01-03qcdm: remove usage of glibDan Williams
People have asked for this at various times.
2010-03-31qcdm: fix endian issues for BE platformsDan Williams
And add a testcase for packet encapsulation to ensure we don't have further endian issues in the future.
2010-03-29qcdm: fix CRC checking on some packetsDan Williams
Should be pointing to the CRC location in the *unescaped* packet buffer since the CRC is subject to escaping/unescaping. Previous code pointed to the wrong location in the escaped packet buffer, which was often pointing to the write place if there weren't many escaped bytes in the input buffer, but was still wrong.
2010-02-22qcdm: fix QCDM packet decapsulationDan Williams
Rename and document the encapsulate/decapsulate functions, CRC-check the incoming packet, and make callers aware of the difference in how big the decapsulated packet is versus how many bytes they should discard from the buffer (since the decapsulated packet is at least 3 bytes shorter than the incoming packet due to the CRC + framing).
2010-02-16qcdm: implement command handling and minimal infrastructureDan Williams
2010-02-08qcdm: add DM protocol utilities and testcasesDan Williams
Bits for CRC calculation and frame escaping/unescaping.