Пример #1
0
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);
}
Пример #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);
    }
}
Пример #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;
}