Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] how to get UDP payload from the UDP tap

From: Miha Jemec <m.jemec@xxxxxxxxxxx>
Date: Thu, 24 Aug 2006 15:59:43 +0200
Hi!

If if register tap for UDP packets and then get the "mcaststream_packet"
routine called every time UDP packet is seen by the tap listener, where
is the UDP payload hidden (what it the easiest/right way to access it)
in this function:

static int mcaststream_packet(void *arg, packet_info *pinfo,
epan_dissect_t *edt _U_, const void *arg2 _U_)
{
...

Thanks for a hint,

Miha