Figure 1–1: Sections of a Network Device Driver
/* Include Files Section */
/* Configure Section */
/* Autoconfiguration Support Section */
/* Start Transmit Section */
Network Device Driver
/* Declarations Section */
/* Initialization Section */
/* Ioctl Section */
/* Interrupt Section */
/* Reset Section */
/* Watchdog Section */
ZK-0818U-AI
Unlike for block and character drivers, you do not specify network driver
entry points in the
dsent
data structure. This means that a network
driver has no exposure into the file system and, therefore, has no entry in
the
/dev
directory. Thus, network drivers do not have block and character
driver-specific interfaces such as
open
,
close
,
read
,
write
, and
strategy
.
1–2 Network Device Driver Environment