My dissector has a (User Accsess Table) UAT related to it. I found that it is parsed every time wireshark dissects a relevant packet. I only want the UAT parsed once not every time wiresharks dissect a packet by using my dissector. Can I control this? if yes, how can I do so? Note: My parsing function currently is defined in packet-foo.c and is called in dissect_foo(). Thanks flora asked 09 Mar '15, 12:50 flora edited 10 Mar '15, 08:40 |
2 Answers:
By placing the call to the parsing function in proto_reg_handoff_foo() instead of dissect_foo(). answered 10 Mar '15, 11:06 flora |
How about answered 10 Mar '15, 09:21 Jaap ♦ |
Is this a different function from proto_register_foo()? I already have uat_new() and prefs_register_uat_preference() in proto_register_foo()
thanks Jaap. I've just resolved the issue.