inliniac/suricata — pull request #821 by ken-tilera (2014-02-05 23:31:40+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-pcap/builds/37
https://buildbot.suricata-ids.org/builders/ken-tilera/builds/103

This replaces PR 741 (https://github.com/inliniac/suricata/pull/741)