Understanding the network device driver sample

The skeleton network device driver that is discussed in the current article can be found in this previous article here . Kindly refer the code which can be used to compile a network skeleton drive module, loaded and can be used to perform a few basic network operations to understand Linux networking.

Compile the code skeleton code to generate a kernel object module as shown below:

load the module and then run the ifconfig command to see whether the skeleton network driver is registered as a network device

The dmesg log also shows that the registration of the driver as a network device is successful:

Now, let us see a few code snippets to understand the skeleton device driver and also perform a few networking operations that are commonly performed in the next article.

Understanding the network device driver sample – part 2

Comments

  1. Pingback: Sample skeleton network device driver in Linux | Hitch Hiker's Guide to Learning

  2. Pingback: Understanding the network device driver sample – part 2 | Hitch Hiker's Guide to Learning

Leave a Reply

Your email address will not be published. Required fields are marked *