Function SCNetworkInterfaceRefreshConfiguration

Source
pub unsafe extern "C-unwind" fn SCNetworkInterfaceRefreshConfiguration(
    if_name: &CFString,
) -> bool
πŸ‘ŽDeprecated: No longer supported
Available on crate feature SCNetwork only.
Expand description

Sends a notification to interested configuration agents to have them immediately retry their configuration over a particular network interface.

Note: This function must be invoked by root (uid == 0).

Parameter ifName: The BSD name of the network interface, such as CFSTR(β€œen0”).

Returns: Returns TRUE if the notification was sent; FALSE otherwise.