Wireshark mailing list archives
accessing multiple occurrences of the same field with lua
From: Cristian Constantin <const.crist () googlemail com>
Date: Wed, 6 Mar 2013 14:02:53 +0100
hi! some protocols are structured in chunks which have the same structure but differ in content. examples: - diameter (avps) - sigtran suite (parameters) - sctp (data chunks) how to access with lua a certain field in such a chunk? NOT necessarly the first. for example, using: local param_len = Field.new("m3ua.parameter_length") and later on in the tap.packet(): local len = param_len() will get me only the length of whatever is the first m3ua parameter. how to get the length of the second, third aso?? thanks a lot! 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:
- accessing multiple occurrences of the same field with lua Cristian Constantin (Mar 06)
- Re: accessing multiple occurrences of the same field with lua Tony Trinh (Mar 06)
- Re: accessing multiple occurrences of the same field with lua Cristian Constantin (Mar 08)
- Re: accessing multiple occurrences of the same field with lua Hadriel Kaplan (Mar 08)
- Re: accessing multiple occurrences of the same field with lua Cristian Constantin (Mar 09)
- Re: accessing multiple occurrences of the same field with lua Hadriel Kaplan (Mar 09)
- Re: accessing multiple occurrences of the same field with lua Cristian Constantin (Mar 08)
- Re: accessing multiple occurrences of the same field with lua Tony Trinh (Mar 06)
- Re: accessing multiple occurrences of the same field with lua Cristian Constantin (Mar 08)