---
title: setHardwareAssists
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkethernet/sethardwareassists-3vpkr
---

# setHardwareAssists

## Declaration

```occ
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

Return Value Returns kIOReturnSuccess on success, or an error otherwise.

## Discussion

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