#define is_ac
1Declares an instance of the ether_driver data structure and calls it is_ed. All network drivers must have an ether_driver data structure. By convention, a pointer to this data structure is the first element in the softc data structure.
2Maps the ess_ac member of the ether_driver data structure to the alternate name is_ac. The ess_ac member is referred to as the “Ethernet common part” and is actually an instance of the arpcom data structure. Figure
3Maps the ess_ztime member of the ether_driver data structure to the alternate name ztime. The ess_ztime member stores the time counters that were last zeroed. Figure
4Maps the ess_ctrblk member of the ether_driver data structure to the alternate name ctrblk. The ess_ctrblk member is referred to as the “counter block” and is actually an instance of the estat data structure. Figure
You must define this line in your network device driver if you plan to use ADD_RECV_MPACKET, ADD_RECV_PACKET, ADD_XMIT_MPACKET, and ADD_XMIT_PACKET for maintaining LAN device counters. Each of these macros references the ctrblk alternate name.
5Maps the ac_if member of the arpcom data structure to the alternate name is_if. The ac_if member is referred to as the