python - How do you Identify the interface of a packet while listening to network traffic on all devices? -


i writing python program needs listening traffic on networking devices , identify packets based on incoming interface. listen on interfaces started capture without specify device, unable denote interface of particular packet. how done?

i assume mac address sufficient information you.

the first 6 octets of packet destination mac address, followed 6 octets of source mac address.

source

802.3 ethernet frame structure


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -