Eric Leblond
0809deafc4
Implement function needed for affinity in tm-threads
...
This patch features the implementation of affinity related
changes in tm-threads. In place code has been used but some
refactoring has been done to avoid code duplication.
Signed-off-by: Eric Leblond <eric@regit.org>
16 years ago
Eric Leblond
2011366429
Include affinity in runmodes and threadvars.
...
This small patch add inclusion of util-affinity.h in the
files that will have to use affinity related features.
Signed-off-by: Eric Leblond <eric@regit.org>
16 years ago
Victor Julien
9634389b9e
Fix TmThreadsUnsetFlag not unsetting flag if __sync_fetch_and_nand was used.
16 years ago
Pablo Rincon
fcff1ce7f4
Converting threadvar flags to atomic vars to avoid using the old spinlock
16 years ago
Anoop Saldanha
bbb5bf5c51
allow counters clubbing for detect TM
16 years ago
Victor Julien
53acf08996
Add multi packet reading for pcap live mode. Add a partly lock free multi writer, multi reader ringbuffer.
16 years ago
William Metcalf
2eef905c07
GPL and Copyright header updates.
16 years ago
William Metcalf
ce01927515
Import of GPLv2 Header 050410
17 years ago
Victor Julien
070ed778b8
Libcap-ng support by Gurvinder Singh and myself. Basic support for per thread caps is added, but not activated as it doesn't seem to work yet. Work around for incompatibility between libnet 1.1 and libcap-ng added.
17 years ago
Pablo Rincon
b482471a7d
Adding auto runmodes based on available core/cpu's. Setting thread priorities
17 years ago
Pablo Rincon
e26833be3f
Changing mutex/spinlocks/conditions naming types
17 years ago
Pablo Rincon
769022f4be
Adding support for Mac OS X, FreeBSD, centrailizing mutex/spins/conditions in a macro API, and some unittests
17 years ago
Anoop Saldanha
ceb7e495ae
refactoring perf stats code
17 years ago
Victor Julien
1858be7a2f
Lock threadvars flags using spinlocks.
17 years ago
Anoop Saldanha
3a45b2711c
Fixed the Perf API startup issue
17 years ago
Anoop Saldanha
f35d9f0437
threading improvements. Replaced the use of slot(2/3) with varslot. Improve error handling in slot functions. Additional helper functions for thread creation
17 years ago
Victor Julien
3636ca9703
Adding a "flow" queue handler. This queue handler passes packets of the same flow to the same queue. Changed the default IDS mode to use this.
...
Some output cleanups, shutdown should be cleaner now.
17 years ago
Brian Rectanus
fa5939ca91
64 bit cleanup part2
17 years ago
Anoop Saldanha
53c21410b6
improve the threading api for the ids
17 years ago
Victor Julien
ad093e3021
Add doxygen syntaxed comments to the threadvars structure.
17 years ago
Anoop Saldanha
a5fb240a4a
Changes added for the Performance Counter API
17 years ago
Victor Julien
689bbfdc45
Rename all structure definitions in the "typedef struct _SomeStruct" format to "typedef struct SomeStruct_" to make the Doxygen output more useful.
...
Remove the Trie multi pattern matcher code. It wasn't used anymore.
17 years ago
Victor Julien
9c7f5afa79
Large update: pcap support, threading fixes, initial stream tracking, time handling, pool support, runmodes, decoders added, autojunk update.
17 years ago
Victor Julien
b2eb954099
Add b3g 3gram BNDM pattern matcher. Fix multi queue nfq initialization. Improve speed of b2g and wumanber.
17 years ago
Victor Julien
867d493d7f
Source NFQ update... less hackish, but still needs work as soon as we know how to do configuration.
17 years ago
Victor Julien
bab4b62376
Initial add of the files.
17 years ago