Subject: Re: Endianness problem with u32 classifier hash masks

From: Jarek Poplawski <[email-masked]>
Date: Tue, 06 Nov 2007 01:12:54 +0100

Jarek Poplawski wrote, On 11/06/2007 01:02 AM:
...

> on little endian (net order):
> f0.0f.00.00 >> 4  gives: 0f.00.0f.00 then ntohl: 00.0f.00.0f with lsb: 0f

should be:
f0.0f.00.00 >> 4  gives: 0f.00.f0.00 then ntohl: 00.f0.00.0f with lsb: 0f

Jarek "Sleeping" P.