aperezdc / snabb

Snabb Switch: Fast open source packet processing
Apache License 2.0
4 stars 1 forks source link

Generate ndpi/protocol_ids.lua from nDPI headers #3

Closed aperezdc closed 8 years ago

aperezdc commented 8 years ago

This implements a small scripts which parses the ndpi_protocol_ids.h header (which is part of the public API of nDPI) and generates a Lua module with the parsed protocol, service, and content identifiers used by the nDPI library.

Also included there is a version of ndpi/protocol_ids.lua generated using the script, using the header for version 1.6 of nDPI.

This tackles issue #2