I have to work with some device that sends me raw ethernet frames (dst MAC,Src MAC,type,data) with size 4088 bytes at rate 25Hz
and another raw ethernet frame (dst MAC,Src MAC,type,data) at size 30 bytes at rate 100Hz. Could someone please advice me how to read them in elegant way?
For now I simply check size and decide what type of packet is. As far as I got I can't use two sockets to read different frames.