The raw Ethernet bus

Like the USB and other communication buses presented in this book, even the Ethernet bus can be accessed in a raw mode. However, this method is not reported in this book because it's complex and it may need a dedicated book to be correctly explained! However, you can start your studies of the raw Ethernet programming by visiting https://en.wikipedia.org/wiki/Raw_socket .

A simple example of raw sockets will be presented in Chapter 14 , Controller Area Network - CAN, The raw CAN bus when we'll implement a simple CAN communication between two devices.

Get GNU/Linux Rapid Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.