Exemple #1
0
static inline void _Active_DoIgnoreSession(Packet *p)
{
    if ( ScInlineMode() || ScTreatDropAsIgnore() )
    {
        _Active_ForceIgnoreSession(p);
    }
}
Exemple #2
0
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);
    }
}
Exemple #3
0
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;
}