DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
HDK Technical Reference

MDI primitives

MDI primitives are used to control the operation of the MDI driver. They are sent in STREAMS messages of type M_PROTO(D7str). MDI primitives break down into two types: requests and acknowledgments. Requests are sent down from the MAC user. Acknowledgments are sent by the MDI driver to the MAC user in response to requests.

How an MDI primitive is contained within a STREAMS message

The valid MDI primitives are the same for SVR5 and SCO OpenServer 5:


MAC_BIND_REQ(D7mdi)
Requests the MDI driver to enable the sending and receipt of MAC frames.

MAC_INFO_REQ(D7mdi)
Requests the MDI driver to return information about the driver itself and the network media. The information will be returned in a MAC_INFO_ACK message.

MAC_INFO_ACK(D7mdi)
Acknowledges a MAC_INFO_REQ message. This primitive conveys information about the MDI driver, and the network media attached to the network adapter it is controlling.

MAC_OK_ACK(D7mdi)
Acknowledges to the MAC user that a previously issued request primitive was received and processed successfully.

MAC_ERROR_ACK(D7mdi)
Acknowledges to the MAC user that a previously issued request primitive was received but caused an error.

MAC_HWFAIL_IND(D7mdi)
Generated by the MDI driver when it detects a fatal hardware failure.

Section D7isdn manual pages lists additional primitives that are used only for ISDN drivers. See ``SCO ISDN adapter drivers'' for more information.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005