|
|
||
|
|
||
|
|
||
|
|
||
![]()
Product Support
Product Activation FAQs
Downloads
Maintenance Programs
White Papers
WildPackets Forums
Technical Compendium
Additional Resources
Tip of the Month
Wireless Tips
Plugin Tips
Product Versions
Networking Books
Networking Glossary
Networking Links
Tech Support Requests
|
May 2002So Many Questions, So Little Time!Do I start counting at 1 or 0? These and many other natty questions can be easily answered with WildPackets Analyzers! (Tip: Jump to the end if you don't have enough time to read this through now!) First, a little background: Advanced filters are detailed filters possibly focused at a bit level value. Traditionally, when we make a filter at the bit level, we highlight the value in the decode view and see the hex value highlighted in the Hex view. We would count over from the offset value on the left to get the offset for our value. If the bit fell into a byte field that shared bits with other offsets, we would have to define our 'mask.' The Mask is the portion of the Byte that we need to look at to define our value, the rest of the bits we don't care about.
The mask portion is the portion of the bits that are turned on...
Each Byte is 8 bits... so 1*8=8
of those 8 bits, each may be on or off (1 or 0):
Think of this example as 1111 1111. The value for the bits to change from binary to decimal is this:
Example:
The mask portion is what is looked at with a binary "and." For example:
Remember:
1 means "I care" Furthermore, these values are broken from binary to hex (base 16). Hex looks like this 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14... (you can do more research with these values on your windows calc to see the value in decimal, binary and hex). So Hex E = binary 1110 = decimal 14. The good news is that WildPackets Analyzers do not require you to do these translations! Right-click (Windows) or Control-Click (MAC) on the desired value and a special menu will appear. Select 'Make Filter' and the value is inserted auto-magically into a new filter, saving you quite a bit of time and unnecessary effort! |
|
||||||||||||
| COPYRIGHT © 2008 WILDPACKETS, INC — PRIVACY STATEMENT · CONTACT US | CORPORATE · PRODUCTS · SOLUTIONS · SERVICES · SUPPORT · PARTNERS · BUY NOW |
|
All registered and unregistered trademarks are the sole property of their respective owners |
|
China
Japan
UK
United States



