Which is the simplest/shortest/easiest way to read packets from data-link (MAC) layer on Linux?
Could someone give us a code snippet on how to do that?
Why do we need it? We are developing a network camera in which the gigabit chip implements only the data-link layer. Since we don't have resources to implement the IP stack, we need to exchange packets using only the MAC address.