Compaq TRU64 AA-RNG2A-TE User Manual
Page 22

#include
#include
#include
3
#include
#include
4
#include
#include
#include
#include
#include
5
#include
6
#include
#include
7
#include
8
1
Includes the ioctl.h include file, which defines common ioctl com-
mands. The ioctl.h file is located in /usr/include/sys/ioctl.h.
2
Includes the sysconfig.h header file, which defines the constants that
all device drivers use during configuration. The sysconfig.h file is
located in /usr/include/sys/sysconfig.h.
3
Includes the if_ether.h header file, which defines the ether_header
data structure. All network drivers typically include this file.
If you are writing the network driver for FDDI media, you also include
the header file if_fddi.h. If you are writing the network driver for
Token Ring media, you also include the header file if_trn.h.
4
Includes the devdriver.h header file, which defines common device
driver data structures and constants. The devdriver.h file is located
in /usr/include/io/common/devdriver.h.
5
Includes the header file eisa.h, which is associated with the ISA bus.
If you are writing the driver to operate on multiple bus architectures,
you must include the bus-specific header file. The if_el device driver
is implemented to operate on two buses: the ISA and the PCMCIA.
6
Includes the header files pcmcia.h and cardinfo.h, which are
associated with the PCMCIA bus.
7
Includes the lan_common.h file, which contains definitions that all
local area network (LAN) device drivers need.
8
Includes the device register header file. The directory specification you
make here depends on where you put the device register header file.
1.2 Declarations Section for a Network Driver
The declarations section for a network device driver contains the following
categories of information:
1–4 Network Device Driver Environment