9aeb1dac17
Add a configuration parameter of the NWG version for WiMAX ASN CP dissector. The format and meaning of TLVs, as well as function types and messages changed between the different NWG versions. Added support for the version number of TLVs in the dictionary xml, its parser, and of course in the packet itself. Added support for the version number of function-types and message-types by extending the value_string structure to contain also a "since" version number. Successfully tested with a live capture and capture file, containing WiMAX ASN packets (full Network entry). Also fuzzed 500 passes successfully. The XML doesn't contain all existing NWG versions, only selected ones. This is a little tedious work to go over all TLVs of each version, so I'll add some newer versions later on. can add a short how-to of adding a new version, for others to use, if needed. svn path=/trunk/; revision=34919
20 lines
322 B
XML
20 lines
322 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- $Id$ -->
|
|
|
|
<!ELEMENT dictionary (tlv+)>
|
|
|
|
<!ELEMENT tlv (enum*)>
|
|
<!ATTLIST tlv
|
|
name CDATA #REQUIRED
|
|
type CDATA #REQUIRED
|
|
decoder CDATA #IMPLIED
|
|
since CDATA #IMPLIED
|
|
>
|
|
|
|
<!ELEMENT enum EMPTY>
|
|
<!ATTLIST enum
|
|
name CDATA #REQUIRED
|
|
code CDATA #REQUIRED
|
|
>
|