---
title: NENetworkRule.Protocol.any
framework: networkextension
role: symbol
role_heading: Case
path: networkextension/nenetworkrule/protocol/any
---

# NENetworkRule.Protocol.any

A rule protocol to match TCP and UDP traffic.

## Declaration

```swift
case any
```

## See Also

### Protocols

- [NENetworkRule.Protocol.TCP](networkextension/nenetworkrule/protocol/tcp.md)
- [NENetworkRule.Protocol.UDP](networkextension/nenetworkrule/protocol/udp.md)
