inliniac/suricata — pull request #903 by ken-tilera (2014-03-20 18:44:06+00:00)
Title:  Add Packed attribute on Header structures

Structures that are used to cast packet data into fields need to be packed
so that the compiler doesn't add any padding to these fields.

This also helps Tile-Gx to avoid unaligned loads because the compiler will insert code to
handle the possible unaligned load.

Passes all regression tests:
https://buildbot.suricata-ids.org/builders/ken-tilera/builds/131
https://buildbot.suricata-ids.org/builders/ken-tilera-pcap/builds/65

Replaces PR 821 (remastered)