---
title: SetWakeOnMagicPacketSupport
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkethernet/setwakeonmagicpacketsupport
---

# SetWakeOnMagicPacketSupport

Tells the system whether the device supports being woken up when a specially formatted packet arrives.

## Declaration

```occ
kern_return_t SetWakeOnMagicPacketSupport(bool isSupported);
```

## Parameters

- `isSupported`: If YES, the device supports waking up when the network receives a magic packet; otherwise, it doesn’t.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurred.

## See Also

### Configuring Link Attributes

- [SetTxPacketHeadroom](networkingdriverkit/iousernetworkethernet/settxpacketheadroom.md)
- [SetTxPacketTailroom](networkingdriverkit/iousernetworkethernet/settxpackettailroom.md)
- [SetSoftwareVlanSupport](networkingdriverkit/iousernetworkethernet/setsoftwarevlansupport.md)
- [SetMulticastAddresses](networkingdriverkit/iousernetworkethernet/setmulticastaddresses-7wjbn.md)
- [SetAllMulticastModeEnable](networkingdriverkit/iousernetworkethernet/setallmulticastmodeenable-5rtva.md)
- [SetPromiscuousModeEnable](networkingdriverkit/iousernetworkethernet/setpromiscuousmodeenable-82bt.md)
- [SetWakeOnMagicPacketEnable](networkingdriverkit/iousernetworkethernet/setwakeonmagicpacketenable.md)
- [IOUserNetworkMACAddress](networkingdriverkit/iousernetworkmacaddress.md)
