Documentation
¶
Overview ¶
Package systemconfiguration provides Go bindings for the SystemConfiguration framework.
Allow applications to access a device’s network configuration settings. Determine the reachability of the device, such as whether Wi-Fi or cell connectivity are active.
This collection of documents describes the programming interfaces of the System Configuration framework. The System Configuration framework provides functions that determine the reachability of target hosts in both a synchronous and an asynchronous manner. It also provides error detection facilities.
Entitlements ¶
- Access Wi-Fi Information Entitlement: A Boolean value indicating whether your app can access information about the connected Wi-Fi network.
Macros ¶
- Macros
Type Aliases ¶
- AuthorizationRef//
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Variables
- func CNCopySupportedInterfaces() corefoundation.CFArrayRef
- func CNMarkPortalOffline(interfaceName corefoundation.CFStringRef) booldeprecated
- func CNMarkPortalOnline(interfaceName corefoundation.CFStringRef) booldeprecated
- func CNSetSupportedSSIDs(ssidArray corefoundation.CFArrayRef) booldeprecated
- func DHCPClientPreferencesCopyApplicationOptions(applicationID corefoundation.CFStringRef, count *int) *uint8
- func DHCPClientPreferencesSetApplicationOptions(applicationID corefoundation.CFStringRef, options []byte, count int) bool
- func DHCPInfoGetLeaseExpirationTime(info corefoundation.CFDictionaryRef) corefoundation.CFDateRef
- func DHCPInfoGetLeaseStartTime(info corefoundation.CFDictionaryRef) corefoundation.CFDateRef
- func DHCPInfoGetOptionData(info corefoundation.CFDictionaryRef, code uint8) corefoundation.CFDataRef
- func SCBondInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCBondInterfaceCopyAvailableMemberInterfaces(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCBondInterfaceGetMemberInterfaces(bond SCBondInterfaceRef) corefoundation.CFArrayRef
- func SCBondInterfaceGetOptions(bond SCBondInterfaceRef) corefoundation.CFDictionaryRef
- func SCBondInterfaceRemove(bond SCBondInterfaceRef) bool
- func SCBondInterfaceSetLocalizedDisplayName(bond SCBondInterfaceRef, newName corefoundation.CFStringRef) bool
- func SCBondInterfaceSetMemberInterfaces(bond SCBondInterfaceRef, members corefoundation.CFArrayRef) bool
- func SCBondInterfaceSetOptions(bond SCBondInterfaceRef, newOptions corefoundation.CFDictionaryRef) bool
- func SCBondStatusGetInterfaceStatus(bondStatus SCBondStatusRef, interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
- func SCBondStatusGetMemberInterfaces(bondStatus SCBondStatusRef) corefoundation.CFArrayRef
- func SCBondStatusGetTypeID() uint
- func SCCopyLastError() corefoundation.CFErrorRef
- func SCDynamicStoreAddTemporaryValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) bool
- func SCDynamicStoreAddValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) bool
- func SCDynamicStoreCopyComputerName(store SCDynamicStoreRef, nameEncoding *uint32) corefoundation.CFStringRef
- func SCDynamicStoreCopyConsoleUser(store SCDynamicStoreRef, uid *uint32, gid *uint32) corefoundation.CFStringRef
- func SCDynamicStoreCopyDHCPInfo(store SCDynamicStoreRef, serviceID corefoundation.CFStringRef) corefoundation.CFDictionaryRef
- func SCDynamicStoreCopyKeyList(store SCDynamicStoreRef, pattern corefoundation.CFStringRef) corefoundation.CFArrayRef
- func SCDynamicStoreCopyLocalHostName(store SCDynamicStoreRef) corefoundation.CFStringRef
- func SCDynamicStoreCopyLocation(store SCDynamicStoreRef) corefoundation.CFStringRef
- func SCDynamicStoreCopyMultiple(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, ...) corefoundation.CFDictionaryRef
- func SCDynamicStoreCopyNotifiedKeys(store SCDynamicStoreRef) corefoundation.CFArrayRef
- func SCDynamicStoreCopyProxies(store SCDynamicStoreRef) corefoundation.CFDictionaryRef
- func SCDynamicStoreCopyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
- func SCDynamicStoreCreateRunLoopSource(allocator corefoundation.CFAllocatorRef, store SCDynamicStoreRef, order int) corefoundation.CFRunLoopSourceRef
- func SCDynamicStoreGetTypeID() uint
- func SCDynamicStoreKeyCreate(allocator corefoundation.CFAllocatorRef, fmt corefoundation.CFStringRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateComputerName(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateConsoleUser(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateHostNames(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateLocation(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateNetworkGlobalEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ...) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateNetworkInterface(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateNetworkInterfaceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ...) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateNetworkServiceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ...) corefoundation.CFStringRef
- func SCDynamicStoreKeyCreateProxies(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
- func SCDynamicStoreNotifyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) bool
- func SCDynamicStoreRemoveValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) bool
- func SCDynamicStoreSetDispatchQueue(store SCDynamicStoreRef, queue dispatch.Queue) bool
- func SCDynamicStoreSetMultiple(store SCDynamicStoreRef, keysToSet corefoundation.CFDictionaryRef, ...) bool
- func SCDynamicStoreSetNotificationKeys(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, ...) bool
- func SCDynamicStoreSetValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) bool
- func SCError() int
- func SCErrorString(status int) *byte
- func SCNetworkConnectionCopyExtendedStatus(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
- func SCNetworkConnectionCopyServiceID(connection SCNetworkConnectionRef) corefoundation.CFStringRef
- func SCNetworkConnectionCopyStatistics(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
- func SCNetworkConnectionCopyUserOptions(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
- func SCNetworkConnectionCopyUserPreferences(selectionOptions corefoundation.CFDictionaryRef, ...) bool
- func SCNetworkConnectionGetTypeID() uint
- func SCNetworkConnectionScheduleWithRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, ...) bool
- func SCNetworkConnectionSetDispatchQueue(connection SCNetworkConnectionRef, queue dispatch.Queue) bool
- func SCNetworkConnectionStart(connection SCNetworkConnectionRef, userOptions corefoundation.CFDictionaryRef, ...) bool
- func SCNetworkConnectionStop(connection SCNetworkConnectionRef, forceDisconnect bool) bool
- func SCNetworkConnectionUnscheduleFromRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, ...) bool
- func SCNetworkInterfaceCopyAll() corefoundation.CFArrayRef
- func SCNetworkInterfaceCopyMTU(interface_ SCNetworkInterfaceRef, mtu_cur []int, mtu_min []int, mtu_max []int) bool
- func SCNetworkInterfaceCopyMediaOptions(interface_ SCNetworkInterfaceRef, current *corefoundation.CFDictionaryRef, ...) bool
- func SCNetworkInterfaceCopyMediaSubTypeOptions(available corefoundation.CFArrayRef, subType corefoundation.CFStringRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceCopyMediaSubTypes(available corefoundation.CFArrayRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceForceConfigurationRefresh(interface_ SCNetworkInterfaceRef) bool
- func SCNetworkInterfaceGetBSDName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
- func SCNetworkInterfaceGetConfiguration(interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
- func SCNetworkInterfaceGetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef) corefoundation.CFDictionaryRef
- func SCNetworkInterfaceGetHardwareAddressString(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
- func SCNetworkInterfaceGetInterfaceType(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
- func SCNetworkInterfaceGetLocalizedDisplayName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
- func SCNetworkInterfaceGetSupportedInterfaceTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceGetSupportedProtocolTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceGetTypeID() uint
- func SCNetworkInterfaceSetConfiguration(interface_ SCNetworkInterfaceRef, config corefoundation.CFDictionaryRef) bool
- func SCNetworkInterfaceSetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef, ...) bool
- func SCNetworkInterfaceSetMTU(interface_ SCNetworkInterfaceRef, mtu int) bool
- func SCNetworkInterfaceSetMediaOptions(interface_ SCNetworkInterfaceRef, subtype corefoundation.CFStringRef, ...) bool
- func SCNetworkProtocolGetConfiguration(protocol_ SCNetworkProtocolRef) corefoundation.CFDictionaryRef
- func SCNetworkProtocolGetEnabled(protocol_ SCNetworkProtocolRef) bool
- func SCNetworkProtocolGetProtocolType(protocol_ SCNetworkProtocolRef) corefoundation.CFStringRef
- func SCNetworkProtocolGetTypeID() uint
- func SCNetworkProtocolSetConfiguration(protocol_ SCNetworkProtocolRef, config corefoundation.CFDictionaryRef) bool
- func SCNetworkProtocolSetEnabled(protocol_ SCNetworkProtocolRef, enabled bool) bool
- func SCNetworkReachabilityGetFlags(target SCNetworkReachabilityRef, flags *SCNetworkReachabilityFlags) booldeprecated
- func SCNetworkReachabilityGetTypeID() uintdeprecated
- func SCNetworkReachabilityScheduleWithRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, ...) booldeprecated
- func SCNetworkReachabilitySetCallback(target SCNetworkReachabilityRef, callout SCNetworkReachabilityCallBack, ...) booldeprecated
- func SCNetworkReachabilitySetDispatchQueue(target SCNetworkReachabilityRef, queue dispatch.Queue) booldeprecated
- func SCNetworkReachabilityUnscheduleFromRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, ...) booldeprecated
- func SCNetworkServiceAddProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) bool
- func SCNetworkServiceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCNetworkServiceCopyProtocols(service SCNetworkServiceRef) corefoundation.CFArrayRef
- func SCNetworkServiceEstablishDefaultConfiguration(service SCNetworkServiceRef) bool
- func SCNetworkServiceGetEnabled(service SCNetworkServiceRef) bool
- func SCNetworkServiceGetName(service SCNetworkServiceRef) corefoundation.CFStringRef
- func SCNetworkServiceGetServiceID(service SCNetworkServiceRef) corefoundation.CFStringRef
- func SCNetworkServiceGetTypeID() uint
- func SCNetworkServiceRemove(service SCNetworkServiceRef) bool
- func SCNetworkServiceRemoveProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) bool
- func SCNetworkServiceSetEnabled(service SCNetworkServiceRef, enabled bool) bool
- func SCNetworkServiceSetName(service SCNetworkServiceRef, name corefoundation.CFStringRef) bool
- func SCNetworkSetAddService(set SCNetworkSetRef, service SCNetworkServiceRef) bool
- func SCNetworkSetContainsInterface(set SCNetworkSetRef, interface_ SCNetworkInterfaceRef) bool
- func SCNetworkSetCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCNetworkSetCopyServices(set SCNetworkSetRef) corefoundation.CFArrayRef
- func SCNetworkSetGetName(set SCNetworkSetRef) corefoundation.CFStringRef
- func SCNetworkSetGetServiceOrder(set SCNetworkSetRef) corefoundation.CFArrayRef
- func SCNetworkSetGetSetID(set SCNetworkSetRef) corefoundation.CFStringRef
- func SCNetworkSetGetTypeID() uint
- func SCNetworkSetRemove(set SCNetworkSetRef) bool
- func SCNetworkSetRemoveService(set SCNetworkSetRef, service SCNetworkServiceRef) bool
- func SCNetworkSetSetCurrent(set SCNetworkSetRef) bool
- func SCNetworkSetSetName(set SCNetworkSetRef, name corefoundation.CFStringRef) bool
- func SCNetworkSetSetServiceOrder(set SCNetworkSetRef, newOrder corefoundation.CFArrayRef) bool
- func SCPreferencesAddValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, ...) bool
- func SCPreferencesApplyChanges(prefs SCPreferencesRef) bool
- func SCPreferencesCommitChanges(prefs SCPreferencesRef) bool
- func SCPreferencesCopyKeyList(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCPreferencesGetSignature(prefs SCPreferencesRef) corefoundation.CFDataRef
- func SCPreferencesGetTypeID() uint
- func SCPreferencesGetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
- func SCPreferencesLock(prefs SCPreferencesRef, wait bool) bool
- func SCPreferencesPathCreateUniqueChild(prefs SCPreferencesRef, prefix corefoundation.CFStringRef) corefoundation.CFStringRef
- func SCPreferencesPathGetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFStringRef
- func SCPreferencesPathGetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFDictionaryRef
- func SCPreferencesPathRemoveValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) bool
- func SCPreferencesPathSetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef, ...) bool
- func SCPreferencesPathSetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef, ...) bool
- func SCPreferencesRemoveValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) bool
- func SCPreferencesScheduleWithRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, ...) bool
- func SCPreferencesSetCallback(prefs SCPreferencesRef, callout SCPreferencesCallBack, ...) bool
- func SCPreferencesSetComputerName(prefs SCPreferencesRef, name corefoundation.CFStringRef, nameEncoding uint32) bool
- func SCPreferencesSetDispatchQueue(prefs SCPreferencesRef, queue dispatch.Queue) bool
- func SCPreferencesSetLocalHostName(prefs SCPreferencesRef, name corefoundation.CFStringRef) bool
- func SCPreferencesSetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, ...) bool
- func SCPreferencesSynchronize(prefs SCPreferencesRef)
- func SCPreferencesUnlock(prefs SCPreferencesRef) bool
- func SCPreferencesUnscheduleFromRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, ...) bool
- func SCVLANInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCVLANInterfaceCopyAvailablePhysicalInterfaces() corefoundation.CFArrayRef
- func SCVLANInterfaceGetOptions(vlan SCVLANInterfaceRef) corefoundation.CFDictionaryRef
- func SCVLANInterfaceGetTag(vlan SCVLANInterfaceRef) corefoundation.CFNumberRef
- func SCVLANInterfaceRemove(vlan SCVLANInterfaceRef) bool
- func SCVLANInterfaceSetLocalizedDisplayName(vlan SCVLANInterfaceRef, newName corefoundation.CFStringRef) bool
- func SCVLANInterfaceSetOptions(vlan SCVLANInterfaceRef, newOptions corefoundation.CFDictionaryRef) bool
- func SCVLANInterfaceSetPhysicalInterfaceAndTag(vlan SCVLANInterfaceRef, physical SCNetworkInterfaceRef, ...) bool
- type KSCBondStatus
- type KSCNetworkFlags
- type KSCStatus
- type SCBondInterfaceRef
- type SCBondStatusRef
- type SCDynamicStoreCallBack
- type SCDynamicStoreContext
- type SCDynamicStoreRef
- type SCNetworkConnectionCallBack
- type SCNetworkConnectionContext
- type SCNetworkConnectionFlags
- type SCNetworkConnectionPPPStatus
- type SCNetworkConnectionRef
- type SCNetworkConnectionStatus
- type SCNetworkInterfaceRef
- func SCNetworkInterfaceCreateWithInterface(interface_ SCNetworkInterfaceRef, interfaceType corefoundation.CFStringRef) SCNetworkInterfaceRef
- func SCNetworkInterfaceGetInterface(interface_ SCNetworkInterfaceRef) SCNetworkInterfaceRef
- func SCNetworkServiceGetInterface(service SCNetworkServiceRef) SCNetworkInterfaceRef
- func SCVLANInterfaceGetPhysicalInterface(vlan SCVLANInterfaceRef) SCNetworkInterfaceRef
- type SCNetworkProtocolRef
- type SCNetworkReachabilityCallBack
- type SCNetworkReachabilityContext
- type SCNetworkReachabilityFlags
- type SCNetworkReachabilityRef
- func SCNetworkReachabilityCreateWithAddress(allocator corefoundation.CFAllocatorRef, address unsafe.Pointer) SCNetworkReachabilityRefdeprecated
- func SCNetworkReachabilityCreateWithAddressPair(allocator corefoundation.CFAllocatorRef, localAddress unsafe.Pointer, ...) SCNetworkReachabilityRefdeprecated
- func SCNetworkReachabilityCreateWithName(allocator corefoundation.CFAllocatorRef, nodename string) SCNetworkReachabilityRefdeprecated
- type SCNetworkServiceRef
- type SCNetworkSetRef
- type SCPreferencesCallBack
- type SCPreferencesContext
- type SCPreferencesNotification
- type SCPreferencesRef
- type SCVLANInterfaceRef
Constants ¶
This section is empty.
Variables ¶
var ( // KCFErrorDomainSystemConfiguration is a string constant identifying a Core Foundation error domain. See [CFError] for further information on error domains. // // See: https://developer.apple.com/documentation/SystemConfiguration/kCFErrorDomainSystemConfiguration KCFErrorDomainSystemConfiguration string // KSCBondStatusDeviceAggregationStatus is device is aggregating. See [Ethernet Bond Aggregation Status] for a list of possible values. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCBondStatusDeviceAggregationStatus KSCBondStatusDeviceAggregationStatus string // KSCBondStatusDeviceCollecting is can be `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCBondStatusDeviceCollecting KSCBondStatusDeviceCollecting string // KSCBondStatusDeviceDistributing is can be `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCBondStatusDeviceDistributing KSCBondStatusDeviceDistributing string // KSCCompAnyRegex is a regular expression pattern that matches any component. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompAnyRegex-swift.var KSCCompAnyRegex string // KSCCompGlobal is the Component key [Global]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompGlobal-swift.var KSCCompGlobal string // KSCCompHostNames is the Component key [HostNames]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompHostNames-swift.var KSCCompHostNames string // KSCCompInterface is the Component key [Interface]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompInterface-swift.var KSCCompInterface string // KSCCompNetwork is the Component key [Network]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompNetwork-swift.var KSCCompNetwork string // KSCCompService is the Component key [Service]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompService-swift.var KSCCompService string // KSCCompSystem is the Component key [System]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompSystem-swift.var KSCCompSystem string // KSCCompUsers is the Component key Users. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCCompUsers-swift.var KSCCompUsers string // KSCDynamicStoreDomainFile is the `File:` prefix. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreDomainFile-swift.var KSCDynamicStoreDomainFile string // KSCDynamicStoreDomainPlugin is the `Plugin:` prefix. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreDomainPlugin-swift.var KSCDynamicStoreDomainPlugin string // KSCDynamicStoreDomainPrefs is the `Prefs:` prefix. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreDomainPrefs-swift.var KSCDynamicStoreDomainPrefs string // KSCDynamicStoreDomainSetup is the `Setup:` prefix. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreDomainSetup-swift.var KSCDynamicStoreDomainSetup string // KSCDynamicStoreDomainState is the `State:` prefix. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreDomainState-swift.var KSCDynamicStoreDomainState string // KSCDynamicStorePropNetInterfaces is the dynamic store key [Interfaces], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropNetInterfaces-swift.var KSCDynamicStorePropNetInterfaces string // KSCDynamicStorePropNetPrimaryInterface is the dynamic store key [PrimaryInterface], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropNetPrimaryInterface-swift.var KSCDynamicStorePropNetPrimaryInterface string // KSCDynamicStorePropNetPrimaryService is the dynamic store key [PrimaryService], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropNetPrimaryService-swift.var KSCDynamicStorePropNetPrimaryService string // KSCDynamicStorePropNetServiceIDs is the dynamic store key [ServiceIDs], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropNetServiceIDs-swift.var KSCDynamicStorePropNetServiceIDs string // KSCDynamicStorePropSetupCurrentSet is the dynamic store key [CurrentSet], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropSetupCurrentSet-swift.var KSCDynamicStorePropSetupCurrentSet string // KSCDynamicStorePropSetupLastUpdated is the dynamic store key [LastUpdated]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStorePropSetupLastUpdated-swift.var KSCDynamicStorePropSetupLastUpdated string // KSCDynamicStoreUseSessionKeys is all keys added or set into the dynamic store should be per-session keys. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCDynamicStoreUseSessionKeys KSCDynamicStoreUseSessionKeys string // KSCEntNet6to4 is the network entity key for the `6to4` dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNet6to4-swift.var KSCEntNet6to4 string // KSCEntNetAirPort is the network entity key for the [AirPort] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetAirPort-swift.var KSCEntNetAirPort string // KSCEntNetDHCP is the network entity key for the [DHCP] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetDHCP-swift.var KSCEntNetDHCP string // KSCEntNetDNS is the network entity key for the [DNS] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetDNS-swift.var KSCEntNetDNS string // KSCEntNetEthernet is the network entity key for the [Ethernet] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetEthernet-swift.var KSCEntNetEthernet string // KSCEntNetFireWire is the network entity key for the [FireWire] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetFireWire-swift.var KSCEntNetFireWire string // KSCEntNetIPSec is the network entity key for the [IPSec] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetIPSec-swift.var KSCEntNetIPSec string // KSCEntNetIPv4 is the network entity key for the [IPv4] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetIPv4-swift.var KSCEntNetIPv4 string // KSCEntNetIPv6 is the network entity key for the [IPv6] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetIPv6-swift.var KSCEntNetIPv6 string // KSCEntNetInterface is the network entity key for the [Interface] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetInterface-swift.var KSCEntNetInterface string // KSCEntNetL2TP is the network entity key for the [L2TP] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetL2TP-swift.var KSCEntNetL2TP string // KSCEntNetLink is the network entity key for the [Link] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetLink-swift.var KSCEntNetLink string // KSCEntNetModem is the network entity key for the [Modem] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetModem-swift.var KSCEntNetModem string // KSCEntNetPPP is the network entity key for the [PPP] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetPPP-swift.var KSCEntNetPPP string // KSCEntNetPPPSerial is the network entity key for the [PPPSerial] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetPPPSerial-swift.var KSCEntNetPPPSerial string // KSCEntNetPPPoE is the network entity key for the [PPPoE] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetPPPoE-swift.var KSCEntNetPPPoE string // KSCEntNetProxies is the network entity key for the [Proxies] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetProxies-swift.var KSCEntNetProxies string // KSCEntNetSMB is the network entity key for the [SMB] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntNetSMB-swift.var KSCEntNetSMB string // KSCEntUsersConsoleUser is the CompUsers key [ConsoleUser]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCEntUsersConsoleUser-swift.var KSCEntUsersConsoleUser string // KSCNetworkInterfaceType6to4 is the 6to4 interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceType6to4 KSCNetworkInterfaceType6to4 string // KSCNetworkInterfaceTypeBluetooth is the Bluetooth interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeBluetooth KSCNetworkInterfaceTypeBluetooth string // KSCNetworkInterfaceTypeBond is the Ethernet bond interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeBond KSCNetworkInterfaceTypeBond string // KSCNetworkInterfaceTypeEthernet is the Ethernet interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeEthernet KSCNetworkInterfaceTypeEthernet string // KSCNetworkInterfaceTypeFireWire is the FireWire interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeFireWire KSCNetworkInterfaceTypeFireWire string // KSCNetworkInterfaceTypeIEEE80211 is the IEEE 802.11 interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeIEEE80211 KSCNetworkInterfaceTypeIEEE80211 string // KSCNetworkInterfaceTypeIPSec is the IPSec interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeIPSec KSCNetworkInterfaceTypeIPSec string // KSCNetworkInterfaceTypeIPv4 is the IPv4 interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeIPv4 KSCNetworkInterfaceTypeIPv4 string // KSCNetworkInterfaceTypeL2TP is the L2TP interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeL2TP KSCNetworkInterfaceTypeL2TP string // KSCNetworkInterfaceTypeModem is the modem interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeModem KSCNetworkInterfaceTypeModem string // KSCNetworkInterfaceTypePPP is the PPP interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypePPP KSCNetworkInterfaceTypePPP string // KSCNetworkInterfaceTypeSerial is the serial interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeSerial KSCNetworkInterfaceTypeSerial string // KSCNetworkInterfaceTypeVLAN is the VLAN interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeVLAN KSCNetworkInterfaceTypeVLAN string // KSCNetworkInterfaceTypeWWAN is the WWAN interface. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceTypeWWAN KSCNetworkInterfaceTypeWWAN string // KSCNetworkProtocolTypeDNS is the DNS protocol. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkProtocolTypeDNS KSCNetworkProtocolTypeDNS string // KSCNetworkProtocolTypeIPv4 is the IPv4 protocol. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkProtocolTypeIPv4 KSCNetworkProtocolTypeIPv4 string // KSCNetworkProtocolTypeIPv6 is the IPv6 protocol. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkProtocolTypeIPv6 KSCNetworkProtocolTypeIPv6 string // KSCNetworkProtocolTypeProxies is protocol proxies. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkProtocolTypeProxies KSCNetworkProtocolTypeProxies string // KSCNetworkProtocolTypeSMB is the SMB procotol. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkProtocolTypeSMB KSCNetworkProtocolTypeSMB string // KSCPrefCurrentSet is the preference key [CurrentSet], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPrefCurrentSet-swift.var KSCPrefCurrentSet string // KSCPrefNetworkServices is the preference key for the [NetworkServices] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPrefNetworkServices-swift.var KSCPrefNetworkServices string // KSCPrefSets is the preference key for the [Sets] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPrefSets-swift.var KSCPrefSets string // KSCPrefSystem is the preference key for the [System] dictionary. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPrefSystem-swift.var KSCPrefSystem string // KSCPropInterfaceName is the generic key [InterfaceName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropInterfaceName-swift.var KSCPropInterfaceName string // KSCPropMACAddress is the generic key [MACAddress], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropMACAddress-swift.var KSCPropMACAddress string // KSCPropNet6to4Relay is the 6to4 key [Relay], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNet6to4Relay-swift.var KSCPropNet6to4Relay string // KSCPropNetDNSDomainName is the DNS key [DomainName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSDomainName-swift.var KSCPropNetDNSDomainName string // KSCPropNetDNSOptions is the DNS key [Options], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSOptions-swift.var KSCPropNetDNSOptions string // KSCPropNetDNSSearchDomains is the DNS key [SearchDomains], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSSearchDomains-swift.var KSCPropNetDNSSearchDomains string // KSCPropNetDNSSearchOrder is the DNS key [SearchOrder], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSSearchOrder-swift.var KSCPropNetDNSSearchOrder string // KSCPropNetDNSServerAddresses is the DNS key [ServerAddresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSServerAddresses-swift.var KSCPropNetDNSServerAddresses string // KSCPropNetDNSServerPort is the DNS key [ServerPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSServerPort-swift.var KSCPropNetDNSServerPort string // KSCPropNetDNSServerTimeout is the DNS key [ServerTimeout], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSServerTimeout-swift.var KSCPropNetDNSServerTimeout string // KSCPropNetDNSSortList is the DNS key [SortList], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSSortList-swift.var KSCPropNetDNSSortList string // KSCPropNetDNSSupplementalMatchDomains is the DNS key [SupplementalMatchDomains], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSSupplementalMatchDomains-swift.var KSCPropNetDNSSupplementalMatchDomains string // KSCPropNetDNSSupplementalMatchOrders is the DNS key [SupplementalMatchOrders], whose value is of type [CFArray], containing elements of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetDNSSupplementalMatchOrders-swift.var KSCPropNetDNSSupplementalMatchOrders string // KSCPropNetEthernetMTU is the Ethernet key [MTU], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetEthernetMTU-swift.var KSCPropNetEthernetMTU string // KSCPropNetEthernetMediaOptions is the Ethernet key [MediaOptions], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetEthernetMediaOptions-swift.var KSCPropNetEthernetMediaOptions string // KSCPropNetEthernetMediaSubType is the Ethernet key [MediaSubType], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetEthernetMediaSubType-swift.var KSCPropNetEthernetMediaSubType string // KSCPropNetIPSecAuthenticationMethod is the IPSec key [AuthenticationMethod], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecAuthenticationMethod-swift.var KSCPropNetIPSecAuthenticationMethod string // KSCPropNetIPSecConnectTime is the IPSec key ConnectTime. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecConnectTime-swift.var KSCPropNetIPSecConnectTime string // KSCPropNetIPSecLocalCertificate is the IPSec key [LocalCertificate], whose value is of type [CFData]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecLocalCertificate-swift.var KSCPropNetIPSecLocalCertificate string // KSCPropNetIPSecLocalIdentifier is the IPSec key [LocalIdentifier], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecLocalIdentifier-swift.var KSCPropNetIPSecLocalIdentifier string // KSCPropNetIPSecLocalIdentifierType is the IPSec key [LocalIdentifierType], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecLocalIdentifierType-swift.var KSCPropNetIPSecLocalIdentifierType string // KSCPropNetIPSecRemoteAddress is the IPSec key RemoteAddress. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecRemoteAddress-swift.var KSCPropNetIPSecRemoteAddress string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecSharedSecret-swift.var KSCPropNetIPSecSharedSecret string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecSharedSecretEncryption-swift.var KSCPropNetIPSecSharedSecretEncryption string // KSCPropNetIPSecStatus is the IPSec key Status. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecStatus-swift.var KSCPropNetIPSecStatus string // KSCPropNetIPSecXAuthEnabled is the IPSec key XAuthEnabled. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecXAuthEnabled-swift.var KSCPropNetIPSecXAuthEnabled string // KSCPropNetIPSecXAuthName is the IPSec key XAuthName. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecXAuthName-swift.var KSCPropNetIPSecXAuthName string // KSCPropNetIPSecXAuthPassword is the IPSec key XAuthPassword. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecXAuthPassword-swift.var KSCPropNetIPSecXAuthPassword string // KSCPropNetIPSecXAuthPasswordEncryption is the IPSec key XAuthPasswordEncryption. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPSecXAuthPasswordEncryption-swift.var KSCPropNetIPSecXAuthPasswordEncryption string // KSCPropNetIPv4Addresses is the IPv4 key [Addresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4Addresses-swift.var KSCPropNetIPv4Addresses string // KSCPropNetIPv4BroadcastAddresses is the IPv4 key [BroadcastAddresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4BroadcastAddresses-swift.var KSCPropNetIPv4BroadcastAddresses string // KSCPropNetIPv4ConfigMethod is the IPv4 key [ConfigMethod], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4ConfigMethod-swift.var KSCPropNetIPv4ConfigMethod string // KSCPropNetIPv4DHCPClientID is the IPv4 key [DHCPClientID], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4DHCPClientID-swift.var KSCPropNetIPv4DHCPClientID string // KSCPropNetIPv4DestAddresses is the IPv4 key [DestAddresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4DestAddresses-swift.var KSCPropNetIPv4DestAddresses string // KSCPropNetIPv4Router is the IPv4 key [Router], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4Router-swift.var KSCPropNetIPv4Router string // KSCPropNetIPv4SubnetMasks is the IPv4 key [SubnetMasks], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv4SubnetMasks-swift.var KSCPropNetIPv4SubnetMasks string // KSCPropNetIPv6Addresses is the IPv6 key [Addresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6Addresses-swift.var KSCPropNetIPv6Addresses string // KSCPropNetIPv6ConfigMethod is the IPv6 key [ConfigMethod], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6ConfigMethod-swift.var KSCPropNetIPv6ConfigMethod string // KSCPropNetIPv6DestAddresses is the IPv6 key [DestAddresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6DestAddresses-swift.var KSCPropNetIPv6DestAddresses string // KSCPropNetIPv6Flags is the IPv6 key [Flags], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6Flags-swift.var KSCPropNetIPv6Flags string // KSCPropNetIPv6PrefixLength is the IPv6 key [PrefixLength], whose value is of type [CFArray], containing elements of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6PrefixLength-swift.var KSCPropNetIPv6PrefixLength string // KSCPropNetIPv6Router is the IPv6 key [Router], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetIPv6Router-swift.var KSCPropNetIPv6Router string // KSCPropNetInterfaceDeviceName is the Interface key [DeviceName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetInterfaceDeviceName-swift.var KSCPropNetInterfaceDeviceName string // KSCPropNetInterfaceHardware is the Interface key [Hardware], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetInterfaceHardware-swift.var KSCPropNetInterfaceHardware string // KSCPropNetInterfaceSubType is the Interface key [SubType], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetInterfaceSubType-swift.var KSCPropNetInterfaceSubType string // KSCPropNetInterfaceType is the Interface key [Type], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetInterfaceType-swift.var KSCPropNetInterfaceType string // KSCPropNetInterfaces is the Network key [Interfaces], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetInterfaces-swift.var KSCPropNetInterfaces string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetL2TPIPSecSharedSecret-swift.var KSCPropNetL2TPIPSecSharedSecret string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetL2TPIPSecSharedSecretEncryption-swift.var KSCPropNetL2TPIPSecSharedSecretEncryption string // KSCPropNetL2TPTransport is the L2TP key [Transport], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetL2TPTransport-swift.var KSCPropNetL2TPTransport string // KSCPropNetLinkActive is the Link key [Active], whose value is of type [CFBoolean]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetLinkActive-swift.var KSCPropNetLinkActive string // KSCPropNetLinkDetaching is the Link key [Detaching], whose value is of type [CFBoolean]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetLinkDetaching-swift.var KSCPropNetLinkDetaching string // KSCPropNetLocalHostName is the Network key [LocalHostName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetLocalHostName-swift.var KSCPropNetLocalHostName string // KSCPropNetModemAccessPointName is the Modem key [AccessPointName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemAccessPointName-swift.var KSCPropNetModemAccessPointName string // KSCPropNetModemConnectSpeed is the Modem key [ConnectSpeed], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemConnectSpeed-swift.var KSCPropNetModemConnectSpeed string // KSCPropNetModemConnectionPersonality is the Modem key [ConnectionPersonality], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemConnectionPersonality-swift.var KSCPropNetModemConnectionPersonality string // KSCPropNetModemConnectionScript is the Modem key [ConnectionScript], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemConnectionScript-swift.var KSCPropNetModemConnectionScript string // KSCPropNetModemDataCompression is the Modem key [DataCompression], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemDataCompression-swift.var KSCPropNetModemDataCompression string // KSCPropNetModemDeviceContextID is the Modem key [DeviceContextID], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemDeviceContextID-swift.var KSCPropNetModemDeviceContextID string // KSCPropNetModemDeviceModel is the Modem key [DeviceModel], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemDeviceModel-swift.var KSCPropNetModemDeviceModel string // KSCPropNetModemDeviceVendor is the Modem key [DeviceVendor], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemDeviceVendor-swift.var KSCPropNetModemDeviceVendor string // KSCPropNetModemDialMode is the Modem key [DialMode], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemDialMode-swift.var KSCPropNetModemDialMode string // KSCPropNetModemErrorCorrection is the Modem key [ErrorCorrection], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemErrorCorrection-swift.var KSCPropNetModemErrorCorrection string // KSCPropNetModemHoldCallWaitingAudibleAlert is the Modem key [HoldCallWaitingAudibleAlert], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemHoldCallWaitingAudibleAlert-swift.var KSCPropNetModemHoldCallWaitingAudibleAlert string // KSCPropNetModemHoldDisconnectOnAnswer is the Modem key [HoldDisconnectOnAnswer], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemHoldDisconnectOnAnswer-swift.var KSCPropNetModemHoldDisconnectOnAnswer string // KSCPropNetModemHoldEnabled is the Modem key [HoldEnabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemHoldEnabled-swift.var KSCPropNetModemHoldEnabled string // KSCPropNetModemHoldReminder is the Modem key [HoldReminder], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemHoldReminder-swift.var KSCPropNetModemHoldReminder string // KSCPropNetModemHoldReminderTime is the Modem key [HoldReminderTime], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemHoldReminderTime-swift.var KSCPropNetModemHoldReminderTime string // KSCPropNetModemNote is the Modem key [Note], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemNote-swift.var KSCPropNetModemNote string // KSCPropNetModemPulseDial is the Modem key [PulseDial], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemPulseDial-swift.var KSCPropNetModemPulseDial string // KSCPropNetModemSpeaker is the Modem key [Speaker], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemSpeaker-swift.var KSCPropNetModemSpeaker string // KSCPropNetModemSpeed is the Modem key [Speed], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetModemSpeed-swift.var KSCPropNetModemSpeed string // KSCPropNetOverridePrimary is the Network key [OverridePrimary], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetOverridePrimary-swift.var KSCPropNetOverridePrimary string // KSCPropNetPPPACSPEnabled is the PPP key [ACSPEnabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPACSPEnabled-swift.var KSCPropNetPPPACSPEnabled string // KSCPropNetPPPAuthName is the PPP key [AuthName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPAuthName-swift.var KSCPropNetPPPAuthName string // KSCPropNetPPPAuthPassword is the PPP key [AuthPassword], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPAuthPassword-swift.var KSCPropNetPPPAuthPassword string // KSCPropNetPPPAuthPasswordEncryption is the PPP key [AuthPasswordEncryption], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPAuthPasswordEncryption-swift.var KSCPropNetPPPAuthPasswordEncryption string // KSCPropNetPPPAuthPrompt is the PPP key [AuthPrompt], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPAuthPrompt-swift.var KSCPropNetPPPAuthPrompt string // KSCPropNetPPPAuthProtocol is the PPP key [AuthProtocol], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPAuthProtocol-swift.var KSCPropNetPPPAuthProtocol string // KSCPropNetPPPCCPEnabled is the PPP key [CCPEnabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCCPEnabled-swift.var KSCPropNetPPPCCPEnabled string // KSCPropNetPPPCCPMPPE128Enabled is the PPP key [CCPMPPE128Enabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCCPMPPE128Enabled-swift.var KSCPropNetPPPCCPMPPE128Enabled string // KSCPropNetPPPCCPMPPE40Enabled is the PPP key [CCPMPPE40Enabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCCPMPPE40Enabled-swift.var KSCPropNetPPPCCPMPPE40Enabled string // KSCPropNetPPPCommAlternateRemoteAddress is the PPP key [CommAlternateRemoteAddress], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommAlternateRemoteAddress-swift.var KSCPropNetPPPCommAlternateRemoteAddress string // KSCPropNetPPPCommConnectDelay is the PPP key [CommConnectDelay], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommConnectDelay-swift.var KSCPropNetPPPCommConnectDelay string // KSCPropNetPPPCommDisplayTerminalWindow is the PPP key [CommDisplayTerminalWindow], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommDisplayTerminalWindow-swift.var KSCPropNetPPPCommDisplayTerminalWindow string // KSCPropNetPPPCommRedialCount is the PPP key [CommRedialCount], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommRedialCount-swift.var KSCPropNetPPPCommRedialCount string // KSCPropNetPPPCommRedialEnabled is the PPP key [CommRedialEnabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommRedialEnabled-swift.var KSCPropNetPPPCommRedialEnabled string // KSCPropNetPPPCommRedialInterval is the PPP key [CommRedialInterval], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommRedialInterval-swift.var KSCPropNetPPPCommRedialInterval string // KSCPropNetPPPCommRemoteAddress is the PPP key [CommRemoteAddress], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommRemoteAddress-swift.var KSCPropNetPPPCommRemoteAddress string // KSCPropNetPPPCommTerminalScript is the PPP key [CommTerminalScript], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommTerminalScript-swift.var KSCPropNetPPPCommTerminalScript string // KSCPropNetPPPCommUseTerminalScript is the PPP key [CommUseTerminalScript], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPCommUseTerminalScript-swift.var KSCPropNetPPPCommUseTerminalScript string // KSCPropNetPPPConnectTime is the PPP key [ConnectTime], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPConnectTime-swift.var KSCPropNetPPPConnectTime string // KSCPropNetPPPDeviceLastCause is the PPP key [DeviceLastCause], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDeviceLastCause-swift.var KSCPropNetPPPDeviceLastCause string // KSCPropNetPPPDialOnDemand is the PPP key [DialOnDemand], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDialOnDemand-swift.var KSCPropNetPPPDialOnDemand string // KSCPropNetPPPDisconnectOnFastUserSwitch is the PPP key [DisconnectOnFastUserSwitch], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectOnFastUserSwitch-swift.var KSCPropNetPPPDisconnectOnFastUserSwitch string // KSCPropNetPPPDisconnectOnIdle is the PPP key [DisconnectOnIdle], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectOnIdle-swift.var KSCPropNetPPPDisconnectOnIdle string // KSCPropNetPPPDisconnectOnIdleTimer is the PPP key [DisconnectOnIdleTimer], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectOnIdleTimer-swift.var KSCPropNetPPPDisconnectOnIdleTimer string // KSCPropNetPPPDisconnectOnLogout is the PPP key [DisconnectOnLogout], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectOnLogout-swift.var KSCPropNetPPPDisconnectOnLogout string // KSCPropNetPPPDisconnectOnSleep is the PPP key [DisconnectOnSleep], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectOnSleep-swift.var KSCPropNetPPPDisconnectOnSleep string // KSCPropNetPPPDisconnectTime is the PPP key [DisconnectTime], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPDisconnectTime-swift.var KSCPropNetPPPDisconnectTime string // KSCPropNetPPPIPCPCompressionVJ is the PPP key [IPCPCompressionVJ], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPIPCPCompressionVJ-swift.var KSCPropNetPPPIPCPCompressionVJ string // KSCPropNetPPPIPCPUsePeerDNS is the PPP key [IPCPUsePeerDNS], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPIPCPUsePeerDNS-swift.var KSCPropNetPPPIPCPUsePeerDNS string // KSCPropNetPPPIdleReminder is the PPP key [IdleReminder], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPIdleReminder-swift.var KSCPropNetPPPIdleReminder string // KSCPropNetPPPIdleReminderTimer is the PPP key [IdleReminderTimer], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPIdleReminderTimer-swift.var KSCPropNetPPPIdleReminderTimer string // KSCPropNetPPPLCPCompressionACField is the PPP key [LCPCompressionACField], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPCompressionACField-swift.var KSCPropNetPPPLCPCompressionACField string // KSCPropNetPPPLCPCompressionPField is the PPP key [LCPCompressionPField], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPCompressionPField-swift.var KSCPropNetPPPLCPCompressionPField string // KSCPropNetPPPLCPEchoEnabled is the PPP key [LCPEchoEnabled], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPEchoEnabled-swift.var KSCPropNetPPPLCPEchoEnabled string // KSCPropNetPPPLCPEchoFailure is the PPP key [LCPEchoFailure], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPEchoFailure-swift.var KSCPropNetPPPLCPEchoFailure string // KSCPropNetPPPLCPEchoInterval is the PPP key [LCPEchoInterval], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPEchoInterval-swift.var KSCPropNetPPPLCPEchoInterval string // KSCPropNetPPPLCPMRU is the PPP key [LCPMRU], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPMRU-swift.var KSCPropNetPPPLCPMRU string // KSCPropNetPPPLCPMTU is the PPP key [LCPMTU], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPMTU-swift.var KSCPropNetPPPLCPMTU string // KSCPropNetPPPLCPReceiveACCM is the PPP key [LCPReceiveACCM], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPReceiveACCM-swift.var KSCPropNetPPPLCPReceiveACCM string // KSCPropNetPPPLCPTransmitACCM is the PPP key [LCPTransmitACCM], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLCPTransmitACCM-swift.var KSCPropNetPPPLCPTransmitACCM string // KSCPropNetPPPLastCause is the PPP key [LastCause], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLastCause-swift.var KSCPropNetPPPLastCause string // KSCPropNetPPPLogfile is the PPP key [Logfile], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPLogfile-swift.var KSCPropNetPPPLogfile string // KSCPropNetPPPOverridePrimary is the Network key [PPPOverridePrimary], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPOverridePrimary-swift.var KSCPropNetPPPOverridePrimary string // KSCPropNetPPPRetryConnectTime is the PPP key [RetryConnectTime], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPRetryConnectTime-swift.var KSCPropNetPPPRetryConnectTime string // KSCPropNetPPPSessionTimer is the PPP key [SessionTimer], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPSessionTimer-swift.var KSCPropNetPPPSessionTimer string // KSCPropNetPPPStatus is the PPP key [Status], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPStatus-swift.var KSCPropNetPPPStatus string // KSCPropNetPPPUseSessionTimer is the PPP key [UseSessionTimer], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPUseSessionTimer-swift.var KSCPropNetPPPUseSessionTimer string // KSCPropNetPPPVerboseLogging is the PPP key [VerboseLogging], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetPPPVerboseLogging-swift.var KSCPropNetPPPVerboseLogging string // KSCPropNetProxiesExceptionsList is the Proxies key [ExceptionsList], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesExceptionsList-swift.var KSCPropNetProxiesExceptionsList string // KSCPropNetProxiesExcludeSimpleHostnames is the Proxies key [ExcludeSimpleHostnames], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesExcludeSimpleHostnames-swift.var KSCPropNetProxiesExcludeSimpleHostnames string // KSCPropNetProxiesFTPEnable is the Proxies key [FTPEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesFTPEnable-swift.var KSCPropNetProxiesFTPEnable string // KSCPropNetProxiesFTPPassive is the Proxies key [FTPPassive], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesFTPPassive-swift.var KSCPropNetProxiesFTPPassive string // KSCPropNetProxiesFTPPort is the Proxies key [FTPPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesFTPPort-swift.var KSCPropNetProxiesFTPPort string // KSCPropNetProxiesFTPProxy is the Proxies key [FTPProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesFTPProxy-swift.var KSCPropNetProxiesFTPProxy string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesFTPUser-swift.var KSCPropNetProxiesFTPUser string // KSCPropNetProxiesGopherEnable is the Proxies key [GopherEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesGopherEnable-swift.var KSCPropNetProxiesGopherEnable string // KSCPropNetProxiesGopherPort is the Proxies key [GopherPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesGopherPort-swift.var KSCPropNetProxiesGopherPort string // KSCPropNetProxiesGopherProxy is the Proxies key [GopherProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesGopherProxy-swift.var KSCPropNetProxiesGopherProxy string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesGopherUser-swift.var KSCPropNetProxiesGopherUser string // KSCPropNetProxiesHTTPEnable is the Proxies key [HTTPEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPEnable-swift.var KSCPropNetProxiesHTTPEnable string // KSCPropNetProxiesHTTPPort is the Proxies key [HTTPPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPPort-swift.var KSCPropNetProxiesHTTPPort string // KSCPropNetProxiesHTTPProxy is the Proxies key [HTTPProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPProxy-swift.var KSCPropNetProxiesHTTPProxy string // KSCPropNetProxiesHTTPSEnable is the Proxies key [HTTPSEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPSEnable-swift.var KSCPropNetProxiesHTTPSEnable string // KSCPropNetProxiesHTTPSPort is the Proxies key [HTTPSPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPSPort-swift.var KSCPropNetProxiesHTTPSPort string // KSCPropNetProxiesHTTPSProxy is the Proxies key [HTTPSProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPSProxy-swift.var KSCPropNetProxiesHTTPSProxy string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPSUser-swift.var KSCPropNetProxiesHTTPSUser string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesHTTPUser-swift.var KSCPropNetProxiesHTTPUser string // KSCPropNetProxiesProxyAutoConfigEnable is the Proxies key [ProxyAutoConfigEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesProxyAutoConfigEnable-swift.var KSCPropNetProxiesProxyAutoConfigEnable string // KSCPropNetProxiesProxyAutoConfigJavaScript is the Proxies key ProxyAutoConfigJavaScript. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesProxyAutoConfigJavaScript-swift.var KSCPropNetProxiesProxyAutoConfigJavaScript string // KSCPropNetProxiesProxyAutoConfigURLString is the Proxies key [ProxyAutoConfigURLString], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesProxyAutoConfigURLString-swift.var KSCPropNetProxiesProxyAutoConfigURLString string // KSCPropNetProxiesProxyAutoDiscoveryEnable is the Proxies key [ProxyAutoDiscoveryEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesProxyAutoDiscoveryEnable-swift.var KSCPropNetProxiesProxyAutoDiscoveryEnable string // KSCPropNetProxiesRTSPEnable is the Proxies key [RTSPEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesRTSPEnable-swift.var KSCPropNetProxiesRTSPEnable string // KSCPropNetProxiesRTSPPort is the Proxies key [RTSPPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesRTSPPort-swift.var KSCPropNetProxiesRTSPPort string // KSCPropNetProxiesRTSPProxy is the Proxies key [RTSPProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesRTSPProxy-swift.var KSCPropNetProxiesRTSPProxy string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesRTSPUser-swift.var KSCPropNetProxiesRTSPUser string // KSCPropNetProxiesSOCKSEnable is the Proxies key [SOCKSEnable], whose value is of type [CFNumber] and is equal to `0` or `1`. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesSOCKSEnable-swift.var KSCPropNetProxiesSOCKSEnable string // KSCPropNetProxiesSOCKSPort is the Proxies key [SOCKSPort], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesSOCKSPort-swift.var KSCPropNetProxiesSOCKSPort string // KSCPropNetProxiesSOCKSProxy is the Proxies key [SOCKSProxy], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesSOCKSProxy-swift.var KSCPropNetProxiesSOCKSProxy string // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetProxiesSOCKSUser-swift.var KSCPropNetProxiesSOCKSUser string // KSCPropNetSMBNetBIOSName is the SMB key [NetBIOSName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetSMBNetBIOSName-swift.var KSCPropNetSMBNetBIOSName string // KSCPropNetSMBNetBIOSNodeType is the SMB key [NetBIOSNodeType], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetSMBNetBIOSNodeType-swift.var KSCPropNetSMBNetBIOSNodeType string // KSCPropNetSMBWINSAddresses is the SMB key [WINSAddresses], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetSMBWINSAddresses-swift.var KSCPropNetSMBWINSAddresses string // KSCPropNetSMBWorkgroup is the SMB key [Workgroup], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetSMBWorkgroup-swift.var KSCPropNetSMBWorkgroup string // KSCPropNetServiceOrder is the Network key [ServiceOrder], whose value is of type [CFArray], containing elements of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropNetServiceOrder-swift.var KSCPropNetServiceOrder string // KSCPropSystemComputerName is the CompSystem key [ComputerName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropSystemComputerName-swift.var KSCPropSystemComputerName string // KSCPropSystemComputerNameEncoding is the CompSystem key [ComputerNameEncoding], whose value is of type [CFNumber]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropSystemComputerNameEncoding-swift.var KSCPropSystemComputerNameEncoding string // KSCPropUserDefinedName is the generic key [UserDefinedName], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropUserDefinedName-swift.var KSCPropUserDefinedName string // KSCPropVersion is the generic key [Version], whose value is of type [CFString]. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCPropVersion-swift.var KSCPropVersion string // KSCResvInactive is the reserved key __INACTIVE__. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCResvInactive-swift.var KSCResvInactive string // KSCResvLink is the reserved key __LINK__. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCResvLink-swift.var KSCResvLink string // KSCValNetIPSecAuthenticationMethodCertificate is the constant value Certificate. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodCertificate-swift.var KSCValNetIPSecAuthenticationMethodCertificate string // KSCValNetIPSecAuthenticationMethodHybrid is the constant value Hybrid. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodHybrid-swift.var KSCValNetIPSecAuthenticationMethodHybrid string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecAuthenticationMethodSharedSecret-swift.var KSCValNetIPSecAuthenticationMethodSharedSecret string // KSCValNetIPSecLocalIdentifierTypeKeyID is the constant value KeyID. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecLocalIdentifierTypeKeyID-swift.var KSCValNetIPSecLocalIdentifierTypeKeyID string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecSharedSecretEncryptionKeychain-swift.var KSCValNetIPSecSharedSecretEncryptionKeychain string // KSCValNetIPSecXAuthPasswordEncryptionKeychain is the constant value Keychain. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecXAuthPasswordEncryptionKeychain-swift.var KSCValNetIPSecXAuthPasswordEncryptionKeychain string // KSCValNetIPSecXAuthPasswordEncryptionPrompt is the constant value Prompt. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPSecXAuthPasswordEncryptionPrompt-swift.var KSCValNetIPSecXAuthPasswordEncryptionPrompt string // KSCValNetIPv4ConfigMethodAutomatic is the constant value Automatic. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodAutomatic-swift.var KSCValNetIPv4ConfigMethodAutomatic string // KSCValNetIPv4ConfigMethodBOOTP is the constant value BOOTP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodBOOTP-swift.var KSCValNetIPv4ConfigMethodBOOTP string // KSCValNetIPv4ConfigMethodDHCP is the constant value DHCP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodDHCP-swift.var KSCValNetIPv4ConfigMethodDHCP string // KSCValNetIPv4ConfigMethodINFORM is the constant value INFORM. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodINFORM-swift.var KSCValNetIPv4ConfigMethodINFORM string // KSCValNetIPv4ConfigMethodLinkLocal is the constant value LinkLocal. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodLinkLocal-swift.var KSCValNetIPv4ConfigMethodLinkLocal string // KSCValNetIPv4ConfigMethodManual is the constant value Manual. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodManual-swift.var KSCValNetIPv4ConfigMethodManual string // KSCValNetIPv4ConfigMethodPPP is the constant value PPP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv4ConfigMethodPPP-swift.var KSCValNetIPv4ConfigMethodPPP string // KSCValNetIPv6ConfigMethod6to4 is the constant value 6to4. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv6ConfigMethod6to4-swift.var KSCValNetIPv6ConfigMethod6to4 string // KSCValNetIPv6ConfigMethodAutomatic is the constant value Automatic. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv6ConfigMethodAutomatic-swift.var KSCValNetIPv6ConfigMethodAutomatic string // KSCValNetIPv6ConfigMethodLinkLocal is the constant value LinkLocal. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv6ConfigMethodLinkLocal-swift.var KSCValNetIPv6ConfigMethodLinkLocal string // KSCValNetIPv6ConfigMethodManual is the constant value Manual. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv6ConfigMethodManual-swift.var KSCValNetIPv6ConfigMethodManual string // KSCValNetIPv6ConfigMethodRouterAdvertisement is the constant value RouterAdvertisement. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetIPv6ConfigMethodRouterAdvertisement-swift.var KSCValNetIPv6ConfigMethodRouterAdvertisement string // KSCValNetInterfaceSubTypeL2TP is the constant value L2TP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceSubTypeL2TP-swift.var KSCValNetInterfaceSubTypeL2TP string // KSCValNetInterfaceSubTypePPPSerial is the constant value PPPSerial. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceSubTypePPPSerial-swift.var KSCValNetInterfaceSubTypePPPSerial string // KSCValNetInterfaceSubTypePPPoE is the constant value PPPoE. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceSubTypePPPoE-swift.var KSCValNetInterfaceSubTypePPPoE string // KSCValNetInterfaceType6to4 is the constant value 6to4. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceType6to4-swift.var KSCValNetInterfaceType6to4 string // KSCValNetInterfaceTypeEthernet is the constant value Ethernet. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceTypeEthernet-swift.var KSCValNetInterfaceTypeEthernet string // KSCValNetInterfaceTypeFireWire is the constant value FireWire. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceTypeFireWire-swift.var KSCValNetInterfaceTypeFireWire string // KSCValNetInterfaceTypeIPSec is the constant value IPSec. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceTypeIPSec-swift.var KSCValNetInterfaceTypeIPSec string // KSCValNetInterfaceTypePPP is the constant value PPP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetInterfaceTypePPP-swift.var KSCValNetInterfaceTypePPP string // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetL2TPIPSecSharedSecretEncryptionKeychain-swift.var KSCValNetL2TPIPSecSharedSecretEncryptionKeychain string // KSCValNetL2TPTransportIP is the constant value IP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetL2TPTransportIP-swift.var KSCValNetL2TPTransportIP string // KSCValNetL2TPTransportIPSec is the constant value IPSec. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetL2TPTransportIPSec-swift.var KSCValNetL2TPTransportIPSec string // KSCValNetModemDialModeIgnoreDialTone is the constant value IgnoreDialTone. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetModemDialModeIgnoreDialTone-swift.var KSCValNetModemDialModeIgnoreDialTone string // KSCValNetModemDialModeManual is the constant value Manual. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetModemDialModeManual-swift.var KSCValNetModemDialModeManual string // KSCValNetModemDialModeWaitForDialTone is the constant value WaitForDialTone. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetModemDialModeWaitForDialTone-swift.var KSCValNetModemDialModeWaitForDialTone string // KSCValNetPPPAuthPasswordEncryptionKeychain is the constant value Keychain. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthPasswordEncryptionKeychain-swift.var KSCValNetPPPAuthPasswordEncryptionKeychain string // KSCValNetPPPAuthPasswordEncryptionToken is the constant value Token. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthPasswordEncryptionToken-swift.var KSCValNetPPPAuthPasswordEncryptionToken string // KSCValNetPPPAuthPromptAfter is the constant value After. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthPromptAfter-swift.var KSCValNetPPPAuthPromptAfter string // KSCValNetPPPAuthPromptBefore is the constant value Before. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthPromptBefore-swift.var KSCValNetPPPAuthPromptBefore string // KSCValNetPPPAuthProtocolCHAP is the constant value CHAP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthProtocolCHAP-swift.var KSCValNetPPPAuthProtocolCHAP string // KSCValNetPPPAuthProtocolEAP is the constant value EAP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthProtocolEAP-swift.var KSCValNetPPPAuthProtocolEAP string // KSCValNetPPPAuthProtocolMSCHAP1 is the constant value MSCHAP1. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthProtocolMSCHAP1-swift.var KSCValNetPPPAuthProtocolMSCHAP1 string // KSCValNetPPPAuthProtocolMSCHAP2 is the constant value MSCHAP2. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthProtocolMSCHAP2-swift.var KSCValNetPPPAuthProtocolMSCHAP2 string // KSCValNetPPPAuthProtocolPAP is the constant value PAP. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetPPPAuthProtocolPAP-swift.var KSCValNetPPPAuthProtocolPAP string // KSCValNetSMBNetBIOSNodeTypeBroadcast is the constant value Broadcast. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetSMBNetBIOSNodeTypeBroadcast-swift.var KSCValNetSMBNetBIOSNodeTypeBroadcast string // KSCValNetSMBNetBIOSNodeTypeHybrid is the constant value Hybrid. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetSMBNetBIOSNodeTypeHybrid-swift.var KSCValNetSMBNetBIOSNodeTypeHybrid string // KSCValNetSMBNetBIOSNodeTypeMixed is the constant value Mixed. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetSMBNetBIOSNodeTypeMixed-swift.var KSCValNetSMBNetBIOSNodeTypeMixed string // KSCValNetSMBNetBIOSNodeTypePeer is the constant value Peer. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCValNetSMBNetBIOSNodeTypePeer-swift.var KSCValNetSMBNetBIOSNodeTypePeer string )
Functions ¶
func CNCopySupportedInterfaces ¶
func CNCopySupportedInterfaces() corefoundation.CFArrayRef
CNCopySupportedInterfaces returns the names of all network interfaces Captive Network Support is monitoring.
See: https://developer.apple.com/documentation/SystemConfiguration/CNCopySupportedInterfaces
func CNMarkPortalOffline
deprecated
func CNMarkPortalOffline(interfaceName corefoundation.CFStringRef) bool
CNMarkPortalOffline informs Captive Network Support that the device is not authenticated on a captive network.
Deprecated: Deprecated.
See: https://developer.apple.com/documentation/SystemConfiguration/CNMarkPortalOffline
func CNMarkPortalOnline
deprecated
func CNMarkPortalOnline(interfaceName corefoundation.CFStringRef) bool
CNMarkPortalOnline informs Captive Network Support that the application has successfully authenticated the device to a captive network.
Deprecated: Deprecated.
See: https://developer.apple.com/documentation/SystemConfiguration/CNMarkPortalOnline
func CNSetSupportedSSIDs
deprecated
func CNSetSupportedSSIDs(ssidArray corefoundation.CFArrayRef) bool
CNSetSupportedSSIDs specifies an updated list of captive network SSIDs that the application performs authentication on.
Deprecated: Deprecated.
See: https://developer.apple.com/documentation/SystemConfiguration/CNSetSupportedSSIDs
func DHCPClientPreferencesCopyApplicationOptions ¶
func DHCPClientPreferencesCopyApplicationOptions(applicationID corefoundation.CFStringRef, count *int) *uint8
DHCPClientPreferencesCopyApplicationOptions returns the list of options for the specified application ID.
func DHCPClientPreferencesSetApplicationOptions ¶
func DHCPClientPreferencesSetApplicationOptions(applicationID corefoundation.CFStringRef, options []byte, count int) bool
DHCPClientPreferencesSetApplicationOptions updates the DHCP client preferences to include the specified list of options for the specified application ID.
func DHCPInfoGetLeaseExpirationTime ¶
func DHCPInfoGetLeaseExpirationTime(info corefoundation.CFDictionaryRef) corefoundation.CFDateRef
DHCPInfoGetLeaseExpirationTime returns the lease expiration time data.
See: https://developer.apple.com/documentation/SystemConfiguration/DHCPInfoGetLeaseExpirationTime
func DHCPInfoGetLeaseStartTime ¶
func DHCPInfoGetLeaseStartTime(info corefoundation.CFDictionaryRef) corefoundation.CFDateRef
DHCPInfoGetLeaseStartTime returns the lease start time data.
See: https://developer.apple.com/documentation/SystemConfiguration/DHCPInfoGetLeaseStartTime
func DHCPInfoGetOptionData ¶
func DHCPInfoGetOptionData(info corefoundation.CFDictionaryRef, code uint8) corefoundation.CFDataRef
DHCPInfoGetOptionData returns DHCP option data, if present.
See: https://developer.apple.com/documentation/SystemConfiguration/DHCPInfoGetOptionData
func SCBondInterfaceCopyAll ¶
func SCBondInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCBondInterfaceCopyAll returns all Ethernet bond interfaces on the system.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceCopyAll(_:)
func SCBondInterfaceCopyAvailableMemberInterfaces ¶
func SCBondInterfaceCopyAvailableMemberInterfaces(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCBondInterfaceCopyAvailableMemberInterfaces returns all network capable devices on the system that can be added to an Ethernet bond interface.
func SCBondInterfaceGetMemberInterfaces ¶
func SCBondInterfaceGetMemberInterfaces(bond SCBondInterfaceRef) corefoundation.CFArrayRef
SCBondInterfaceGetMemberInterfaces returns the member interfaces for the specified Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceGetMemberInterfaces(_:)
func SCBondInterfaceGetOptions ¶
func SCBondInterfaceGetOptions(bond SCBondInterfaceRef) corefoundation.CFDictionaryRef
SCBondInterfaceGetOptions returns the configuration settings associated with the specified Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceGetOptions(_:)
func SCBondInterfaceRemove ¶
func SCBondInterfaceRemove(bond SCBondInterfaceRef) bool
SCBondInterfaceRemove removes the Ethernet bond interface from the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceRemove(_:)
func SCBondInterfaceSetLocalizedDisplayName ¶
func SCBondInterfaceSetLocalizedDisplayName(bond SCBondInterfaceRef, newName corefoundation.CFStringRef) bool
SCBondInterfaceSetLocalizedDisplayName sets the localized display name for the specified Ethernet bond interface.
func SCBondInterfaceSetMemberInterfaces ¶
func SCBondInterfaceSetMemberInterfaces(bond SCBondInterfaceRef, members corefoundation.CFArrayRef) bool
SCBondInterfaceSetMemberInterfaces sets the member interfaces for the specified Ethernet bond interface.
func SCBondInterfaceSetOptions ¶
func SCBondInterfaceSetOptions(bond SCBondInterfaceRef, newOptions corefoundation.CFDictionaryRef) bool
SCBondInterfaceSetOptions sets the configuration settings for the specified Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceSetOptions(_:_:)
func SCBondStatusGetInterfaceStatus ¶
func SCBondStatusGetInterfaceStatus(bondStatus SCBondStatusRef, interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
SCBondStatusGetInterfaceStatus returns the status of the specified member interface of an Ethernet bond or the status of the bond as a whole.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondStatusGetInterfaceStatus(_:_:)
func SCBondStatusGetMemberInterfaces ¶
func SCBondStatusGetMemberInterfaces(bondStatus SCBondStatusRef) corefoundation.CFArrayRef
SCBondStatusGetMemberInterfaces returns the member interfaces that are represented with the Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondStatusGetMemberInterfaces(_:)
func SCBondStatusGetTypeID ¶
func SCBondStatusGetTypeID() uint
SCBondStatusGetTypeID returns the type identifier of all SCBondStatusRef instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondStatusGetTypeID()
func SCCopyLastError ¶
func SCCopyLastError() corefoundation.CFErrorRef
SCCopyLastError returns an error or status code associated with the most recent function call.
See: https://developer.apple.com/documentation/SystemConfiguration/SCCopyLastError()
func SCDynamicStoreAddTemporaryValue ¶
func SCDynamicStoreAddTemporaryValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) bool
SCDynamicStoreAddTemporaryValue temporarily adds the specified key-value pair to the dynamic store, if no such key already exists.
func SCDynamicStoreAddValue ¶
func SCDynamicStoreAddValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) bool
SCDynamicStoreAddValue adds the specified key-value pair to the dynamic store, if no such key already exists.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreAddValue(_:_:_:)
func SCDynamicStoreCopyComputerName ¶
func SCDynamicStoreCopyComputerName(store SCDynamicStoreRef, nameEncoding *uint32) corefoundation.CFStringRef
SCDynamicStoreCopyComputerName returns the current computer name.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyComputerName(_:_:)
func SCDynamicStoreCopyConsoleUser ¶
func SCDynamicStoreCopyConsoleUser(store SCDynamicStoreRef, uid *uint32, gid *uint32) corefoundation.CFStringRef
SCDynamicStoreCopyConsoleUser returns information about the user currently logged into the system.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyConsoleUser(_:_:_:)
func SCDynamicStoreCopyDHCPInfo ¶
func SCDynamicStoreCopyDHCPInfo(store SCDynamicStoreRef, serviceID corefoundation.CFStringRef) corefoundation.CFDictionaryRef
SCDynamicStoreCopyDHCPInfo returns the DHCP information for the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyDHCPInfo
func SCDynamicStoreCopyKeyList ¶
func SCDynamicStoreCopyKeyList(store SCDynamicStoreRef, pattern corefoundation.CFStringRef) corefoundation.CFArrayRef
SCDynamicStoreCopyKeyList returns the keys that represent the current dynamic store entries that match the specified pattern.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyKeyList(_:_:)
func SCDynamicStoreCopyLocalHostName ¶
func SCDynamicStoreCopyLocalHostName(store SCDynamicStoreRef) corefoundation.CFStringRef
SCDynamicStoreCopyLocalHostName returns the current local host name.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyLocalHostName(_:)
func SCDynamicStoreCopyLocation ¶
func SCDynamicStoreCopyLocation(store SCDynamicStoreRef) corefoundation.CFStringRef
SCDynamicStoreCopyLocation returns the current location identifier.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyLocation(_:)
func SCDynamicStoreCopyMultiple ¶
func SCDynamicStoreCopyMultiple(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, patterns corefoundation.CFArrayRef) corefoundation.CFDictionaryRef
SCDynamicStoreCopyMultiple returns the key-value pairs that match the specified keys and key patterns.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyMultiple(_:_:_:)
func SCDynamicStoreCopyNotifiedKeys ¶
func SCDynamicStoreCopyNotifiedKeys(store SCDynamicStoreRef) corefoundation.CFArrayRef
SCDynamicStoreCopyNotifiedKeys returns the keys that have changed since the last call to this function.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyNotifiedKeys(_:)
func SCDynamicStoreCopyProxies ¶
func SCDynamicStoreCopyProxies(store SCDynamicStoreRef) corefoundation.CFDictionaryRef
SCDynamicStoreCopyProxies returns the key-value pairs that represent the current internet proxy settings.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyProxies(_:)
func SCDynamicStoreCopyValue ¶
func SCDynamicStoreCopyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
SCDynamicStoreCopyValue returns the value associated with the specified key.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCopyValue(_:_:)
func SCDynamicStoreCreateRunLoopSource ¶
func SCDynamicStoreCreateRunLoopSource(allocator corefoundation.CFAllocatorRef, store SCDynamicStoreRef, order int) corefoundation.CFRunLoopSourceRef
SCDynamicStoreCreateRunLoopSource creates a run loop source object that can be added to the application’s run loop.
func SCDynamicStoreGetTypeID ¶
func SCDynamicStoreGetTypeID() uint
SCDynamicStoreGetTypeID returns the type identifier of all [SCDynamicStore] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreGetTypeID()
func SCDynamicStoreKeyCreate ¶
func SCDynamicStoreKeyCreate(allocator corefoundation.CFAllocatorRef, fmt corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreate creates a dynamic store key using the specified format.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreKeyCreate
func SCDynamicStoreKeyCreateComputerName ¶
func SCDynamicStoreKeyCreateComputerName(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateComputerName creates a key that can be used to receive notifications when the current computer name changes.
func SCDynamicStoreKeyCreateConsoleUser ¶
func SCDynamicStoreKeyCreateConsoleUser(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateConsoleUser creates a key that can be used to receive notifications when the current console user changes.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreKeyCreateConsoleUser(_:)
func SCDynamicStoreKeyCreateHostNames ¶
func SCDynamicStoreKeyCreateHostNames(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateHostNames creates a key that can be used to receive notifications when the [HostNames] entity changes.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreKeyCreateHostNames(_:)
func SCDynamicStoreKeyCreateLocation ¶
func SCDynamicStoreKeyCreateLocation(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateLocation creates a key that can be used to receive notifications when the location identifier changes.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreKeyCreateLocation(_:)
func SCDynamicStoreKeyCreateNetworkGlobalEntity ¶
func SCDynamicStoreKeyCreateNetworkGlobalEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkGlobalEntity creates a dynamic store key that can be used to access a specific global (as opposed to a per-service or per-interface) network configuration entity.
func SCDynamicStoreKeyCreateNetworkInterface ¶
func SCDynamicStoreKeyCreateNetworkInterface(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkInterface creates a dynamic store key that can be used to access the network interface configuration information in the dynamic store.
func SCDynamicStoreKeyCreateNetworkInterfaceEntity ¶
func SCDynamicStoreKeyCreateNetworkInterfaceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ifname corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkInterfaceEntity creates a dynamic store key that can be used to access the per-interface network configuration information in the dynamic store.
func SCDynamicStoreKeyCreateNetworkServiceEntity ¶
func SCDynamicStoreKeyCreateNetworkServiceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, serviceID corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkServiceEntity creates a dynamic store key that can be used to access the per-service network configuration information.
func SCDynamicStoreKeyCreateProxies ¶
func SCDynamicStoreKeyCreateProxies(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateProxies creates a key that can be used to receive notifications when the current network proxy settings are changed.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreKeyCreateProxies(_:)
func SCDynamicStoreNotifyValue ¶
func SCDynamicStoreNotifyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) bool
SCDynamicStoreNotifyValue causes a notification to be delivered for the specified key in the dynamic store.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreNotifyValue(_:_:)
func SCDynamicStoreRemoveValue ¶
func SCDynamicStoreRemoveValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) bool
SCDynamicStoreRemoveValue removes the value of the specified key from the dynamic store.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreRemoveValue(_:_:)
func SCDynamicStoreSetDispatchQueue ¶
func SCDynamicStoreSetDispatchQueue(store SCDynamicStoreRef, queue dispatch.Queue) bool
SCDynamicStoreSetDispatchQueue initiates notifications for the notification keys, using the specified dispatch queue for the callback.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreSetDispatchQueue(_:_:)
func SCDynamicStoreSetMultiple ¶
func SCDynamicStoreSetMultiple(store SCDynamicStoreRef, keysToSet corefoundation.CFDictionaryRef, keysToRemove corefoundation.CFArrayRef, keysToNotify corefoundation.CFArrayRef) bool
SCDynamicStoreSetMultiple updates multiple values in the dynamic store.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreSetMultiple(_:_:_:_:)
func SCDynamicStoreSetNotificationKeys ¶
func SCDynamicStoreSetNotificationKeys(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, patterns corefoundation.CFArrayRef) bool
SCDynamicStoreSetNotificationKeys specifies a set of keys and key patterns that should be monitored for changes.
func SCDynamicStoreSetValue ¶
func SCDynamicStoreSetValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) bool
SCDynamicStoreSetValue adds or replaces a value in the dynamic store for the specified key.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreSetValue(_:_:_:)
func SCError ¶
func SCError() int
SCError returns an error or status code associated with the most recent function call.
See: https://developer.apple.com/documentation/SystemConfiguration/SCError()
func SCErrorString ¶
SCErrorString returns a string describing the specified status code or error code.
See: https://developer.apple.com/documentation/SystemConfiguration/SCErrorString(_:)
func SCNetworkConnectionCopyExtendedStatus ¶
func SCNetworkConnectionCopyExtendedStatus(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyExtendedStatus returns the extended status of the connection.
func SCNetworkConnectionCopyServiceID ¶
func SCNetworkConnectionCopyServiceID(connection SCNetworkConnectionRef) corefoundation.CFStringRef
SCNetworkConnectionCopyServiceID returns the service ID associated with the specified network connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionCopyServiceID(_:)
func SCNetworkConnectionCopyStatistics ¶
func SCNetworkConnectionCopyStatistics(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyStatistics returns the statistics of the specified connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionCopyStatistics(_:)
func SCNetworkConnectionCopyUserOptions ¶
func SCNetworkConnectionCopyUserOptions(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyUserOptions gets the user options used to start the specified connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionCopyUserOptions(_:)
func SCNetworkConnectionCopyUserPreferences ¶
func SCNetworkConnectionCopyUserPreferences(selectionOptions corefoundation.CFDictionaryRef, serviceID *corefoundation.CFStringRef, userOptions *corefoundation.CFDictionaryRef) bool
SCNetworkConnectionCopyUserPreferences provides the default service ID and a dictionary of user options for the specified connection.
func SCNetworkConnectionGetTypeID ¶
func SCNetworkConnectionGetTypeID() uint
SCNetworkConnectionGetTypeID returns the type identifier of all [SCNetworkConnection] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionGetTypeID()
func SCNetworkConnectionScheduleWithRunLoop ¶
func SCNetworkConnectionScheduleWithRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCNetworkConnectionScheduleWithRunLoop schedules the specified connection with the specified run loop.
func SCNetworkConnectionSetDispatchQueue ¶
func SCNetworkConnectionSetDispatchQueue(connection SCNetworkConnectionRef, queue dispatch.Queue) bool
SCNetworkConnectionSetDispatchQueue specifies a dispatch queue to use for the connection’s callback function and enables notifications.
func SCNetworkConnectionStart ¶
func SCNetworkConnectionStart(connection SCNetworkConnectionRef, userOptions corefoundation.CFDictionaryRef, linger bool) bool
SCNetworkConnectionStart starts the connection process for the specified network connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionStart(_:_:_:)
func SCNetworkConnectionStop ¶
func SCNetworkConnectionStop(connection SCNetworkConnectionRef, forceDisconnect bool) bool
SCNetworkConnectionStop stops the connection process for the specified network connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionStop(_:_:)
func SCNetworkConnectionUnscheduleFromRunLoop ¶
func SCNetworkConnectionUnscheduleFromRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCNetworkConnectionUnscheduleFromRunLoop unschedules the specified connection from the specified run loop.
func SCNetworkInterfaceCopyAll ¶
func SCNetworkInterfaceCopyAll() corefoundation.CFArrayRef
SCNetworkInterfaceCopyAll returns all network-capable interfaces on the system.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceCopyAll()
func SCNetworkInterfaceCopyMTU ¶
func SCNetworkInterfaceCopyMTU(interface_ SCNetworkInterfaceRef, mtu_cur []int, mtu_min []int, mtu_max []int) bool
SCNetworkInterfaceCopyMTU returns the current MTU setting and the range of allowable values for the specified network interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceCopyMTU(_:_:_:_:)
func SCNetworkInterfaceCopyMediaOptions ¶
func SCNetworkInterfaceCopyMediaOptions(interface_ SCNetworkInterfaceRef, current *corefoundation.CFDictionaryRef, active *corefoundation.CFDictionaryRef, available *corefoundation.CFArrayRef, filter bool) bool
SCNetworkInterfaceCopyMediaOptions returns information media options for the specified network interface.
func SCNetworkInterfaceCopyMediaSubTypeOptions ¶
func SCNetworkInterfaceCopyMediaSubTypeOptions(available corefoundation.CFArrayRef, subType corefoundation.CFStringRef) corefoundation.CFArrayRef
SCNetworkInterfaceCopyMediaSubTypeOptions returns a list of available media options for the specified interface configuration options and subtype.
func SCNetworkInterfaceCopyMediaSubTypes ¶
func SCNetworkInterfaceCopyMediaSubTypes(available corefoundation.CFArrayRef) corefoundation.CFArrayRef
SCNetworkInterfaceCopyMediaSubTypes returns a list of available media subtypes for the specified interface configuration options.
func SCNetworkInterfaceForceConfigurationRefresh ¶
func SCNetworkInterfaceForceConfigurationRefresh(interface_ SCNetworkInterfaceRef) bool
SCNetworkInterfaceForceConfigurationRefresh sends a notification to interested network configuration agents to immediately retry their configuration.
func SCNetworkInterfaceGetBSDName ¶
func SCNetworkInterfaceGetBSDName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetBSDName returns the BSD interface or device name for the specified interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceGetBSDName(_:)
func SCNetworkInterfaceGetConfiguration ¶
func SCNetworkInterfaceGetConfiguration(interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
SCNetworkInterfaceGetConfiguration returns the configuration settings associated with the specified interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceGetConfiguration(_:)
func SCNetworkInterfaceGetExtendedConfiguration ¶
func SCNetworkInterfaceGetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef) corefoundation.CFDictionaryRef
SCNetworkInterfaceGetExtendedConfiguration returns the extended configuration settings associated with the specified interface.
func SCNetworkInterfaceGetHardwareAddressString ¶
func SCNetworkInterfaceGetHardwareAddressString(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetHardwareAddressString returns a displayable link layer address for the specified interface.
func SCNetworkInterfaceGetInterfaceType ¶
func SCNetworkInterfaceGetInterfaceType(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetInterfaceType returns the network interface type of the specified interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceGetInterfaceType(_:)
func SCNetworkInterfaceGetLocalizedDisplayName ¶
func SCNetworkInterfaceGetLocalizedDisplayName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetLocalizedDisplayName returns the localized display name, such as “Ethernet” or “FireWire”, for the specified interface.
func SCNetworkInterfaceGetSupportedInterfaceTypes ¶
func SCNetworkInterfaceGetSupportedInterfaceTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
SCNetworkInterfaceGetSupportedInterfaceTypes identifies all of the network interface types, such as PPP, that can be layered on top of the specified interface.
func SCNetworkInterfaceGetSupportedProtocolTypes ¶
func SCNetworkInterfaceGetSupportedProtocolTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
SCNetworkInterfaceGetSupportedProtocolTypes identifies all of the network protocol types, such as IPv4 and IPv6, that can be layered on top of the specified interface.
func SCNetworkInterfaceGetTypeID ¶
func SCNetworkInterfaceGetTypeID() uint
SCNetworkInterfaceGetTypeID returns the type identifier of all [SCNetworkInterface] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceGetTypeID()
func SCNetworkInterfaceSetConfiguration ¶
func SCNetworkInterfaceSetConfiguration(interface_ SCNetworkInterfaceRef, config corefoundation.CFDictionaryRef) bool
SCNetworkInterfaceSetConfiguration stores the configuration settings for the specified interface.
func SCNetworkInterfaceSetExtendedConfiguration ¶
func SCNetworkInterfaceSetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef, config corefoundation.CFDictionaryRef) bool
SCNetworkInterfaceSetExtendedConfiguration stores the extended configuration settings for the specified interface.
func SCNetworkInterfaceSetMTU ¶
func SCNetworkInterfaceSetMTU(interface_ SCNetworkInterfaceRef, mtu int) bool
SCNetworkInterfaceSetMTU sets the requested MTU setting for the specified network interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceSetMTU(_:_:)
func SCNetworkInterfaceSetMediaOptions ¶
func SCNetworkInterfaceSetMediaOptions(interface_ SCNetworkInterfaceRef, subtype corefoundation.CFStringRef, options corefoundation.CFArrayRef) bool
SCNetworkInterfaceSetMediaOptions sets the requested media subtype and options for the specified network interface.
func SCNetworkProtocolGetConfiguration ¶
func SCNetworkProtocolGetConfiguration(protocol_ SCNetworkProtocolRef) corefoundation.CFDictionaryRef
SCNetworkProtocolGetConfiguration returns the configuration settings associated with the specified protocol.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocolGetConfiguration(_:)
func SCNetworkProtocolGetEnabled ¶
func SCNetworkProtocolGetEnabled(protocol_ SCNetworkProtocolRef) bool
SCNetworkProtocolGetEnabled returns a Boolean value indicating whether the specified protocol is enabled.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocolGetEnabled(_:)
func SCNetworkProtocolGetProtocolType ¶
func SCNetworkProtocolGetProtocolType(protocol_ SCNetworkProtocolRef) corefoundation.CFStringRef
SCNetworkProtocolGetProtocolType returns the type of the specified network protocol.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocolGetProtocolType(_:)
func SCNetworkProtocolGetTypeID ¶
func SCNetworkProtocolGetTypeID() uint
SCNetworkProtocolGetTypeID returns the type identifier of all [SCNetworkProtocol] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocolGetTypeID()
func SCNetworkProtocolSetConfiguration ¶
func SCNetworkProtocolSetConfiguration(protocol_ SCNetworkProtocolRef, config corefoundation.CFDictionaryRef) bool
SCNetworkProtocolSetConfiguration stores the configuration settings for the specified network protocol.
func SCNetworkProtocolSetEnabled ¶
func SCNetworkProtocolSetEnabled(protocol_ SCNetworkProtocolRef, enabled bool) bool
SCNetworkProtocolSetEnabled enables or disables the specified protocol.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocolSetEnabled(_:_:)
func SCNetworkReachabilityGetFlags
deprecated
func SCNetworkReachabilityGetFlags(target SCNetworkReachabilityRef, flags *SCNetworkReachabilityFlags) bool
SCNetworkReachabilityGetFlags determines if the specified network target is reachable using the current network configuration.
Deprecated: Deprecated since macOS 14.4.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachabilityGetFlags(_:_:)
func SCNetworkReachabilityGetTypeID
deprecated
func SCNetworkReachabilityGetTypeID() uint
SCNetworkReachabilityGetTypeID returns the type identifier of all [SCNetworkReachability] instances.
Deprecated: Deprecated since macOS 14.4.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachabilityGetTypeID()
func SCNetworkReachabilityScheduleWithRunLoop
deprecated
func SCNetworkReachabilityScheduleWithRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCNetworkReachabilityScheduleWithRunLoop schedules the specified network target with the specified run loop and mode.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkReachabilitySetCallback
deprecated
func SCNetworkReachabilitySetCallback(target SCNetworkReachabilityRef, callout SCNetworkReachabilityCallBack, context *SCNetworkReachabilityContext) bool
SCNetworkReachabilitySetCallback assigns a client to the specified target, which receives callbacks when the reachability of the target changes.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkReachabilitySetDispatchQueue
deprecated
func SCNetworkReachabilitySetDispatchQueue(target SCNetworkReachabilityRef, queue dispatch.Queue) bool
SCNetworkReachabilitySetDispatchQueue schedules callbacks for the specified target on the specified dispatch queue.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkReachabilityUnscheduleFromRunLoop
deprecated
func SCNetworkReachabilityUnscheduleFromRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCNetworkReachabilityUnscheduleFromRunLoop unschedules the specified target from the specified run loop and mode.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkServiceAddProtocolType ¶
func SCNetworkServiceAddProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) bool
SCNetworkServiceAddProtocolType adds the network protocol of the specified type to the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceAddProtocolType(_:_:)
func SCNetworkServiceCopyAll ¶
func SCNetworkServiceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCNetworkServiceCopyAll returns all available network services for the specified preferences.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceCopyAll(_:)
func SCNetworkServiceCopyProtocols ¶
func SCNetworkServiceCopyProtocols(service SCNetworkServiceRef) corefoundation.CFArrayRef
SCNetworkServiceCopyProtocols returns all network protocols associated with the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceCopyProtocols(_:)
func SCNetworkServiceEstablishDefaultConfiguration ¶
func SCNetworkServiceEstablishDefaultConfiguration(service SCNetworkServiceRef) bool
SCNetworkServiceEstablishDefaultConfiguration establishes the default configuration for the specified network service.
func SCNetworkServiceGetEnabled ¶
func SCNetworkServiceGetEnabled(service SCNetworkServiceRef) bool
SCNetworkServiceGetEnabled returns a Boolean value indicating whether the specified service is enabled.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceGetEnabled(_:)
func SCNetworkServiceGetName ¶
func SCNetworkServiceGetName(service SCNetworkServiceRef) corefoundation.CFStringRef
SCNetworkServiceGetName returns the user-specified name associated with the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceGetName(_:)
func SCNetworkServiceGetServiceID ¶
func SCNetworkServiceGetServiceID(service SCNetworkServiceRef) corefoundation.CFStringRef
SCNetworkServiceGetServiceID returns the identifier for the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceGetServiceID(_:)
func SCNetworkServiceGetTypeID ¶
func SCNetworkServiceGetTypeID() uint
SCNetworkServiceGetTypeID returns the type identifier of all [SCNetworkService] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceGetTypeID()
func SCNetworkServiceRemove ¶
func SCNetworkServiceRemove(service SCNetworkServiceRef) bool
SCNetworkServiceRemove removes the specified network service from the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceRemove(_:)
func SCNetworkServiceRemoveProtocolType ¶
func SCNetworkServiceRemoveProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) bool
SCNetworkServiceRemoveProtocolType removes the network protocol of the specified type from the specified service.
func SCNetworkServiceSetEnabled ¶
func SCNetworkServiceSetEnabled(service SCNetworkServiceRef, enabled bool) bool
SCNetworkServiceSetEnabled enables or disables the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceSetEnabled(_:_:)
func SCNetworkServiceSetName ¶
func SCNetworkServiceSetName(service SCNetworkServiceRef, name corefoundation.CFStringRef) bool
SCNetworkServiceSetName stores the user-specified name for the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceSetName(_:_:)
func SCNetworkSetAddService ¶
func SCNetworkSetAddService(set SCNetworkSetRef, service SCNetworkServiceRef) bool
SCNetworkSetAddService adds the specified network service to the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetAddService(_:_:)
func SCNetworkSetContainsInterface ¶
func SCNetworkSetContainsInterface(set SCNetworkSetRef, interface_ SCNetworkInterfaceRef) bool
SCNetworkSetContainsInterface returns a Boolean value indicating whether the specified interface is represented by at least one network service in the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetContainsInterface(_:_:)
func SCNetworkSetCopyAll ¶
func SCNetworkSetCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCNetworkSetCopyAll returns all available sets for the specified preferences session.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetCopyAll(_:)
func SCNetworkSetCopyServices ¶
func SCNetworkSetCopyServices(set SCNetworkSetRef) corefoundation.CFArrayRef
SCNetworkSetCopyServices returns all network services associated with the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetCopyServices(_:)
func SCNetworkSetGetName ¶
func SCNetworkSetGetName(set SCNetworkSetRef) corefoundation.CFStringRef
SCNetworkSetGetName returns the user-specified name associated with the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetGetName(_:)
func SCNetworkSetGetServiceOrder ¶
func SCNetworkSetGetServiceOrder(set SCNetworkSetRef) corefoundation.CFArrayRef
SCNetworkSetGetServiceOrder returns the user-specified ordering of network services within the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetGetServiceOrder(_:)
func SCNetworkSetGetSetID ¶
func SCNetworkSetGetSetID(set SCNetworkSetRef) corefoundation.CFStringRef
SCNetworkSetGetSetID returns the identifier for the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetGetSetID(_:)
func SCNetworkSetGetTypeID ¶
func SCNetworkSetGetTypeID() uint
SCNetworkSetGetTypeID returns the type identifier of all [SCNetworkSet] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetGetTypeID()
func SCNetworkSetRemove ¶
func SCNetworkSetRemove(set SCNetworkSetRef) bool
SCNetworkSetRemove removes the specified set from the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetRemove(_:)
func SCNetworkSetRemoveService ¶
func SCNetworkSetRemoveService(set SCNetworkSetRef, service SCNetworkServiceRef) bool
SCNetworkSetRemoveService removes the specified network service from the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetRemoveService(_:_:)
func SCNetworkSetSetCurrent ¶
func SCNetworkSetSetCurrent(set SCNetworkSetRef) bool
SCNetworkSetSetCurrent specifies the set that should be the current set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetSetCurrent(_:)
func SCNetworkSetSetName ¶
func SCNetworkSetSetName(set SCNetworkSetRef, name corefoundation.CFStringRef) bool
SCNetworkSetSetName stores the user-specified name for the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetSetName(_:_:)
func SCNetworkSetSetServiceOrder ¶
func SCNetworkSetSetServiceOrder(set SCNetworkSetRef, newOrder corefoundation.CFArrayRef) bool
SCNetworkSetSetServiceOrder stores the user-specified ordering of network services for the specified set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetSetServiceOrder(_:_:)
func SCPreferencesAddValue ¶
func SCPreferencesAddValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) bool
SCPreferencesAddValue associates the specified value with the specified preference key.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesAddValue(_:_:_:)
func SCPreferencesApplyChanges ¶
func SCPreferencesApplyChanges(prefs SCPreferencesRef) bool
SCPreferencesApplyChanges requests that the currently stored configuration preferences be applied to the active configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesApplyChanges(_:)
func SCPreferencesCommitChanges ¶
func SCPreferencesCommitChanges(prefs SCPreferencesRef) bool
SCPreferencesCommitChanges commits changes made to the configuration preferences to persistent storage.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesCommitChanges(_:)
func SCPreferencesCopyKeyList ¶
func SCPreferencesCopyKeyList(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCPreferencesCopyKeyList returns the currently defined preference keys.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesCopyKeyList(_:)
func SCPreferencesGetSignature ¶
func SCPreferencesGetSignature(prefs SCPreferencesRef) corefoundation.CFDataRef
SCPreferencesGetSignature returns a value that can be used to determine if the saved configuration preferences have changed.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesGetSignature(_:)
func SCPreferencesGetTypeID ¶
func SCPreferencesGetTypeID() uint
SCPreferencesGetTypeID returns the type identifier of all [SCPreferences] instances.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesGetTypeID()
func SCPreferencesGetValue ¶
func SCPreferencesGetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
SCPreferencesGetValue retrieves the value associated with the specified preference key.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesGetValue(_:_:)
func SCPreferencesLock ¶
func SCPreferencesLock(prefs SCPreferencesRef, wait bool) bool
SCPreferencesLock locks access to the configuration preferences.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesLock(_:_:)
func SCPreferencesPathCreateUniqueChild ¶
func SCPreferencesPathCreateUniqueChild(prefs SCPreferencesRef, prefix corefoundation.CFStringRef) corefoundation.CFStringRef
SCPreferencesPathCreateUniqueChild creates a new path component rooted at the specified path in the dictionary hierarchy.
func SCPreferencesPathGetLink ¶
func SCPreferencesPathGetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFStringRef
SCPreferencesPathGetLink returns the link associated with the specified path.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesPathGetLink(_:_:)
func SCPreferencesPathGetValue ¶
func SCPreferencesPathGetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFDictionaryRef
SCPreferencesPathGetValue returns the dictionary associated with the specified path.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesPathGetValue(_:_:)
func SCPreferencesPathRemoveValue ¶
func SCPreferencesPathRemoveValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) bool
SCPreferencesPathRemoveValue removes the data associated with the specified path.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesPathRemoveValue(_:_:)
func SCPreferencesPathSetLink ¶
func SCPreferencesPathSetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef, link corefoundation.CFStringRef) bool
SCPreferencesPathSetLink associates a link to a second dictionary at the specified path.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesPathSetLink(_:_:_:)
func SCPreferencesPathSetValue ¶
func SCPreferencesPathSetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef, value corefoundation.CFDictionaryRef) bool
SCPreferencesPathSetValue associates the specified dictionary with the specified path.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesPathSetValue(_:_:_:)
func SCPreferencesRemoveValue ¶
func SCPreferencesRemoveValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) bool
SCPreferencesRemoveValue removes the data associated with the specified preference key.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesRemoveValue(_:_:)
func SCPreferencesScheduleWithRunLoop ¶
func SCPreferencesScheduleWithRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCPreferencesScheduleWithRunLoop schedules commit and apply notifications for the specified preferences session using the specified run loop and mode.
func SCPreferencesSetCallback ¶
func SCPreferencesSetCallback(prefs SCPreferencesRef, callout SCPreferencesCallBack, context *SCPreferencesContext) bool
SCPreferencesSetCallback assigns the specified callback to the specified preferences session.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSetCallback(_:_:_:)
func SCPreferencesSetComputerName ¶
func SCPreferencesSetComputerName(prefs SCPreferencesRef, name corefoundation.CFStringRef, nameEncoding uint32) bool
SCPreferencesSetComputerName sets the computer name preference to the specified name.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSetComputerName(_:_:_:)
func SCPreferencesSetDispatchQueue ¶
func SCPreferencesSetDispatchQueue(prefs SCPreferencesRef, queue dispatch.Queue) bool
SCPreferencesSetDispatchQueue schedules commit and apply notifications for the specified preferences session using the specified dispatch queue.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSetDispatchQueue(_:_:)
func SCPreferencesSetLocalHostName ¶
func SCPreferencesSetLocalHostName(prefs SCPreferencesRef, name corefoundation.CFStringRef) bool
SCPreferencesSetLocalHostName sets the local host name to the specified name.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSetLocalHostName(_:_:)
func SCPreferencesSetValue ¶
func SCPreferencesSetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) bool
SCPreferencesSetValue updates the data associated with the specified preference key with the specified value.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSetValue(_:_:_:)
func SCPreferencesSynchronize ¶
func SCPreferencesSynchronize(prefs SCPreferencesRef)
SCPreferencesSynchronize synchronizes accessed preferences with committed changes.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesSynchronize(_:)
func SCPreferencesUnlock ¶
func SCPreferencesUnlock(prefs SCPreferencesRef) bool
SCPreferencesUnlock releases exclusive access to the configuration preferences.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesUnlock(_:)
func SCPreferencesUnscheduleFromRunLoop ¶
func SCPreferencesUnscheduleFromRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) bool
SCPreferencesUnscheduleFromRunLoop unschedules commit and apply notifications for the specified preferences session from the specified run loop and mode.
func SCVLANInterfaceCopyAll ¶
func SCVLANInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCVLANInterfaceCopyAll returns all virtual LAN (VLAN) interfaces on the system.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceCopyAll(_:)
func SCVLANInterfaceCopyAvailablePhysicalInterfaces ¶
func SCVLANInterfaceCopyAvailablePhysicalInterfaces() corefoundation.CFArrayRef
SCVLANInterfaceCopyAvailablePhysicalInterfaces returns the network capable devices on the system that can be associated with a virtual LAN (VLAN) interface.
func SCVLANInterfaceGetOptions ¶
func SCVLANInterfaceGetOptions(vlan SCVLANInterfaceRef) corefoundation.CFDictionaryRef
SCVLANInterfaceGetOptions returns the configuration settings associated with the virtual LAN (VLAN) interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceGetOptions(_:)
func SCVLANInterfaceGetTag ¶
func SCVLANInterfaceGetTag(vlan SCVLANInterfaceRef) corefoundation.CFNumberRef
SCVLANInterfaceGetTag returns the tag for the specified virtual LAN (VLAN) interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceGetTag(_:)
func SCVLANInterfaceRemove ¶
func SCVLANInterfaceRemove(vlan SCVLANInterfaceRef) bool
SCVLANInterfaceRemove removes the virtual LAN (VLAN) interface from the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceRemove(_:)
func SCVLANInterfaceSetLocalizedDisplayName ¶
func SCVLANInterfaceSetLocalizedDisplayName(vlan SCVLANInterfaceRef, newName corefoundation.CFStringRef) bool
SCVLANInterfaceSetLocalizedDisplayName sets the localized display name for the specified virtual LAN (VLAN) interface.
func SCVLANInterfaceSetOptions ¶
func SCVLANInterfaceSetOptions(vlan SCVLANInterfaceRef, newOptions corefoundation.CFDictionaryRef) bool
SCVLANInterfaceSetOptions sets the specified configuration settings for the specified virtual LAN (VLAN) interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceSetOptions(_:_:)
func SCVLANInterfaceSetPhysicalInterfaceAndTag ¶
func SCVLANInterfaceSetPhysicalInterfaceAndTag(vlan SCVLANInterfaceRef, physical SCNetworkInterfaceRef, tag corefoundation.CFNumberRef) bool
SCVLANInterfaceSetPhysicalInterfaceAndTag updates the specified virtual LAN (VLAN) interface with the specified information.
Types ¶
type KSCBondStatus ¶
type KSCBondStatus int
const ( // KSCBondStatusLinkInvalid: The link state is not valid (such as down, half-duplex, or wrong speed). KSCBondStatusLinkInvalid KSCBondStatus = 1 // KSCBondStatusNoPartner: The port on the switch to which the device is connected doesn’t seem to have 802.3ad Link Aggregation enabled. KSCBondStatusNoPartner KSCBondStatus = 2 // KSCBondStatusNotInActiveGroup: Communication with a partner is occurring, but the link aggregation group is different from the one that is active. KSCBondStatusNotInActiveGroup KSCBondStatus = 3 // KSCBondStatusOK: The status is valid (for example, enabled, active, running, and so on). KSCBondStatusOK KSCBondStatus = 0 // KSCBondStatusUnknown: Nonspecific failure. KSCBondStatusUnknown KSCBondStatus = 999 )
func (KSCBondStatus) String ¶
func (e KSCBondStatus) String() string
type KSCNetworkFlags ¶
type KSCNetworkFlags uint
const ( // KSCNetworkFlagsConnectionAutomatic: The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkFlagsConnectionAutomatic KSCNetworkFlags = 8 // KSCNetworkFlagsConnectionRequired: The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkFlagsConnectionRequired KSCNetworkFlags = 4 // KSCNetworkFlagsInterventionRequired: The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkFlagsInterventionRequired KSCNetworkFlags = 16 // KSCNetworkFlagsIsDirect: Network traffic to the specified node name or address does not go through a gateway, but is routed directly to one of the interfaces in the system. KSCNetworkFlagsIsDirect KSCNetworkFlags = 131072 // KSCNetworkFlagsIsLocalAddress: The specified node name or address is one associated with a network interface on the current system. KSCNetworkFlagsIsLocalAddress KSCNetworkFlags = 65536 // KSCNetworkFlagsReachable: The specified node name or address can be reached using the current network configuration. KSCNetworkFlagsReachable KSCNetworkFlags = 2 // KSCNetworkFlagsTransientConnection: The specified node name or address can be reached via a transient connection, such as PPP. KSCNetworkFlagsTransientConnection KSCNetworkFlags = 1 )
func (KSCNetworkFlags) String ¶
func (e KSCNetworkFlags) String() string
type KSCStatus ¶
type KSCStatus int
const ( // KSCStatusAccessError: Permission is denied; you must be root to obtain a lock. KSCStatusAccessError KSCStatus = 1003 // KSCStatusConnectionIgnore: Network connection information is not available at this time. KSCStatusConnectionIgnore KSCStatus = 4003 // KSCStatusConnectionNoService: Network service for the connection is not available. KSCStatusConnectionNoService KSCStatus = 4002 // KSCStatusFailed: A nonspecific failure occurred. KSCStatusFailed KSCStatus = 1001 // KSCStatusInvalidArgument: An invalid argument was specified. KSCStatusInvalidArgument KSCStatus = 1002 // KSCStatusKeyExists: # Discussion KSCStatusKeyExists KSCStatus = 1005 // KSCStatusLocked: A lock is already held. KSCStatusLocked KSCStatus = 1006 // KSCStatusMaxLink: The maximum link count is exceeded. KSCStatusMaxLink KSCStatus = 3006 // KSCStatusNeedLock: A lock is required for this operation. KSCStatusNeedLock KSCStatus = 1007 // KSCStatusNoConfigFile: The configuration file cannot be found. KSCStatusNoConfigFile KSCStatus = 3003 // KSCStatusNoKey: No such key. KSCStatusNoKey KSCStatus = 1004 // KSCStatusNoLink: No such link exists. KSCStatusNoLink KSCStatus = 3004 // KSCStatusNoPrefsSession: The preferences session is not active. KSCStatusNoPrefsSession KSCStatus = 3001 // KSCStatusNoStoreServer: The configuration daemon is not available or no longer available. KSCStatusNoStoreServer KSCStatus = 2002 // KSCStatusNoStoreSession: The configuration daemon session is not active. KSCStatusNoStoreSession KSCStatus = 2001 // KSCStatusNotifierActive: Notifier is currently active. KSCStatusNotifierActive KSCStatus = 2003 // KSCStatusOK: The call was successful. KSCStatusOK KSCStatus = 0 // KSCStatusPrefsBusy: A preferences update is currently in progress. KSCStatusPrefsBusy KSCStatus = 3002 // KSCStatusReachabilityUnknown: Network reachability cannot be determined. KSCStatusReachabilityUnknown KSCStatus = 4001 // KSCStatusStale: A write was attempted on a stale version of the object. KSCStatusStale KSCStatus = 3005 )
type SCBondInterfaceRef ¶
type SCBondInterfaceRef uintptr
SCBondInterfaceRef is the reference to an object that represents an Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterface
func SCBondInterfaceCreate ¶
func SCBondInterfaceCreate(prefs SCPreferencesRef) SCBondInterfaceRef
SCBondInterfaceCreate creates a new Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceCreate(_:)
type SCBondStatusRef ¶
type SCBondStatusRef uintptr
SCBondStatusRef is the reference to an object that represents the status of an Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondStatus
func SCBondInterfaceCopyStatus ¶
func SCBondInterfaceCopyStatus(bond SCBondInterfaceRef) SCBondStatusRef
SCBondInterfaceCopyStatus returns the status of the specified Ethernet bond interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCBondInterfaceCopyStatus(_:)
type SCDynamicStoreCallBack ¶
SCDynamicStoreCallBack is callback used when notification of changes made to the dynamic store is delivered.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCallBack
type SCDynamicStoreContext ¶
type SCDynamicStoreContext struct {
Version int // The version number of the structure type being passed in as a parameter to the [SCDynamicStore] creation function (such as [SCDynamicStoreCreate(_:_:_:_:)](<doc://com.apple.systemconfiguration/documentation/SystemConfiguration/SCDynamicStoreCreate(_:_:_:_:)>)). This structure is version `0`.
Info unsafe.Pointer // A C pointer to a user-specified block of data.
Release func(unsafe.Pointer) // The callback used to remove a retain previously added for the `info` field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value of this parameter can be [NULL].
Retain func(unsafe.Pointer) unsafe.Pointer // The callback used to add a retain for the `info` field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value of this parameter can be [NULL].
}
SCDynamicStoreContext - Structure containing user-specified data and callbacks for a dynamic store session.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreContext
type SCDynamicStoreRef ¶
type SCDynamicStoreRef uintptr
SCDynamicStoreRef is the handle to an open dynamic store session with the system configuration daemon.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStore
func SCDynamicStoreCreate ¶
func SCDynamicStoreCreate(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, callout SCDynamicStoreCallBack, context *SCDynamicStoreContext) SCDynamicStoreRef
SCDynamicStoreCreate creates a new session used to interact with the dynamic store maintained by the System Configuration server.
See: https://developer.apple.com/documentation/SystemConfiguration/SCDynamicStoreCreate(_:_:_:_:)
func SCDynamicStoreCreateWithOptions ¶
func SCDynamicStoreCreateWithOptions(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, storeOptions corefoundation.CFDictionaryRef, callout SCDynamicStoreCallBack, context *SCDynamicStoreContext) SCDynamicStoreRef
SCDynamicStoreCreateWithOptions creates a new session used to interact with the dynamic store maintained by the System Configuration server.
type SCNetworkConnectionCallBack ¶
type SCNetworkConnectionCallBack = func(uintptr, SCNetworkConnectionStatus, kernel.Pointer)
SCNetworkConnectionCallBack is the type of callback function used when a status event is delivered.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionCallBack
type SCNetworkConnectionContext ¶
type SCNetworkConnectionContext struct {
Version int // The version number of the structure type being passed in as a parameter to the [SCNetworkConnectionCreateWithServiceID(_:_:_:_:)](<doc://com.apple.systemconfiguration/documentation/SystemConfiguration/SCNetworkConnectionCreateWithServiceID(_:_:_:_:)>) function. This structure is version `0`.
Info unsafe.Pointer // A C pointer to a user-specified block of data.
Release func(unsafe.Pointer) // The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be [NULL].
Retain func(unsafe.Pointer) unsafe.Pointer // The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be [NULL].
}
SCNetworkConnectionContext - A structure containing user-specified data and callbacks for a network connection.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionContext
type SCNetworkConnectionFlags ¶
type SCNetworkConnectionFlags = uint32
SCNetworkConnectionFlags is flags that indicate whether the specified network node name or address is reachable, whether a connection is required, and whether some user intervention may be required when establishing a connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionFlags
type SCNetworkConnectionPPPStatus ¶
type SCNetworkConnectionPPPStatus int32
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionPPPStatus
const ( // KSCNetworkConnectionPPPAuthenticating: PPP is authenticating to the server (PAP, CHAP, MS-CHAP, or EAP protocols). KSCNetworkConnectionPPPAuthenticating SCNetworkConnectionPPPStatus = 5 // KSCNetworkConnectionPPPConnected: PPP is now fully connected for at least one networking layer. KSCNetworkConnectionPPPConnected SCNetworkConnectionPPPStatus = 8 // KSCNetworkConnectionPPPConnectingLink: PPP is connecting the lower connection layer (for example, the modem is dialing out). KSCNetworkConnectionPPPConnectingLink SCNetworkConnectionPPPStatus = 2 // KSCNetworkConnectionPPPDialOnTraffic: PPP is waiting for networking traffic to automatically establish the connection. KSCNetworkConnectionPPPDialOnTraffic SCNetworkConnectionPPPStatus = 3 // KSCNetworkConnectionPPPDisconnected: PPP is disconnected. KSCNetworkConnectionPPPDisconnected SCNetworkConnectionPPPStatus = 0 // KSCNetworkConnectionPPPDisconnectingLink: PPP is disconnecting the lower level (for example, the modem is hanging up). KSCNetworkConnectionPPPDisconnectingLink SCNetworkConnectionPPPStatus = 10 // KSCNetworkConnectionPPPHoldingLinkOff: PPP is disconnected and maintaining the link temporarily off. KSCNetworkConnectionPPPHoldingLinkOff SCNetworkConnectionPPPStatus = 11 // KSCNetworkConnectionPPPInitializing: PPP is initializing. KSCNetworkConnectionPPPInitializing SCNetworkConnectionPPPStatus = 1 // KSCNetworkConnectionPPPNegotiatingLink: The PPP lower layer is connected and PPP is negotiating the link layer (LCP protocol). KSCNetworkConnectionPPPNegotiatingLink SCNetworkConnectionPPPStatus = 4 // KSCNetworkConnectionPPPNegotiatingNetwork: PPP is now authenticated and negotiating the networking layer (IPCP or IPv6CP protocols). KSCNetworkConnectionPPPNegotiatingNetwork SCNetworkConnectionPPPStatus = 7 // KSCNetworkConnectionPPPSuspended: PPP is suspended as a result of the suspend command (for example, when a V.92 Modem is On Hold). KSCNetworkConnectionPPPSuspended SCNetworkConnectionPPPStatus = 12 // KSCNetworkConnectionPPPTerminating: PPP networking and link protocols are terminating. KSCNetworkConnectionPPPTerminating SCNetworkConnectionPPPStatus = 9 // KSCNetworkConnectionPPPWaitingForCallBack: PPP is waiting for the server to call back. KSCNetworkConnectionPPPWaitingForCallBack SCNetworkConnectionPPPStatus = 6 // KSCNetworkConnectionPPPWaitingForRedial: PPP has found a busy server and is waiting for redial. KSCNetworkConnectionPPPWaitingForRedial SCNetworkConnectionPPPStatus = 13 )
func (SCNetworkConnectionPPPStatus) String ¶
func (e SCNetworkConnectionPPPStatus) String() string
type SCNetworkConnectionRef ¶
type SCNetworkConnectionRef uintptr
SCNetworkConnectionRef is the handle to manage a connection-oriented service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnection
func SCNetworkConnectionCreateWithServiceID ¶
func SCNetworkConnectionCreateWithServiceID(allocator corefoundation.CFAllocatorRef, serviceID corefoundation.CFStringRef, callout SCNetworkConnectionCallBack, context *SCNetworkConnectionContext) SCNetworkConnectionRef
SCNetworkConnectionCreateWithServiceID creates a new connection reference to use for getting the status or for connecting or disconnecting the associated service.
type SCNetworkConnectionStatus ¶
type SCNetworkConnectionStatus int32
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionStatus
const ( // KSCNetworkConnectionConnected: The network connection is connected. KSCNetworkConnectionConnected SCNetworkConnectionStatus = 2 // KSCNetworkConnectionConnecting: The network connection is connecting. KSCNetworkConnectionConnecting SCNetworkConnectionStatus = 1 // KSCNetworkConnectionDisconnected: The network connection is disconnected. KSCNetworkConnectionDisconnected SCNetworkConnectionStatus = 0 // KSCNetworkConnectionDisconnecting: The network connection is disconnecting. KSCNetworkConnectionDisconnecting SCNetworkConnectionStatus = 3 // KSCNetworkConnectionInvalid: The network connection refers to an invalid service. KSCNetworkConnectionInvalid SCNetworkConnectionStatus = -1 )
func SCNetworkConnectionGetStatus ¶
func SCNetworkConnectionGetStatus(connection SCNetworkConnectionRef) SCNetworkConnectionStatus
SCNetworkConnectionGetStatus returns the status of the specified network connection.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkConnectionGetStatus(_:)
func (SCNetworkConnectionStatus) String ¶
func (e SCNetworkConnectionStatus) String() string
type SCNetworkInterfaceRef ¶
type SCNetworkInterfaceRef uintptr
SCNetworkInterfaceRef is the reference to an object that represents a network interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterface
var ( // KSCNetworkInterfaceIPv4 is a network interface that can used for layering other interfaces (for example, 6to4, PPTP, or L2TP) over an existing IPv4 network. // // See: https://developer.apple.com/documentation/SystemConfiguration/kSCNetworkInterfaceIPv4 KSCNetworkInterfaceIPv4 SCNetworkInterfaceRef )
func SCNetworkInterfaceCreateWithInterface ¶
func SCNetworkInterfaceCreateWithInterface(interface_ SCNetworkInterfaceRef, interfaceType corefoundation.CFStringRef) SCNetworkInterfaceRef
SCNetworkInterfaceCreateWithInterface creates a new network interface layered on top of the specified interface.
func SCNetworkInterfaceGetInterface ¶
func SCNetworkInterfaceGetInterface(interface_ SCNetworkInterfaceRef) SCNetworkInterfaceRef
SCNetworkInterfaceGetInterface returns the underlying interface, for layered network interfaces.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkInterfaceGetInterface(_:)
func SCNetworkServiceGetInterface ¶
func SCNetworkServiceGetInterface(service SCNetworkServiceRef) SCNetworkInterfaceRef
SCNetworkServiceGetInterface returns the network interface associated with the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceGetInterface(_:)
func SCVLANInterfaceGetPhysicalInterface ¶
func SCVLANInterfaceGetPhysicalInterface(vlan SCVLANInterfaceRef) SCNetworkInterfaceRef
SCVLANInterfaceGetPhysicalInterface returns the physical interface for the specified virtual LAN (VLAN) interface.
type SCNetworkProtocolRef ¶
type SCNetworkProtocolRef uintptr
SCNetworkProtocolRef is the reference to an object that represents a network protocol.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkProtocol
func SCNetworkServiceCopyProtocol ¶
func SCNetworkServiceCopyProtocol(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) SCNetworkProtocolRef
SCNetworkServiceCopyProtocol returns the network protocol of the specified type for the specified service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceCopyProtocol(_:_:)
type SCNetworkReachabilityCallBack ¶
SCNetworkReachabilityCallBack is type of callback function used when the reachability of a network address or name changes.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachabilityCallBack
type SCNetworkReachabilityContext ¶
type SCNetworkReachabilityContext struct {
Version int // The version number of the structure type being passed in as a parameter to an [SCDynamicStore] creation function. This structure is version `0`.
Info unsafe.Pointer // A C pointer to a user-specified block of data.
Release func(unsafe.Pointer) // The callback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value can be [NULL].
Retain func(unsafe.Pointer) unsafe.Pointer // The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value can be [NULL].
}
SCNetworkReachabilityContext - Structure containing user-specified data and callbacks used with [SCNetworkReachabilitySetCallback(_:_:_:)](<doc://com.apple.systemconfiguration/documentation/SystemConfiguration/SCNetworkReachabilitySetCallback(_:_:_:)>).
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachabilityContext
type SCNetworkReachabilityFlags ¶
type SCNetworkReachabilityFlags uint32
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachabilityFlags
const ( // KSCNetworkReachabilityFlagsInterventionRequired: The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkReachabilityFlagsInterventionRequired SCNetworkReachabilityFlags = 16 // KSCNetworkReachabilityFlagsIsDirect: Network traffic to the specified node name or address will not go through a gateway, but is routed directly to one of the interfaces in the system. KSCNetworkReachabilityFlagsIsDirect SCNetworkReachabilityFlags = 131072 // KSCNetworkReachabilityFlagsIsLocalAddress: The specified node name or address is one that is associated with a network interface on the current system. KSCNetworkReachabilityFlagsIsLocalAddress SCNetworkReachabilityFlags = 65536 // KSCNetworkReachabilityFlagsIsWWAN: The specified node name or address can be reached via a cellular connection, such as EDGE or GPRS. KSCNetworkReachabilityFlagsIsWWAN SCNetworkReachabilityFlags = 131073 // KSCNetworkReachabilityFlagsReachable: The specified node name or address can be reached using the current network configuration. KSCNetworkReachabilityFlagsReachable SCNetworkReachabilityFlags = 2 // KSCNetworkReachabilityFlagsTransientConnection: The specified node name or address can be reached via a transient connection, such as PPP. KSCNetworkReachabilityFlagsTransientConnection SCNetworkReachabilityFlags = 1 )
func (SCNetworkReachabilityFlags) String ¶
func (e SCNetworkReachabilityFlags) String() string
type SCNetworkReachabilityRef ¶
type SCNetworkReachabilityRef uintptr
SCNetworkReachabilityRef is the handle to a network address or name.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkReachability
func SCNetworkReachabilityCreateWithAddress
deprecated
func SCNetworkReachabilityCreateWithAddress(allocator corefoundation.CFAllocatorRef, address unsafe.Pointer) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithAddress creates a reachability reference to the specified network address.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkReachabilityCreateWithAddressPair
deprecated
func SCNetworkReachabilityCreateWithAddressPair(allocator corefoundation.CFAllocatorRef, localAddress unsafe.Pointer, remoteAddress unsafe.Pointer) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithAddressPair creates a reachability reference to the specified network address.
Deprecated: Deprecated since macOS 14.4.
func SCNetworkReachabilityCreateWithName
deprecated
func SCNetworkReachabilityCreateWithName(allocator corefoundation.CFAllocatorRef, nodename string) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithName creates a reachability reference to the specified network host or node name.
Deprecated: Deprecated since macOS 14.4.
type SCNetworkServiceRef ¶
type SCNetworkServiceRef uintptr
SCNetworkServiceRef is the reference to an object that represents a network service.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkService
func SCNetworkServiceCopy ¶
func SCNetworkServiceCopy(prefs SCPreferencesRef, serviceID corefoundation.CFStringRef) SCNetworkServiceRef
SCNetworkServiceCopy returns the network service with the specified identifier.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceCopy(_:_:)
func SCNetworkServiceCreate ¶
func SCNetworkServiceCreate(prefs SCPreferencesRef, interface_ SCNetworkInterfaceRef) SCNetworkServiceRef
SCNetworkServiceCreate creates a new network service for the specified interface in the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkServiceCreate(_:_:)
type SCNetworkSetRef ¶
type SCNetworkSetRef uintptr
SCNetworkSetRef is the reference to an object that represents a network set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSet
func SCNetworkSetCopy ¶
func SCNetworkSetCopy(prefs SCPreferencesRef, setID corefoundation.CFStringRef) SCNetworkSetRef
SCNetworkSetCopy returns the set with the specified identifier.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetCopy(_:_:)
func SCNetworkSetCopyCurrent ¶
func SCNetworkSetCopyCurrent(prefs SCPreferencesRef) SCNetworkSetRef
SCNetworkSetCopyCurrent returns the current set.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetCopyCurrent(_:)
func SCNetworkSetCreate ¶
func SCNetworkSetCreate(prefs SCPreferencesRef) SCNetworkSetRef
SCNetworkSetCreate creates a new set in the configuration.
See: https://developer.apple.com/documentation/SystemConfiguration/SCNetworkSetCreate(_:)
type SCPreferencesCallBack ¶
type SCPreferencesCallBack = func(uintptr, SCPreferencesNotification, kernel.Pointer)
SCPreferencesCallBack is type of the callback function used when the preferences have been updated or applied.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesCallBack
type SCPreferencesContext ¶
type SCPreferencesContext struct {
Version int // The version number of the structure type being passed in as a parameter to [SCPreferencesSetCallback(_:_:_:)](<doc://com.apple.systemconfiguration/documentation/SystemConfiguration/SCPreferencesSetCallback(_:_:_:)>). This structure is version `0`.
Info unsafe.Pointer // A C pointer to a user-specified block of data.
Release func(unsafe.Pointer) // The calllback used to remove a retain previously added for the `info` field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be [NULL].
Retain func(unsafe.Pointer) unsafe.Pointer // The callback used to add a retain for the `info` field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be [NULL].
}
SCPreferencesContext - A structure containing user-specified data and callbacks for accessing system configuration preferences.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesContext
type SCPreferencesNotification ¶
type SCPreferencesNotification uint32
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesNotification
type SCPreferencesRef ¶
type SCPreferencesRef uintptr
SCPreferencesRef is the handle to an open preferences session for accessing system configuration preferences.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferences
func SCPreferencesCreate ¶
func SCPreferencesCreate(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, prefsID corefoundation.CFStringRef) SCPreferencesRef
SCPreferencesCreate initiates access to the per-system set of configuration preferences.
See: https://developer.apple.com/documentation/SystemConfiguration/SCPreferencesCreate(_:_:_:)
func SCPreferencesCreateWithAuthorization ¶
func SCPreferencesCreateWithAuthorization(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, prefsID corefoundation.CFStringRef, authorization security.AuthorizationRef) SCPreferencesRef
SCPreferencesCreateWithAuthorization initiates access to the per-system set of configuration preferences with the specified authorization.
type SCVLANInterfaceRef ¶
type SCVLANInterfaceRef uintptr
SCVLANInterfaceRef is the reference to an object that represents a virtual LAN (VLAN) interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterface
func SCVLANInterfaceCreate ¶
func SCVLANInterfaceCreate(prefs SCPreferencesRef, physical SCNetworkInterfaceRef, tag corefoundation.CFNumberRef) SCVLANInterfaceRef
SCVLANInterfaceCreate creates a new virtual LAN (VLAN) interface.
See: https://developer.apple.com/documentation/SystemConfiguration/SCVLANInterfaceCreate(_:_:_:)