Re: Re: Filter Table will not load

Home Forums Discussions Support Filter Table will not load Re: Re: Filter Table will not load

#7188
couttsj
Participant

    Thanks SerpentFly. I had 184. Since all the other elements seemed to be adjusted on 4 byte boundaries, I assumed that TCPUDP_FILTER was as well. Unfortunately, after removing the 3 byte padding to get 181 bytes, the static filter will still not load. Here is what I have got.

    Code:
    Public Type STATIC_FILTER
    m_Adapter As ULARGE_INTEGER ‘(8)Adapter handle extended to 64 bit size for structure compatibility across x64 and x86
    m_dwDirectionFlags As Long ‘(4)PACKET_FLAG_ON_SEND or/and PACKET_FLAG_ON_RECEIVE
    m_FilterAction As Long ‘(4)FILTER_PACKET_XXX
    m_ValidFields As Long ‘(4)Specifies which of the fileds below contain valid values and should be matched against the packet

    ‘Statistics for the filter
    m_LastReset As Long ‘(4)Time of the last counters reset (in seconds passed since 1 Jan 1980)
    m_PacketsIn As ULARGE_INTEGER ‘(8)Incoming packets passed through this filter
    m_BytesIn As ULARGE_INTEGER ‘(8)Incoming bytes passed through this filter
    m_PacketsOut As ULARGE_INTEGER ‘(8)Outgoing packets passed through this filter
    m_BytesOut As ULARGE_INTEGER ‘(8)Outgoing bytes passed through this filter

    m_DataLinkFilter As DATA_LINK_LAYER_FILTER ‘(24)
    m_NetworkFilter As NETWORK_LAYER_FILTER ‘(84)
    m_TransportFilter As TRANSPORT_LAYER_FILTER ‘(17)
    End Type ‘(181)

    J.A. Coutts