The ipmitool source code has a mixed batch of different structure
packing code.
There is an #ifdef HAVE_PRAGMA_PACK control that does not work to
enable/disable #pragma pack.
There are instances of hard coded attribute entries.
There are hard coded enable/disable modes.
This commit creates a uniform structure.
The HAVE_PRAGMA_PACK in config.h correctly controls using the "#pragma
pack" or the attribute functionality.
Changes to packing via the pragma functionality is done using matched
push/pop actions to allow temporary override of packing. Prior packing
levels are then restored.
Signed-off-by: Johnathan Mantey johnathanx.mantey@intel.com