Contents

ifnet_get_link_mib_data

Declaration

errno_t ifnet_get_link_mib_data(ifnet_t interface, void *mibData, u_int32_t *mibLen);

Parameters

  • interface:

    The interface.

  • mibData:

    A pointer to space for the mibData to be copied in to.

  • mibLen:

    When calling, this should be the size of the buffer passed in mibData. Upon return, this will be the size of data copied in to mibData.

Return Value

Returns an error if the buffer size is too small or there is no data.

Discussion

Copies the link MIB data in to mibData, up to mibLen bytes. Returns error if the buffer is too small to hold all of the MIB data.

See Also

Network Kernel Extensions