Hi,

I understand that using the "any" interface allows
libpcap to capture on all interfaces on Linux. What
API should an application of libpcap use to
differentiate between which packet was received on
which interface ?

I was looking at the hex dump of the packet that
tcpdump catures for two cases -- "eth0" and "any". For
similar packets, I saw an additional 2-byte field
before the ip header in the case of "any" capture. I
am presuming this is the interface info I need to
access. I just need to figure out a way of doing so.
Any help is appreciated.

Thanks,
Joe

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.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

Reply via email to