mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This patch adds a data release mechanism. If the capture module has a call to indicate that userland has finished with the data, it is possible to use this system. The data will then be released when the treatment of the packet is finished. To do so the Packet structure has been modified: + TmEcode (*ReleaseData)(ThreadVars *, struct Packet_ *); If ReleaseData is null, the function is called when the treatment of the Packet is finished. Thus it is sufficient for the capture module to code a function wrapping the data release mechanism and to assign it to ReleaseData field. This patch also includes an implementation of this mechanism for AF_PACKET. |
13 years ago | |
---|---|---|
benches | ||
contrib/file_processor | ||
doc | ||
libhtp | ||
m4 | ||
qa | ||
rules | ||
src | ||
.gitignore | ||
COPYING | ||
ChangeLog | ||
LICENSE | ||
Makefile.am | ||
Makefile.cvs | ||
acsite.m4 | ||
autogen.sh | ||
classification.config | ||
configure.ac | ||
doxygen.cfg | ||
mkinstalldirs | ||
reference.config | ||
suricata.yaml.in |