odp-netlink.h: Use 32-bit aligned 64-bit types.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Jun 2014 22:28:29 +0000 (15:28 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 4 Aug 2014 18:11:44 +0000 (11:11 -0700)
commit6a54dedc66931ef01c3cabb6d6fd481461c99687
treed4e3bb094193c88a639fae7302ac460c9389062c
parent837eefc76b3c79bb790a4c4c2d0a314d81b71a28
odp-netlink.h: Use 32-bit aligned 64-bit types.

Open vSwitch userspace uses special types to indicate that a particular
object may not be naturally aligned.  Netlink is one source of such
problems: in Netlink, 64-bit integers are often aligned only on 32-bit
boundaries.  This commit changes the odp-netlink.h that is transformed from
<linux/openvswitch.h> to use these types to make it harder to accidentally
access a misaligned 64-bit member.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
build-aux/extract-odp-netlink-h
lib/dpif-linux.c
lib/netdev-linux.c