openflow: Use types and accessors for half-aligned 64-bit fields.
authorBen Pfaff <blp@nicira.com>
Tue, 18 Jan 2011 19:50:56 +0000 (11:50 -0800)
committerBen Pfaff <blp@nicira.com>
Sat, 5 Feb 2011 21:14:49 +0000 (13:14 -0800)
commitc4617b3c28b9a96e09fdbbe2682b875dbfeaec5b
tree7f56a084c13c2773f187807a8670f7e2f32c9736
parent7bef2c918ac077da2156697ca821820e56561b9e
openflow: Use types and accessors for half-aligned 64-bit fields.

Without this commit, many of the unit tests for ofp-print.c fail with bus
errors on RISC architectures (tested on sparc) and presumably so would any
other code that uses these same struct members.
build-aux/check-structs
include/openflow/openflow.h
lib/ofp-print.c
ofproto/ofproto.c