Re: Re: hi!admin i am back now!

Home Forums Discussions Support hi!admin i am back now! Re: Re: hi!admin i am back now!

#6707
Vadim Smirnov
Keymaster

    and,at the first,the filter buffers had fixed the total size. when reached the end of the size(the last filter buffer),how could be add more filter rules? to “new” a new buffer and join with the old buffer?

    If you look at the definition below _STATIC_FILTER_TABLE can contain any number of filters (ANY_SIZE is defined as 1) specified in the m_TableSize. Of course you got to have enough free kernel memory to keep large table.


    typedef
    struct _STATIC_FILTER_TABLE
    {
    unsigned long m_TableSize; // number of STATIC_FILTER entries
    STATIC_FILTER m_StaticFilters[ANY_SIZE];
    }STATIC_FILTER_TABLE, *PSTATIC_FILTER_TABLE;