Function SCBondStatusGetInterfaceStatus

Source
pub unsafe extern "C-unwind" fn SCBondStatusGetInterfaceStatus(
    bond_status: &SCBondStatus,
    interface: Option<&SCNetworkInterface>,
) -> Option<CFRetained<CFDictionary>>
Available on crate feature SCNetworkConfiguration only.
Expand description

Returns the status of a specific member interface of an Ethernet Bond or the status of the bond as a whole.

Parameter bondStatus: The Ethernet Bond status.

Parameter interface: The specific member interface; NULL if you want the status of the Ethernet Bond.

Returns: The interface status.

Note: at present, no information about the status of the Ethernet Bond is returned. As long as one member interface is active then the bond should be operational.