|
suricata
|

Go to the source code of this file.
Functions | |
| void | CaptureHooksSet (CaptureOnPacketWithAlertsHook OnAlerts, CaptureOnPseudoPacketCreatedHook OnPseudoCreated) |
| void | CaptureHooksOnPacketWithAlerts (const Packet *p) |
| void | CaptureHooksOnPseudoPacketCreated (Packet *p) |
Lightweight indirection layer for capture-related callbacks.
This module lets the capture implementation register small hooks that the generic engine can invoke without hard dependencies. Two hooks are used:
Definition in file capture-hooks.c.
| void CaptureHooksOnPacketWithAlerts | ( | const Packet * | p | ) |
Definition at line 53 of file capture-hooks.c.
| void CaptureHooksOnPseudoPacketCreated | ( | Packet * | p | ) |
Definition at line 60 of file capture-hooks.c.
| void CaptureHooksSet | ( | CaptureOnPacketWithAlertsHook | OnAlerts, |
| CaptureOnPseudoPacketCreatedHook | OnPseudoCreated | ||
| ) |
Definition at line 37 of file capture-hooks.c.
Referenced by PcapFileInstallCaptureHooks().
