Ask Your Question

Revision history [back]

Several core dissectors do this, an example is diameter that loads diameter.xml. Look at function dictionary_load().

Note that reading the xml file should be done at dissector start-up, or when a preference is modified, not during dissection, that would kill performance.