<!--
{
  "availability" : [
    "driverkit: 22.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkingDriverKit",
  "identifier" : "/documentation/NetworkingDriverKit/IOUserNetworkEthernet/setHardwareAssists-3vpkr",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "NetworkingDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserNetworkEthernet@F@setHardwareAssists#i#i#"
  },
  "title" : "setHardwareAssists"
}
-->

# setHardwareAssists

```
virtual IOReturn setHardwareAssists(uint32_t hardwareAssists, uint32_t hardwareAssistsMask);
```

## Parameters

`hardwareAssists`

the requested assists available to the stack.

`hardwareAssistsMask`

the Specific assist that the driver should set..

## Return Value

Returns kIOReturnSuccess on success, or an error otherwise.

## Discussion

\abstract Set the stack requested hardware assists.
\discussion Driver should implement this function to be able to update itself with requested assists.

---

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)