Example #1
0
void Stream5CleanIcmp()
{
    /* Clean up hash table -- delete all sessions */
    PurgeLWSessionCache(icmp_lws_cache);
    icmp_lws_cache = NULL;

    mempool_destroy(&icmp_session_mempool);
}
int DeleteLWSessionCache(Stream5SessionCache *sessionCache)
{
    int retCount = 0;

    if (!sessionCache)
        return 0;

    retCount = PurgeLWSessionCache(sessionCache);

    sfxhash_delete(sessionCache->hashTable);
    free(sessionCache);

    return retCount;
}
Example #3
0
void Stream5CleanIcmp()
{
    /* Clean up hash table -- delete all sessions */
    PurgeLWSessionCache(icmp_lws_cache);
}
Example #4
0
void Stream5ResetIp (void)
{
    PurgeLWSessionCache(ip_lws_cache);
}
void Stream5ResetUdp(void)
{
    PurgeLWSessionCache(udp_lws_cache);
    mempool_clean(&udp_session_mempool);
}
Example #6
0
void Stream5ResetIcmp(void)
{
    PurgeLWSessionCache(icmp_lws_cache);
    mempool_clean(&icmp_session_mempool);
}