All , 

I started using wpcap library yesterday using .net
framework. I could compile test programs and capture
the packets also. I need to set the filter on Type
field for ethernet frame. How to do this ? 

I know i need to use pcap_compile() method and third
parameter is char *. As i read in  filtering
expression syntax i see 'proto [ expr : size ]'.
How do i use this something like like
'ether[21:2]==0xbbbb'. Is this correct ? 

Thanks,
Devesh.









                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


==================================================================
 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