<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkInterfaceCreateWithInterface(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkInterfaceCreateWithInterface"
  },
  "title" : "SCNetworkInterfaceCreateWithInterface(_:_:)"
}
-->

# SCNetworkInterfaceCreateWithInterface(_:_:)

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

```
func SCNetworkInterfaceCreateWithInterface(_ interface: SCNetworkInterface, _ interfaceType: CFString) -> SCNetworkInterface?
```

## Parameters

`interface`

The network interface.

`interfaceType`

The type of interface to layer on top of the network interface specified in `interface`.

## Return Value

A reference to the new network interface. You must release the returned value.

## Discussion

You can use this function to create a “PPP” interface on top of a “modem.”

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)