IPConfiguration

public struct IPConfiguration

This struct describes the model for an IPv4 or IPv6 interface configuration. It has a couple of fields which are not filled for IPv4.

  • This enum describes the IPv6 DHCP configuration.

    See more

    Declaration

    Swift

    public enum IPDHCPConfiguration : String
  • This is true, if the interface uses DHCP.

    Declaration

    Swift

    public var isDHCP: Bool { get }
  • This is set to true, if this is an IPv6 configuration.

    Declaration

    Swift

    public var isIPv6: Bool
  • This contains any specific DHCP setup. For IPv4, it is simply “On” or “Off”.

    Declaration

    Swift

    public var dhcp: RVS_ONVIF_Core.IPConfiguration.IPDHCPConfiguration
  • OPTIONAL -This contains any IP addresses manually entered. It is optional, and can be nil

    Declaration

    Swift

    public var manual: [RVS_ONVIF_Core.IPAddressEntry]!
  • OPTIONAL -This contains any IP addresses available for local loopback link. It is optional, and can be nil

    Declaration

    Swift

    public var linkLocal: [RVS_ONVIF_Core.IPAddressEntry]!
  • OPTIONAL -This contains any IP addresses assigned by DHCP. It is optional, and can be nil

    Declaration

    Swift

    public var fromDHCP: [RVS_ONVIF_Core.IPAddressEntry]!
  • OPTIONAL -ONLY FOR IPV6: This is a list of addresses from Router Advertisement. This will always be nil for IPv4 interfaces.

    Declaration

    Swift

    public var fromRA: [RVS_ONVIF_Core.IPAddressEntry]!
  • ONLY FOR IPV6: This is true, if the interface will accept router advertisement. This will always be nil for IPv4 interfaces.

    Declaration

    Swift

    public var isAbleToAcceptRouterAdvert: Bool!
  • ONLY FOR IPV6: The IPv6 extension interface info. It is optional, and can be nil This will always be nil for IPv4 interfaces.

    Declaration

    Swift

    public var ipv6ConfigurationExtension: Any!
  • Returns the parameters in a fashion suitable for sending to the device.

    Declaration

    Swift

    public var asParameters: [String : Any]! { get }