Re: [MERGE] Initial netfilter mark patch for comment

From: Andrew Beverley <andy_at_andybev.com>
Date: Sat, 04 Sep 2010 14:50:08 +0100

> >
> > * Do you need an L suffix for large unsigned constants like 0xFFFFFFFF?
> > Please investigate. I do not know the answer, but I recall seeing such
> > suffixes elsewhere:
> > http://www.google.com/search?q=0xFFFFFFFF+vs+0xFFFFFFFFL
>
> I thought that indicated "long" type to be used. When stored as 64-bit
> values.
>
> Which brings up a question of whether it really is an architecture
> dependent int field or uint32_t for mark.

You're right, it's a fixed size. I've checked the kernel code and marks
are defined as u_int32_t/uint32_t.

I'll change to uint32_t throughout.

Andy
Received on Sat Sep 04 2010 - 13:50:26 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 04 2010 - 12:00:03 MDT