Hi Group,

I'm new to winpcap development, please accept my apologies if the
question is trivial.

My requirement is to check the captured packet data (eg, �pkt_data� of
�pcap_next_ex� function) against a filter string, which is in the libpcap
filter format. For example, I would set the main capture filter as �ip�
and check against each captured packet whether it satisfies a condition,
like �port 80� or �host 1.2.3.4�. I looked at using bfp_filter function,
but I could not get it working the way I wanted.

Could some one please help me out by point to some code or any document
which will address this?

Thanks in advance.

Raghava


-- 
http://www.fastmail.fm - And now for something completely different�


================================================================= This is the WinPcap 
users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
=================================================================

Reply via email to