fix pf_ring build
Fix Tile compile
pf_ring: avoid to ask for extended header.

This patch update pf_ring capture to avoid to ask for extended
header. They are only needed when rxonly checksum checks is used
and this is only possible when interface is not a DNA interface.
fix for #915.  Fix segv when we send NULL to snprintf.
unittest: recycle packet before exit

To avoid an issue with flow validation, we need to recycle the packet
before cleaning the flow.
unittests: some functions needs a flow lock.

In debug validation mode, it is required to call application layer
parsing and other functions with a lock on flow. This patch updates
the code to do so.
unittests: fix stream-tcp.c

Lock and recycle fixes for stream-tcp.c
IsRuleReloadSet() shouldn't return an uninitialized value
Enable using Tile cycle counter.

The Tile processors all have a cycle counter with a simple interface. Use
that for UtilCpuGetTicks.
Rearrange ac state.

Notice a minor speed bump of around 2% on runs.  More updates to follow.
Fixes segv inside rule swap under low mem conditions.

We now gracefully exit rule swap on any allocation or other failures.
Added the new files containing the repeated functions
- Renamed the functions to something more generic
- Added the source and include files to the Makefile
Now using the common functions
- Removed some non printable ANSI characters
- Removed unecessary include
Now using the common functions
fix for #920.

Cull the space before the address specified in address var variables.
fix for #932.

ipv6 tunnel decoder wrongly treats the tunneled ipv6 packets as an ipv4
packet.
Tile SIMD implementation of SCMemcmp and SCMemcmpLowercase

Based on the SSE3 implementation, it checks 8 bytes at a time.
Use Tilera SIMD for Signature matching ala SSE3

Makes use of 8-wide byte compare instructions in signature matching.

For allocating aligned memory, _mm_malloc() is SSE only, so added
check for __tile__ to use memalign() instead.

Shows a 13% speed up.
Create SCMUTEX_INITIALIZER to abstract out PTHREAD_MUTEX_INITIALIZER

This allows replacing pthread mutexes with other types of mutex.
Merge multiple copies of CreateTimeString() to one copy.

There were 8 identical copies of CreateTimeString() in 8 files.
Most used SCLocalTime, to replace localtime_r(), but some did not.
Created one copy in util-time.c.