HI, I want to detect packets arriving at a router on any of its interfaces using the pcap functions. I came to know that this can be achieved using the "any" device in pcap_open_live. But my question is, what do we use as the device in pcap_lookupnet() which gives us the netmask of the interface? We need to use this netmask in pcap_open_live(). If I use "any" as the device in pcap_lookupnet(), that means there will be a list of netmasks, one for each interface. How can I achieve this? Please advise. Thank you.
moni. Subramoni Padmanabhan G-126, 700 woodland avenue Lexington, Kentucky 40508 Phone : 859 323 9405 _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
