Sections Of A Network Device Driver - Compaq Tru64 UNIX Installation Manual

Writing network device drivers
Table of Contents

Advertisement

Figure 1–1: Sections of a Network Device Driver
Network Device Driver
/* Include Files Section */
/* Declarations Section */
/* Configure Section */
/* Initialization Section */
/* Autoconfiguration Support Section */
/* Start Transmit Section */
/* Ioctl Section */
/* Interrupt Section */
/* Reset Section */
/* Watchdog Section */
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
ZK-0818U-AI

Advertisement

Table of Contents
loading

Table of Contents