PortRange

class PortRange

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Link copied to clipboard
val toPort: Int

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Functions

Link copied to clipboard
inline fun copy(block: PortRange.Builder.() -> Unit = {}): PortRange
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String