Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

BER seems to be a special case:
New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).

A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()).

Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax().


ber_syntax_dissector_table = register_dissector_table("ber.syntax", "BER syntax", proto_ber, FT_STRING, STRING_CASE_SENSITIVE);

It look like a regular dissector table but I'm not yet sure why the Lua dissectortable:add_for_decode_as(proto) does not work on it.