Wireshark mailing list archives
Re: Dictionary.xml - Bit mapping of AVP value
From: Anders Broman <anders.broman () ericsson com>
Date: Mon, 1 Nov 2010 16:23:48 +0100
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_) { ________________________________ From: wireshark-users-bounces () wireshark org [mailto:wireshark-users-bounces () wireshark org] On Behalf Of main tain Sent: den 1 november 2010 15:40 To: wireshark-users () wireshark org Subject: [Wireshark-users] Dictionary.xml - Bit mapping of AVP value 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 <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Dictionary.xml - Bit mapping of AVP value main tain (Nov 01)
- Re: Dictionary.xml - Bit mapping of AVP value Anders Broman (Nov 01)
- Re: Dictionary.xml - Bit mapping of AVP value main tain (Nov 01)
- Re: Dictionary.xml - Bit mapping of AVP value Anders Broman (Nov 01)