On Mon, Nov 12, 2001 at 05:04:59PM -0800, Bill Fenner wrote:
> However, it's not clear that comparisons with bits of
> the packet should always be signed,

I suspect most of them should be unsigned; fields in packets seem
largely to be unsigned if they're integers (as opposed to, in effect,
just buckets of bits).

> Perhaps the language should grow an explicit request to
> the code generator to generate signed comparisons (or to tag pieces of
> expressions as signed, e.g. signed(tcp[4:4]) < 0).

I like the "signed" tag.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to