Wireshark mailing list archives

Re: Exposing KRB5 value_strings to other dissectors ...


From: Stephen Fisher <steve () stephen-fisher com>
Date: Tue, 03 Jul 2012 09:22:40 -0600


---- On Tue, 03 Jul 2012 08:45:46 -0600 Richard Sharpe  wrote ---- 

There are protocols that specify the use of KRB5 specified values. Eg,
NegoEx specifies RFC3961 strings.

Rather than simply re-entering these values it would be useful to
reuse the existing value_string variables, but they are static ...

Move them to a separate header file (without the static identifier) and include that in each dissector source file.  
Take a look at packet-x11-keysym.h for an example of sharing a value string, which is used by packet-x11.c and 
packet-vnc.c.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: