1 | initial version |
No tool I know of exists to do that. It could perhaps be done by a tedious manual process of translating field names to the byte offsets, or one could instead go through a tedious manual process of writing code to do that.
Note that nowhere in the Wireshark code is there a table to map field names to offsets - for some named fields, there isn't even a guarantee that the field will always appear at the same offset in a packet!