Commit Graph

21 Commits (40a819d5a613c88502ca22649affea288a8e4c0b)

Author SHA1 Message Date
Victor Julien 1c0b4ee0ae counters: s/SCPerfCounterIncr/StatsIncr/g 10 years ago
Victor Julien e9b067c1eb counters: make increment call take threadvars
This hides the implementation from the caller.
10 years ago
Victor Julien 9a8bff7d96 counters: threadvars s/sc_perf_pca/perf_private_ctx/g 10 years ago
Eric Leblond b2c58b8d14 Set packet invalid flag during decoding.
This patch set a new value in pkt->flag to signal that a packet is
invalid during decoding. The patch has been obtained via a coccinelle
transformation.
11 years ago
Eric Leblond d4b7ecfbe3 decode: update API to return error
In some cases, the decoding is not possible and some really invalid
packet can be created. This is in particular the case of tunnel. In
that case, it is more interesting to forget about the tunneled
packet and only consider the original packet.

DecodeTunnel function is maked as warn_unused_result because it is
meaningful for the decoder to know if the underlying data were not
correct. And in this case, only focus detection on the content.
11 years ago
Victor Julien 49087f21e4 Optimizations to reduce branch misses 11 years ago
Eric Leblond acf10525f6 doc: add decode group and related documentation. 13 years ago
Eric Leblond 7425bf5ca6 Rename some decode event structure and macro.
This patch renames DECODER_SET_EVENT, DECODER_ISSET_EVENT and some
other structures to ENGINE equivalent to take into account the fact
the event list is now related to all engines and not only to decoder.
13 years ago
William Metcalf 2eef905c07 GPL and Copyright header updates. 15 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 15 years ago
Breno Silva b02bb6b6b4 VLAN Support 15 years ago
Victor Julien ecf86f9c23 Rename to Suricata. 15 years ago
Gurvinder Singh fc2f7f29fa app layer htp error handling and fixes for memory leaks and segv 15 years ago
Anoop Saldanha ceb7e495ae refactoring perf stats code 15 years ago
Victor Julien 0d0ffb9963 Reorganize header inclusions. 15 years ago
Victor Julien 57f71f7e4b Pass the DecodeThreadVars to all Decoder functions properly. Improve the error handling. 15 years ago
Anoop Saldanha 244f5d547a new registration functions for the stats api, with local thread storage for counter ids 15 years ago
Brian Rectanus fa5939ca91 64 bit cleanup part2 15 years ago
Anoop Saldanha d0e70309c0 Implements counters for the decode module 15 years ago
Victor Julien 2c8df73d24 Add decoder events to ethernet and sll decoding. 15 years ago
Victor Julien 9c7f5afa79 Large update: pcap support, threading fixes, initial stream tracking, time handling, pool support, runmodes, decoders added, autojunk update. 15 years ago