I am working on a C program that previously worked fine with structure packing. When I try to add some libipq functionality I get alignment problems on the data coming out of ipq_get_packet(). After removing all structure packing I don't have problems w/ received data, but other areas of my program stop working.

Anybody have some ideas or hints on how to tackle this problem and where to proceed?