|
suricata
|
#include "suricata-common.h"

Go to the source code of this file.
Typedefs | |
| typedef struct Packet_ | Packet |
| typedef void(* | CaptureOnPacketWithAlertsHook) (const Packet *p) |
| typedef void(* | CaptureOnPseudoPacketCreatedHook) (Packet *p) |
Functions | |
| void | CaptureHooksSet (CaptureOnPacketWithAlertsHook OnAlerts, CaptureOnPseudoPacketCreatedHook OnPseudoCreated) |
| void | CaptureHooksOnPacketWithAlerts (const Packet *p) |
| void | CaptureHooksOnPseudoPacketCreated (Packet *p) |
Small hook interface for capture modules to react to events in the generic engine without creating circular dependencies.
Definition in file capture-hooks.h.
| typedef void(* CaptureOnPacketWithAlertsHook) (const Packet *p) |
Definition at line 32 of file capture-hooks.h.
| typedef void(* CaptureOnPseudoPacketCreatedHook) (Packet *p) |
Definition at line 33 of file capture-hooks.h.
Definition at line 1 of file capture-hooks.h.
| 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().
