Ethereal-dev: Re: [Ethereal-dev] Bitwise operators

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Mon, 16 Feb 2004 21:54:18 +0100
Here's a first attempt at adding bitwise AND and bitwise OR (the
latter doesn't really make sense in a boolean evaluation, I know).
Please note that the GTK code complains about "&" as it expects this
to be part of a valid character entity (which it isn't).

Have fun and comment :)

Regards,

Olivier

----- Original Message ----- 
From: Olivier Biot


| Hi list,
|
| I am working on adding bitwise AND and bitwise OR to the display
| filter language (and writing an HOWTO at the same time :^), and I
| already have a question: how do I efficiently check byte sequences
(I
| currently do this in a very simple fashion with an iteration over
the
| bytes for the "bytes" like field types.)
|
| Additionally, should I take care of padding when an integer bit
field
| has been given?
|
| Regards,
|
| Olivier

Attachment: cvs.diff.gz
Description: GNU Zip compressed data

Attachment: README.dfilter
Description: Binary data