Wireshark mailing list archives

Re: accessing multiple occurrences of the same field with lua


From: Cristian Constantin <const.crist () googlemail com>
Date: Fri, 8 Mar 2013 16:47:52 +0100

On Thu, Mar 7, 2013 at 3:04 AM, Tony Trinh <tony19 () gmail com> 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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: