How to improve Wireshark dissector design with C-code autogenerator