I have created an ASN1 dissector that does not require any detail in the
protocol.cnf file, however there are several nodes in the ASN file that report
integer values that represent actions not detailed.
How do I modify the protocol.cnf file to include these arrays that would permit
the dissector to report the action instead of the integer?
Perhaps an example would help:
Here is a snippet from the protocol.asn file:
FooInfo ::= SEQUENCE
{
fooIndex INTEGER (0..63)
}
A value_string array for fooIndex might be:
static const value_string fooIndex[] = {
{ 0x00, "First Value"},
{ 0x01, "Second Value"},
etc ...
}
My question is how should the protocol.cnf file be modified to include the
value_string array?
Thanks for your help.
Alex Lindberg
[email protected]
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe