Hi all,
I envisage to simplify the rather bulky WSP dissector. Currently there are
tons of field names, one for every format of a given WSP header name and
value. Filtering on those variants does not seem useful to me, and therefore
I am willing to define generic header fields (one for every header type) and
remove the variants. I would define:
- wsp.header.name (textual header name)
- wsp.header.id (7-bit well-known header identifier)
- wsp.header.<header name> (specific WSP header value)
Ideally the 1st and 3rd field would be searchable in a case-insensitive
manner.
Additionally I want to optimize it as I think it is one of the slowest
dissectors available to Ethereal today. Simplifications involve:
- Remove superfluous function calls
- Use macros or G_INLINE functions for common tasks
- Replace lengthy WSP header switch() with a header dissect function array
Please let me know if there are objections to the steps above!
Regards,
Olivier