Can multiple taps listeners use the same "void *tapdata" parameter?
All tap listeners would be registered in the same file. Each tap listener would listen to different protocol. The purpose is that they all have access to the same variable (struct), which is made possible by using the same variable tapdata, which is the 2nd parameter of function register_tap_listener().
I tried to register another tap listener in the file "ui/mcast_stream.c". For each tap I created its own ..._packet() function and it worked perfectly, but when I close the window of the table of this multicast statistics, the wireshark crashes due to "segmentation fault".