KernelNewbies:

Linux Ethernet Network Device Driver - A flow of code


Topic:

Assumption:

Courtesy:

Feedback:

Enough with header....! Now let us kick start the exciting world of linux system internal of network device drivers. The following is the basic sequence and flow of code in a network driver. It does not talk in depth specific to hardware, but what ever explained here is common to all network device drivers.

1. Detecting Hardware Device:

2. Registration with kernel:

3. Filling up of net_device structure:

4. Opening ("open" method) the device:

5. Transmission of Packet ("hard_start_xmit" method):

6. Receiption of Packet:

7. Closing/Releasing/Stopping ("stop" method) the device:


CategoryKernelHacking

KernelNewbies: KaruppuSwamy_Thangaraj/network-drivers-linux2.4 (last edited 2017-12-30 01:30:32 by localhost)