aboutsummaryrefslogtreecommitdiff
path: root/build-aux/check-structs
AgeCommit message (Collapse)Author
2011-10-04check-structs: Add check that OFP_ASSERT is checking the right structures.Ben Pfaff
This avoids a fairly common issue in which a developer cuts and pastes a structure definition and forgets to update the structure name inside the OFP_ASSERT, so that the new structure's size doesn't really get checked at all.
2011-02-05openflow: Use types and accessors for half-aligned 64-bit fields.Ben Pfaff
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.
2011-01-12python: Use os.path.basename instead of open-coding it.Ben Pfaff
Reported-by: Justin Pettit <jpettit@nicira.com>
2010-10-29Make the ovs_be<N> types generally available.Ben Pfaff
Using these types for data in network byte order makes code clearer, and allows the "sparse" checker to give warnings for misuse.
2010-01-25Add build checks for portable OpenFlow structure padding and alignment.Ben Pfaff
This causes the build to fail with an error message if openflow.h contains a structure whose members are not aligned in a portable way.