DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer 5

Intro(D7mdi)


Intro -- introduction to MDI primitives

Synopsis

   #include <sys/stream.h>
   #include <sys/mdi.h>

Description

This section contains manual pages for MDI primitives.

MDI primitives are messages that are used to control the operation of the MDI driver. They are sent in STREAMS messages of type M_PCPROTO(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.

The valid MDI primitives are:


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.

References

Intro(D7str)

``MDI primitives'' in HDK Technical Reference


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