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

# vmnet_enable_virtio_header_key

Enable virtio headers in all packets.

```
let vmnet_enable_virtio_header_key: UnsafePointer<CChar>
```

## Discussion

For more information, see [5.1.6 Device Operation](https://docs.oasis-open.org/virtio/virtio/v1.1/virtio-v1.1.html) in the Virtio specification

You must not specify this property if [`vmnet_enable_checksum_offload_key`](/documentation/vmnet/vmnet_enable_checksum_offload_key) is specified.

---

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)