The NIC driver calls a number of NDIS interface library functions for assistance in processing. Table A.2.4 defines the main library functions.
Table A.2.4 NIC Driver Functions
Function |
Definition |
Forwards NIC close data to ProtocolCloseAdapterComplete. | |
Forwards NIC open data to ProtocolOpenAdapterComplete. | |
Performs postprocessing for asynchronous completion of a MacQueryGlobalStatistics operation. | |
Forwards request information to ProtocolRequestComplete. | |
Forwards reset information to ProtocolResetComplete. | |
Forwards send data to ProtocolSendComplete. | |
Forwards information about a data transfer to ProtocolTransferDataComplete. | |
Terminates the registration of a network interface card with the NDIS interface library. | |
Removes a registered MacShutdown function. | |
Removes the NIC driver. | |
Forwards a receive indication to ProtocolReceive. | |
Forwards a receive complete indication to ProtocolReceiveComplete. | |
Forwards an indication of changes in network card status to ProtocolStatus. | |
Forwards a status complete indication to ProtocolStatusComplete. | |
Initializes data structures that the wrapper associates with the NIC driver. | |
Associates a virtual address with an opened file so the NIC driver can access file contents. | |
Opens a disk file, typically one the NIC driver will download to an intelligent network card. | |
Registers each network interface card that the NIC driver supports with the wrapper. | |
Registers MacShutdown with the operating system so the system can call the function later when it shuts down. | |
Provides the wrapper with NIC driver information. | |
Completes NIC driver removal from the wrapper connection. | |
Disassociates a virtual address from a file previously mapped by NdisMapFile. | |
Writes to an I/O error log. |