static inline void _Active_ForceIgnoreSession(Packet *p) { if (p->ssnptr && stream_api) { stream_api->drop_packet(p); } //drop this and all following fragments frag3DropAllFragments(p); }
static inline void _Active_DoIgnoreSession(Packet *p) { if ( ScInlineMode() || ScTreatDropAsIgnore() ) { if (p->ssnptr && stream_api) { stream_api->drop_packet(p); } //drop this and all following fragments frag3DropAllFragments(p); } }
int Active_IgnoreSession (Packet* p) { Active_DropPacket(); if ( ScInlineMode() || ScTreatDropAsIgnore() ) { if (p->ssnptr && stream_api) { stream_api->drop_packet(p); } //drop this and all following fragments frag3DropAllFragments(p); } return 0; }