---
title: UdpInformation type | Wartiva GraphQL API
description: UdpInformation represents the xt_udp iptables match structure. It allows matching UDP packets based on source and/or destination port ranges.
url: https://wartiva.com/api-docs/types/udp-information.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `UdpInformation` type

UdpInformation represents the `xt_udp` iptables match structure. It allows matching UDP packets based on source and/or destination port ranges.

## Fields

| Field Name | Description |
|---|---|
| `sourcePortMin` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Source port range minimum value, returned as an unsigned 16-bit integer. |
| `sourcePortMax` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Source port range maximum value, returned as an unsigned 16-bit integer. |
| `destPortMin` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Destination port range minimum value, returned as an unsigned 16-bit integer. |
| `destPortMax` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Destination port range maximum value, returned as an unsigned 16-bit integer. |
| `invFlags` - [`[XtablesTransportInvFlag!]`](https://wartiva.com/api-docs/types/xtables-transport-inv-flag.html) | Inverse flags, to invert the sense of matching. |

## Used by

- [`XtablesInfo`](https://wartiva.com/api-docs/types/xtables-info.html) union: Xtables information union type.

## Example

### Example

```json
{
  "sourcePortMin": 987,
  "sourcePortMax": 987,
  "destPortMin": 123,
  "destPortMax": 123,
  "invFlags": ["INV_SRC_PORTS"]
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
