On Wed, 30 Sep 2009 06:34:22 -0500
(E-Mail Removed) (Gordon Burditt) wrote:
>I'm not sure you can *TELL* the interface name the frame arrived
>on by looping through the list of interfaces comparing MAC addresses.
You can if it has arrived from an ethernet interface.
>Localhost doesn't have a MAC address.
>Lots of virtual interfaces like 'gif' don't either.
>Neither do some of the packets removed from the system, then re-injected
>into it (say, by a userland NATD daemon).
>What about broadcast packets?
None of the above work, which is why I was hoping that there was a way
of obtaining the packets interface directly but I suspect not.
B2003