[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-dev
Subject:    [ovs-dev] [PATCHv3 03/11] types: Add big-endian 128-bit types.
From:       joestringer () nicira ! com (Joe Stringer)
Date:       2015-09-30 16:43:10
Message-ID: CANr6G5w9ztrSaVRXEYXg+X33Wp2K+eCtMxA3PDTQw7pJk1=wfQ () mail ! gmail ! com
[Download RAW message or body]

On 29 September 2015 at 23:37, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Sep 29, 2015 at 01:40:26PM -0700, Joe Stringer wrote:
>> These types will be used by the following patches to ensure a consistent
>> wire format for 128-bit connection tracking labels.
>>
>> Signed-off-by: Joe Stringer <joestringer at nicira.com>
>
> On a big-endian system, I don't think hton128() and ntoh128() functions
> should swap hi and lo.

True. I guess that the order of the elements within the u128 should
also be endian-dependent. I'll respin.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic