Re: [Wireshark-dev] Dissector question: reuse of common subsets

2009-04-20 Thread Jeff Morriss
kfor...@nhhancocks.net wrote: > I think I'm missing something pretty basic on dissectors around reusing > subsets of a protocol vs. the need to enumerate everything in the hf[] > array. [...] > and I'd just parse through field-by-field, however this gets incredibly > unwieldy as the number of

[Wireshark-dev] Dissector question: reuse of common subsets

2009-04-18 Thread kforums
Apologies if this came through twice...I didn't see it make it into a digest. I think I'm missing something pretty basic on dissectors around reusing subsets of a protocol vs. the need to enumerate everything in the hf[] array. I can illustrate by a sample protocol foo; in pseduo-code: enum {