ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] accessing multiple occurrences of the same field with lua

From: Cristian Constantin <const.crist@xxxxxxxxxxxxxx>
Date: Fri, 8 Mar 2013 16:47:52 +0100
On Thu, Mar 7, 2013 at 3:04 AM, Tony Trinh <tony19@xxxxxxxxx> wrote:

>
> function tap.packet()
>   local lengths = { param_len() }
>   for i,len in ipairs( lengths ) do
>       print( '['..i..']', len )
>   end
> end

cristian: hi again. thanks again for the example.

anyway, in case of:

- multiple sctp DATA chunks (sctp DATA chunk bundling) containing
- multiple m3ua parameters

is this supposed to iterate over all the m3ua parameters (i.e. across
sctp data chunks)?
it does not seem so.

any idea how to iterate over the multiple sctp DATA chunks as well??

bye now!
cristian