snort: add support for DIOCTL_GET_PRIV_DATA_LEN 09/43609/2
authorMohsin Kazmi <[email protected]>
Fri, 19 Sep 2025 16:07:56 +0000 (16:07 +0000)
committerDamjan Marion <[email protected]>
Sun, 21 Sep 2025 11:23:03 +0000 (11:23 +0000)
commitbfcbe20a0a98b6bc8d430439df6f10003107419d
tree121d38bb3863199d10eaa54b130ede2c85d61995
parent0f86c1130f7589e91d06642f027add77986bd0cd
snort: add support for DIOCTL_GET_PRIV_DATA_LEN

Type: improvement

This patch implements support for retrieving private data length via ioctl.
The private data pointer is set in the message header,
and when Snort processes the packet, it can request the length
of this private data through the ioctl interface.

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: I02a831557b349bab7c9c8fe2e00cd8b085d3e5f7
src/plugins/snort/daq/main.c