Thanks for the reference and for your prompt response.
From: anders.broman@xxxxxxxxxxxx To: wireshark-users@xxxxxxxxxxxxx Date: Mon, 1 Nov 2010 16:23:48 +0100 Subject: Re: [Wireshark-users] Dictionary.xml - Bit mapping of AVP value
Hi,
Unfortunatly
that is not possible in the .xml files, you would have to code that in
packet-diameter_3gpp.c if it's a 3gpp AVP
or in a
similar way for standard or other vendors AVP:s.
Regards
Anders
Ref see the
code for:
/* AVP Code: 1405 ULR-Flags */
static int
dissect_diameter_3gpp_ulr_flags(tvbuff_t *tvb _U_, packet_info *pinfo _U_,
proto_tree *tree _U_) {
Hi,
How can I map each bit of the value of an AVP to a boolean
field?
I have an Unsigned32 AVP on diameter trace which I can get
wireshark to dissect, but instead of presenting me the value of the AVP I would
like to have a list of features mapped to each bit of the value. Similar to what
you get with the TCP flags.
Example:
If the value is 18 hex, I
would like to have:
0--- ---- = Feature 0 =
Off -0-- ---- = Feature 1 = Off --0-
---- = Feature 2 = Off ---1 ---- = Feature 3 =
On ---- 1--- = Feature 4 = On ----
-0-- = Feature 5 = Off ---- --0- =
Feature 6 = Off ---- ---0 = Feature 7 = Off
Thanks
in advance, Martin
___________________________________________________________________________
Sent via: Wireshark-users mailing list
Archives: http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe
|