---
title: GetPacketBufferPool
framework: networkingdriverkit
role: symbol
role_heading: Instance Method
path: networkingdriverkit/iousernetworkpacket/getpacketbufferpool-63snl
---

# GetPacketBufferPool

Gets the memory buffer that contains the pakcet.

## Declaration

```occ
virtual kern_return_t GetPacketBufferPool(IOUserNetworkPacketBufferPool **pool) const;
```

## Parameters

- `pool`: On return, the memory buffer containing the packet.

## Return Value

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