This repo contains ports and implementations in other languages and for other systems.
See the main repository for the Linux C++ implementation. Have a look at parser.{h,cpp} for the packet parser.
Please submit your code under a free license. LGPLv3 is a good choice for libraries at the moment.
An embedded implementation in C which was orginally was written for a Infineon Aurix TC275.