[Winpcap-users] Filtering for DNS

Prashant Kasal prashantk at google.com
Fri Oct 5 21:40:48 GMT 2007


Hi All,

I'm trying to filter the network packets to get DNS information

pcap_compile( adhandle, &fcode, "dns", 1, netmask), but when I executed this
line I'm getting the return value < 0;

does anybody know how to filter the network packets for DNS?

Any help would greatly appricated.

-- 
Thanks & Regds
Prashanth Kasal
Google Inc.,
1600, Amphitheater
parkway,
Mountain View, CA-94040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20071005/fad8d790/attachment.htm


More information about the Winpcap-users mailing list