Function

SCNetworkInterfaceGetConfiguration

Returns the configuration settings associated with the specified interface.

Declaration

CFDictionaryRef SCNetworkInterfaceGetConfiguration(SCNetworkInterfaceRef interface);

Parameters

interface

The network interface.

Return Value

The configuration settings associated with the interface, or NULL if no configuration settings are associated with the interface or an error occurred.

See Also

Configuring Network Interfaces

SCNetworkInterfaceCopyAll

Returns all network-capable interfaces on the system.

SCNetworkInterfaceCopyMTU

Returns the current MTU setting and the range of allowable values for the specified network interface.

SCNetworkInterfaceCopyMediaOptions

Returns information media options for the specified network interface.

SCNetworkInterfaceCopyMediaSubTypeOptions

Returns a list of available media options for the specified interface configuration options and subtype.

SCNetworkInterfaceCopyMediaSubTypes

Returns a list of available media subtypes for the specified interface configuration options.

SCNetworkInterfaceCreateWithInterface

Creates a new network interface layered on top of the specified interface.

SCNetworkInterfaceForceConfigurationRefresh

Sends a notification to interested network configuration agents to immediately retry their configuration.

SCNetworkInterfaceGetBSDName

Returns the BSD interface or device name for the specified interface.

SCNetworkInterfaceGetExtendedConfiguration

Returns the extended configuration settings associated with the specified interface.

SCNetworkInterfaceGetHardwareAddressString

Returns a displayable link layer address for the specified interface.

SCNetworkInterfaceGetInterface

Returns the underlying interface, for layered network interfaces.

SCNetworkInterfaceGetInterfaceType

Returns the network interface type of the specified interface.

SCNetworkInterfaceGetLocalizedDisplayName

Returns the localized display name, such as “Ethernet” or “FireWire", for the specified interface.

SCNetworkInterfaceGetSupportedInterfaceTypes

Identifies all of the network interface types, such as PPP, that can be layered on top of the specified interface.

SCNetworkInterfaceGetSupportedProtocolTypes

Identifies all of the network protocol types, such as IPv4 and IPv6, that can be layered on top of the specified interface.

SCNetworkInterfaceGetTypeID

Returns the type identifier of all SCNetworkInterface instances.

SCNetworkInterfaceSetConfiguration

Stores the configuration settings for the specified interface.

SCNetworkInterfaceSetExtendedConfiguration

Stores the extended configuration settings for the specified interface.

SCNetworkInterfaceSetMTU

Sets the requested MTU setting for the specified network interface.

SCNetworkInterfaceSetMediaOptions

Sets the requested media subtype and options for the specified network interface.