Wireshark mailing list archives
Dictionary.xml - Bit mapping of AVP value
From: main tain <maintest () hotmail com>
Date: Mon, 1 Nov 2010 14:40:05 +0000
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)