SetHWPacketFilter problem…

Home Forums Discussions Support Portal SetHWPacketFilter problem…

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 13 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4885

    moong
    Participant

    Hi.

    I’m using WinpkFilter 2.4.

    But some PC make problem when using api.SetHWPacketFilter() function.

    I’m using like this :
    – SetHWPacketFilter( myHandle, NDIS_PACKET_TYPE_ALL_LOCAL );

    After above code, some PC’s Adapter can’t send or receive any packets.

    This problem is shown at some PCs and other dosen’t make problem.

    What’s the matter ?

    How can I remove this problem ?

    #5656

    Vadim Smirnov
    Moderator

    Normally TCP/IP for the Ethernet uses the following flags combination:

    NDIS_PACKET_TYPE_BROADCAST | NDIS_PACKET_TYPE_DIRECTED | NDIS_PACKET_TYPE_MULTICAST;

    I’m not sure how usage of NDIS_PACKET_TYPE_ALL_LOCAL breaks the functionality but the request to set this filter is sent directly to the NDIS. However, why do you need this filter? Is there any OS dependence where filter works (an example works on XP but don’t work on Windows 2000)?

    P.S. Please confirm that you have received your order, since it may appear that our e-mails can’t reach you.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.