I want to wrap expert_add_info calls so that I can check the expert_field* 
argument, see if the severity is PI_ERROR, and set a generated field in my 
protocol that says “this packet has errors”.

 

The EXPERT_REGISTRAR_GET_NTH macro would be great, but the underlying 
gpa_expertinfo isn’t available to plugin dissectors. Is there some way to start 
with the expert_field* and get to the expert_field_info* ?

 

Thank you,

Jay Turner

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

Reply via email to