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

# NENetworkRule.Protocol.UDP

A rule protocol to match UDP traffic.

## Declaration

```swift
case UDP
```

## See Also

### Protocols

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