---
title: filterPackets
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nefilterproviderconfiguration/filterpackets
---

# filterPackets

A Boolean value that indicates that the system applies the filter to packets of network data.

## Declaration

```swift
var filterPackets: Bool { get set }
```

## See Also

### Configuring filter behavior

- [filterBrowsers](networkextension/nefilterproviderconfiguration/filterbrowsers.md)
- [filterSockets](networkextension/nefilterproviderconfiguration/filtersockets.md)
