IPAddressEntry

public struct IPAddressEntry

This struct describes the model for an IPv4 or IPv6 address, as used in the Network Interface Info List.

  • This will be either a RVS_IPAddressV4 or RVS_IPAddressV6 address. It can be nil (undefined)

    Declaration

    Swift

    public var address: RVS_IPAddress!
  • The length of the address submask.

    Declaration

    Swift

    public var prefixLength: Int
  • Returns the parameters in a fashion suitable for sending to the device.

    Declaration

    Swift

    public var asParameters: [String : Any]! { get }
  • We declare this here to make it public.

    Declaration

    Swift

    public init(address inAddress: RVS_IPAddress!, prefixLength inPrefixLength: Int)