---
title: init
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkpacket/init
---

# init

Initializes the network packet object.

## Declaration

```occ
virtual bool init();
```

## Return Value

Return Value YES if initialization was successful, or NO if it wasn’t.

## Discussion

Discussion Do not call this method directly. Submission queues initialize packets before returning them to your driver to process.

## See Also

### Configuring the Network Packet

- [free](networkingdriverkit/iousernetworkpacket/free.md)
