---
title: vmnet_max_packet_size_key
framework: vmnet
role: symbol
role_heading: Global Variable
platforms: [Mac Catalyst 13.0+, macOS 10.10+]
path: vmnet/vmnet_max_packet_size_key
---

# vmnet_max_packet_size_key

The maximum size of the packet that an app can write to the interface.

## Declaration

```swift
let vmnet_max_packet_size_key: UnsafePointer<CChar>
```

## Discussion

Discussion This also defines the minimum size of the packet an app needs to be pass to the vmnet function for a successful read. The value for this key is of type XPC_TYPE_UINT64.

## See Also

### Constants

- [vmnet_mac_address_key](vmnet/vmnet_mac_address_key.md)
- [vmnet_mtu_key](vmnet/vmnet_mtu_key.md)
