<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "vmnet",
  "identifier" : "/documentation/vmnet/vmnet_nat66_prefix_length_key",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "vmnet"
    ],
    "preciseIdentifier" : "c:@vmnet_nat66_prefix_length_key"
  },
  "title" : "vmnet_nat66_prefix_length_key"
}
-->

# vmnet_nat66_prefix_length_key

The IPv6 prefix (uint64) to use with vmnet shared mode.

```
let vmnet_nat66_prefix_length_key: UnsafePointer<CChar>
```

## Discussion

The prefix_length must be 64; the use of this key, `VMNET_SHARED_MODE`, is deprecated.

---

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)