Wireshark LUA plugin
This is an example of a LUA plugin for Wireshark which goes through the packets and generates a statistic.
In my case, I was looking for Diameter Charging-Control stats around Reporting-Reason Valdity-Time.
The project is hosted in GitHub.