<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "vmnet",
  "identifier" : "/documentation/vmnet/vmnet_network_get_ipv6_prefix(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "vmnet"
    ],
    "preciseIdentifier" : "c:@F@vmnet_network_get_ipv6_prefix"
  },
  "title" : "vmnet_network_get_ipv6_prefix(_:_:_:)"
}
-->

# vmnet_network_get_ipv6_prefix(_:_:_:)

Returns the IPv6 prefix of a network.

```
func vmnet_network_get_ipv6_prefix(_ network: vmnet_network_ref, _ prefix: UnsafeMutablePointer<in6_addr>, _ prefix_len: UnsafeMutablePointer<UInt8>)
```

## Parameters

`network`

The network object.

## Discussion

---

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)