ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] RTCP Heuristic decoder

From: vinayak kamath <vins.sunysb@xxxxxxxxx>
Date: Thu, 10 Sep 2009 16:30:17 -0700
Hi,

We have our own custom decoder for a tweaked version of RTCP protocol.
Heres the code snippet where in we say anything on this udp.port send the message to custom decoder.
##########################################################
if(!TWS_PortList("FOO", configFile, (int*)portList, MAXPORTS))
      {
        while (count < MAXPORTS && portList[count]!=0)
        {
            dissector_add("udp.port", portList[count], foo_handle);
            count++;
        }
      }
##########################################################

But still wireshark decodes it as RTCP rather than FOO.
FYI: Plugin gets registered fine.

Any ideas ???

-vinayak