filterpcapwinpcap

How to ignore own packets by WinPcap?


When I inject any packet via WinPcap it will be captured in this moment. I dont want to capture packets, witch were injected myself. What is the easiest way?


Solution

  • The best way is to use PCAP_OPENFLAG_NOCAPTURE_RPCAP flag..