Ethereal-users: [Ethereal-users] Binary test in a Display Filter

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Wes <wes_r@xxxxxxxxx>
Date: Wed, 11 Feb 2004 19:07:07 -0800 (PST)
Hi,

I want to be able to test a particular bit in a
Display Filter. Is this possible?

I currently am just doing a Byte test using something
like this:

rtp.payload[4:1] == 2C

What I really need is to be able to determine if bit 2
of this Byte is set or not.

Thanks,

Wes

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html