ofp-actions: Introduce macro for padding struct members.
authorBen Pfaff <blp@ovn.org>
Thu, 18 Feb 2016 18:12:04 +0000 (10:12 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 20 Feb 2016 00:15:45 +0000 (16:15 -0800)
commit9193d14524c4408c0d3d5aab4752f44852285e6f
tree7b6bd212f2f51122d855eb0c05f2b9eaf48c8d8c
parente4105d1efbb00cb2af082b70093ad31e67e9a01f
ofp-actions: Introduce macro for padding struct members.

An upcoming commit will add another case where it's desirable to ensure
that a variable-length array is aligned on an 8-byte boundary.  This macro
makes that a little easier.

Signed-off-by: Ben Pfaff <blp@ovn.org>
CC: Joe Stringer <joe@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
lib/ofp-actions.h