[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MDI_GetPartnerAdvert()

Store media types currently advertised by the link partner

Synopsis:

int MDI_GetPartnerAdvert ( mdi_t *mdi,
                         int PhyAddr,
                         uint8_t *Advert)

Arguments:

mdi
A pointer to the mdi_t structure obtained from the MDI_Register_Extended() function call.
PhyAddr
The physical address of the physical layer device (PHY).
Advert
A pointer to the memory location where the media types are stored. Valid media-type values are:
Note: The above-mentioned media values are flags that may be OR'd together.

Description:

The MDI_GetPartnerAdvert_Extended() function stores the media types that are currently advertised by the link partner.

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

[Previous] [Contents] [Index] [Next]