ProtocolPortPair
public struct ProtocolPortPair
A forwarded port @since 10.9
-
Transport layer protocol @since 10.9
Declaration
Swift
public var portProtocol: PortProtocol -
Port number, or 0 for any port @since 10.9
Declaration
Swift
public var port: Int -
End of port range. If this entry is a single port, then this is 0. @since 12.2
Declaration
Swift
public var portRangeEnd: Int -
Declaration
Swift
public init(portProtocol: PortProtocol, port: Int) -
Declaration
Swift
public init(portProtocol: PortProtocol, port: Int, portRangeEnd: Int)