[Winpcap-users] Problem with BPF-filtration

revunov v. sevareva at yandex.ru
Fri Feb 11 14:21:56 PST 2011


I use winpcap 4.1.2. For BPF-filtering I set string "src" for pcap_compile function. But in result I get error of syntax. Also for testing I tried to set "src foo" and "src host test" but all of them doesn't work and I get the same error. Why?

I receive ethernet packets without any MAC, IP, TCP/UDP headers from remote host. And I want to process only entering packets by filtration. Is it possible?

Thanks for any help,

More information about the Winpcap-users mailing list