Documentation
¶
Overview ¶
Package systemconfiguration provides a fluent Go API over the macOS SystemConfiguration framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Index ¶
- Constants
- func KCFErrorDomainSystemConfiguration() obj.Object
- func KSCBondStatusDeviceAggregationStatus() obj.Object
- func KSCBondStatusDeviceCollecting() obj.Object
- func KSCBondStatusDeviceDistributing() obj.Object
- func KSCCompAnyRegex() obj.Object
- func KSCCompGlobal() obj.Object
- func KSCCompHostNames() obj.Object
- func KSCCompInterface() obj.Object
- func KSCCompNetwork() obj.Object
- func KSCCompService() obj.Object
- func KSCCompSystem() obj.Object
- func KSCCompUsers() obj.Object
- func KSCDynamicStoreDomainFile() obj.Object
- func KSCDynamicStoreDomainPlugin() obj.Object
- func KSCDynamicStoreDomainPrefs() obj.Object
- func KSCDynamicStoreDomainSetup() obj.Object
- func KSCDynamicStoreDomainState() obj.Object
- func KSCDynamicStorePropNetInterfaces() obj.Object
- func KSCDynamicStorePropNetPrimaryInterface() obj.Object
- func KSCDynamicStorePropNetPrimaryService() obj.Object
- func KSCDynamicStorePropNetServiceIDs() obj.Object
- func KSCDynamicStorePropSetupCurrentSet() obj.Object
- func KSCDynamicStorePropSetupLastUpdated() obj.Object
- func KSCDynamicStoreUseSessionKeys() obj.Object
- func KSCEntNet6to4() obj.Object
- func KSCEntNetAirPort() obj.Object
- func KSCEntNetDHCP() obj.Object
- func KSCEntNetDNS() obj.Object
- func KSCEntNetEthernet() obj.Object
- func KSCEntNetFireWire() obj.Object
- func KSCEntNetIPSec() obj.Object
- func KSCEntNetIPv4() obj.Object
- func KSCEntNetIPv6() obj.Object
- func KSCEntNetInterface() obj.Object
- func KSCEntNetL2TP() obj.Object
- func KSCEntNetLink() obj.Object
- func KSCEntNetModem() obj.Object
- func KSCEntNetPPP() obj.Object
- func KSCEntNetPPPSerial() obj.Object
- func KSCEntNetPPPoE() obj.Object
- func KSCEntNetPPTP() obj.Object
- func KSCEntNetProxies() obj.Object
- func KSCEntNetSMB() obj.Object
- func KSCEntUsersConsoleUser() obj.Object
- func KSCNetworkInterfaceIPv4() uintptr
- func KSCNetworkInterfaceType6to4() obj.Object
- func KSCNetworkInterfaceTypeBluetooth() obj.Object
- func KSCNetworkInterfaceTypeBond() obj.Object
- func KSCNetworkInterfaceTypeEthernet() obj.Object
- func KSCNetworkInterfaceTypeFireWire() obj.Object
- func KSCNetworkInterfaceTypeIEEE80211() obj.Object
- func KSCNetworkInterfaceTypeIPSec() obj.Object
- func KSCNetworkInterfaceTypeIPv4() obj.Object
- func KSCNetworkInterfaceTypeIrDA() obj.Object
- func KSCNetworkInterfaceTypeL2TP() obj.Object
- func KSCNetworkInterfaceTypeModem() obj.Object
- func KSCNetworkInterfaceTypePPP() obj.Object
- func KSCNetworkInterfaceTypePPTP() obj.Object
- func KSCNetworkInterfaceTypeSerial() obj.Object
- func KSCNetworkInterfaceTypeVLAN() obj.Object
- func KSCNetworkInterfaceTypeWWAN() obj.Object
- func KSCNetworkProtocolTypeDNS() obj.Object
- func KSCNetworkProtocolTypeIPv4() obj.Object
- func KSCNetworkProtocolTypeIPv6() obj.Object
- func KSCNetworkProtocolTypeProxies() obj.Object
- func KSCNetworkProtocolTypeSMB() obj.Object
- func KSCPrefCurrentSet() obj.Object
- func KSCPrefNetworkServices() obj.Object
- func KSCPrefSets() obj.Object
- func KSCPrefSystem() obj.Object
- func KSCPropInterfaceName() obj.Object
- func KSCPropMACAddress() obj.Object
- func KSCPropNet6to4Relay() obj.Object
- func KSCPropNetAirPortAllowNetCreation() obj.Object
- func KSCPropNetAirPortAuthPassword() obj.Object
- func KSCPropNetAirPortAuthPasswordEncryption() obj.Object
- func KSCPropNetAirPortJoinMode() obj.Object
- func KSCPropNetAirPortPowerEnabled() obj.Object
- func KSCPropNetAirPortPreferredNetwork() obj.Object
- func KSCPropNetAirPortSavePasswords() obj.Object
- func KSCPropNetDNSDomainName() obj.Object
- func KSCPropNetDNSOptions() obj.Object
- func KSCPropNetDNSSearchDomains() obj.Object
- func KSCPropNetDNSSearchOrder() obj.Object
- func KSCPropNetDNSServerAddresses() obj.Object
- func KSCPropNetDNSServerPort() obj.Object
- func KSCPropNetDNSServerTimeout() obj.Object
- func KSCPropNetDNSSortList() obj.Object
- func KSCPropNetDNSSupplementalMatchDomains() obj.Object
- func KSCPropNetDNSSupplementalMatchOrders() obj.Object
- func KSCPropNetEthernetMTU() obj.Object
- func KSCPropNetEthernetMediaOptions() obj.Object
- func KSCPropNetEthernetMediaSubType() obj.Object
- func KSCPropNetIPSecAuthenticationMethod() obj.Object
- func KSCPropNetIPSecConnectTime() obj.Object
- func KSCPropNetIPSecLocalCertificate() obj.Object
- func KSCPropNetIPSecLocalIdentifier() obj.Object
- func KSCPropNetIPSecLocalIdentifierType() obj.Object
- func KSCPropNetIPSecRemoteAddress() obj.Object
- func KSCPropNetIPSecSharedSecret() obj.Object
- func KSCPropNetIPSecSharedSecretEncryption() obj.Object
- func KSCPropNetIPSecStatus() obj.Object
- func KSCPropNetIPSecXAuthEnabled() obj.Object
- func KSCPropNetIPSecXAuthName() obj.Object
- func KSCPropNetIPSecXAuthPassword() obj.Object
- func KSCPropNetIPSecXAuthPasswordEncryption() obj.Object
- func KSCPropNetIPv4Addresses() obj.Object
- func KSCPropNetIPv4BroadcastAddresses() obj.Object
- func KSCPropNetIPv4ConfigMethod() obj.Object
- func KSCPropNetIPv4DHCPClientID() obj.Object
- func KSCPropNetIPv4DestAddresses() obj.Object
- func KSCPropNetIPv4Router() obj.Object
- func KSCPropNetIPv4SubnetMasks() obj.Object
- func KSCPropNetIPv6Addresses() obj.Object
- func KSCPropNetIPv6ConfigMethod() obj.Object
- func KSCPropNetIPv6DestAddresses() obj.Object
- func KSCPropNetIPv6Flags() obj.Object
- func KSCPropNetIPv6PrefixLength() obj.Object
- func KSCPropNetIPv6Router() obj.Object
- func KSCPropNetInterfaceDeviceName() obj.Object
- func KSCPropNetInterfaceHardware() obj.Object
- func KSCPropNetInterfaceSubType() obj.Object
- func KSCPropNetInterfaceSupportsModemOnHold() obj.Object
- func KSCPropNetInterfaceType() obj.Object
- func KSCPropNetInterfaces() obj.Object
- func KSCPropNetL2TPIPSecSharedSecret() obj.Object
- func KSCPropNetL2TPIPSecSharedSecretEncryption() obj.Object
- func KSCPropNetL2TPTransport() obj.Object
- func KSCPropNetLinkActive() obj.Object
- func KSCPropNetLinkDetaching() obj.Object
- func KSCPropNetLocalHostName() obj.Object
- func KSCPropNetModemAccessPointName() obj.Object
- func KSCPropNetModemConnectSpeed() obj.Object
- func KSCPropNetModemConnectionPersonality() obj.Object
- func KSCPropNetModemConnectionScript() obj.Object
- func KSCPropNetModemDataCompression() obj.Object
- func KSCPropNetModemDeviceContextID() obj.Object
- func KSCPropNetModemDeviceModel() obj.Object
- func KSCPropNetModemDeviceVendor() obj.Object
- func KSCPropNetModemDialMode() obj.Object
- func KSCPropNetModemErrorCorrection() obj.Object
- func KSCPropNetModemHoldCallWaitingAudibleAlert() obj.Object
- func KSCPropNetModemHoldDisconnectOnAnswer() obj.Object
- func KSCPropNetModemHoldEnabled() obj.Object
- func KSCPropNetModemHoldReminder() obj.Object
- func KSCPropNetModemHoldReminderTime() obj.Object
- func KSCPropNetModemNote() obj.Object
- func KSCPropNetModemPulseDial() obj.Object
- func KSCPropNetModemSpeaker() obj.Object
- func KSCPropNetModemSpeed() obj.Object
- func KSCPropNetOverridePrimary() obj.Object
- func KSCPropNetPPPACSPEnabled() obj.Object
- func KSCPropNetPPPAuthEAPPlugins() obj.Object
- func KSCPropNetPPPAuthName() obj.Object
- func KSCPropNetPPPAuthPassword() obj.Object
- func KSCPropNetPPPAuthPasswordEncryption() obj.Object
- func KSCPropNetPPPAuthPrompt() obj.Object
- func KSCPropNetPPPAuthProtocol() obj.Object
- func KSCPropNetPPPCCPEnabled() obj.Object
- func KSCPropNetPPPCCPMPPE40Enabled() obj.Object
- func KSCPropNetPPPCCPMPPE128Enabled() obj.Object
- func KSCPropNetPPPCommAlternateRemoteAddress() obj.Object
- func KSCPropNetPPPCommConnectDelay() obj.Object
- func KSCPropNetPPPCommDisplayTerminalWindow() obj.Object
- func KSCPropNetPPPCommRedialCount() obj.Object
- func KSCPropNetPPPCommRedialEnabled() obj.Object
- func KSCPropNetPPPCommRedialInterval() obj.Object
- func KSCPropNetPPPCommRemoteAddress() obj.Object
- func KSCPropNetPPPCommTerminalScript() obj.Object
- func KSCPropNetPPPCommUseTerminalScript() obj.Object
- func KSCPropNetPPPConnectTime() obj.Object
- func KSCPropNetPPPDeviceLastCause() obj.Object
- func KSCPropNetPPPDialOnDemand() obj.Object
- func KSCPropNetPPPDisconnectOnFastUserSwitch() obj.Object
- func KSCPropNetPPPDisconnectOnIdle() obj.Object
- func KSCPropNetPPPDisconnectOnIdleTimer() obj.Object
- func KSCPropNetPPPDisconnectOnLogout() obj.Object
- func KSCPropNetPPPDisconnectOnSleep() obj.Object
- func KSCPropNetPPPDisconnectTime() obj.Object
- func KSCPropNetPPPIPCPCompressionVJ() obj.Object
- func KSCPropNetPPPIPCPUsePeerDNS() obj.Object
- func KSCPropNetPPPIdleReminder() obj.Object
- func KSCPropNetPPPIdleReminderTimer() obj.Object
- func KSCPropNetPPPLCPCompressionACField() obj.Object
- func KSCPropNetPPPLCPCompressionPField() obj.Object
- func KSCPropNetPPPLCPEchoEnabled() obj.Object
- func KSCPropNetPPPLCPEchoFailure() obj.Object
- func KSCPropNetPPPLCPEchoInterval() obj.Object
- func KSCPropNetPPPLCPMRU() obj.Object
- func KSCPropNetPPPLCPMTU() obj.Object
- func KSCPropNetPPPLCPReceiveACCM() obj.Object
- func KSCPropNetPPPLCPTransmitACCM() obj.Object
- func KSCPropNetPPPLastCause() obj.Object
- func KSCPropNetPPPLogfile() obj.Object
- func KSCPropNetPPPOverridePrimary() obj.Object
- func KSCPropNetPPPPlugins() obj.Object
- func KSCPropNetPPPRetryConnectTime() obj.Object
- func KSCPropNetPPPSessionTimer() obj.Object
- func KSCPropNetPPPStatus() obj.Object
- func KSCPropNetPPPUseSessionTimer() obj.Object
- func KSCPropNetPPPVerboseLogging() obj.Object
- func KSCPropNetProxiesExceptionsList() obj.Object
- func KSCPropNetProxiesExcludeSimpleHostnames() obj.Object
- func KSCPropNetProxiesFTPEnable() obj.Object
- func KSCPropNetProxiesFTPPassive() obj.Object
- func KSCPropNetProxiesFTPPort() obj.Object
- func KSCPropNetProxiesFTPProxy() obj.Object
- func KSCPropNetProxiesFTPUser() obj.Object
- func KSCPropNetProxiesGopherEnable() obj.Object
- func KSCPropNetProxiesGopherPort() obj.Object
- func KSCPropNetProxiesGopherProxy() obj.Object
- func KSCPropNetProxiesGopherUser() obj.Object
- func KSCPropNetProxiesHTTPEnable() obj.Object
- func KSCPropNetProxiesHTTPPort() obj.Object
- func KSCPropNetProxiesHTTPProxy() obj.Object
- func KSCPropNetProxiesHTTPSEnable() obj.Object
- func KSCPropNetProxiesHTTPSPort() obj.Object
- func KSCPropNetProxiesHTTPSProxy() obj.Object
- func KSCPropNetProxiesHTTPSUser() obj.Object
- func KSCPropNetProxiesHTTPUser() obj.Object
- func KSCPropNetProxiesProxyAutoConfigEnable() obj.Object
- func KSCPropNetProxiesProxyAutoConfigJavaScript() obj.Object
- func KSCPropNetProxiesProxyAutoConfigURLString() obj.Object
- func KSCPropNetProxiesProxyAutoDiscoveryEnable() obj.Object
- func KSCPropNetProxiesRTSPEnable() obj.Object
- func KSCPropNetProxiesRTSPPort() obj.Object
- func KSCPropNetProxiesRTSPProxy() obj.Object
- func KSCPropNetProxiesRTSPUser() obj.Object
- func KSCPropNetProxiesSOCKSEnable() obj.Object
- func KSCPropNetProxiesSOCKSPort() obj.Object
- func KSCPropNetProxiesSOCKSProxy() obj.Object
- func KSCPropNetProxiesSOCKSUser() obj.Object
- func KSCPropNetSMBNetBIOSName() obj.Object
- func KSCPropNetSMBNetBIOSNodeType() obj.Object
- func KSCPropNetSMBNetBIOSScope() obj.Object
- func KSCPropNetSMBWINSAddresses() obj.Object
- func KSCPropNetSMBWorkgroup() obj.Object
- func KSCPropNetServiceOrder() obj.Object
- func KSCPropSystemComputerName() obj.Object
- func KSCPropSystemComputerNameEncoding() obj.Object
- func KSCPropUserDefinedName() obj.Object
- func KSCPropUsersConsoleUserGID() obj.Object
- func KSCPropUsersConsoleUserName() obj.Object
- func KSCPropUsersConsoleUserUID() obj.Object
- func KSCPropVersion() obj.Object
- func KSCResvInactive() obj.Object
- func KSCResvLink() obj.Object
- func KSCValNetAirPortAuthPasswordEncryptionKeychain() obj.Object
- func KSCValNetAirPortJoinModeAutomatic() obj.Object
- func KSCValNetAirPortJoinModePreferred() obj.Object
- func KSCValNetAirPortJoinModeRanked() obj.Object
- func KSCValNetAirPortJoinModeRecent() obj.Object
- func KSCValNetAirPortJoinModeStrongest() obj.Object
- func KSCValNetIPSecAuthenticationMethodCertificate() obj.Object
- func KSCValNetIPSecAuthenticationMethodHybrid() obj.Object
- func KSCValNetIPSecAuthenticationMethodSharedSecret() obj.Object
- func KSCValNetIPSecLocalIdentifierTypeKeyID() obj.Object
- func KSCValNetIPSecSharedSecretEncryptionKeychain() obj.Object
- func KSCValNetIPSecXAuthPasswordEncryptionKeychain() obj.Object
- func KSCValNetIPSecXAuthPasswordEncryptionPrompt() obj.Object
- func KSCValNetIPv4ConfigMethodAutomatic() obj.Object
- func KSCValNetIPv4ConfigMethodBOOTP() obj.Object
- func KSCValNetIPv4ConfigMethodDHCP() obj.Object
- func KSCValNetIPv4ConfigMethodINFORM() obj.Object
- func KSCValNetIPv4ConfigMethodLinkLocal() obj.Object
- func KSCValNetIPv4ConfigMethodManual() obj.Object
- func KSCValNetIPv4ConfigMethodPPP() obj.Object
- func KSCValNetIPv6ConfigMethod6to4() obj.Object
- func KSCValNetIPv6ConfigMethodAutomatic() obj.Object
- func KSCValNetIPv6ConfigMethodLinkLocal() obj.Object
- func KSCValNetIPv6ConfigMethodManual() obj.Object
- func KSCValNetIPv6ConfigMethodRouterAdvertisement() obj.Object
- func KSCValNetInterfaceSubTypeL2TP() obj.Object
- func KSCValNetInterfaceSubTypePPPSerial() obj.Object
- func KSCValNetInterfaceSubTypePPPoE() obj.Object
- func KSCValNetInterfaceSubTypePPTP() obj.Object
- func KSCValNetInterfaceType6to4() obj.Object
- func KSCValNetInterfaceTypeEthernet() obj.Object
- func KSCValNetInterfaceTypeFireWire() obj.Object
- func KSCValNetInterfaceTypeIPSec() obj.Object
- func KSCValNetInterfaceTypePPP() obj.Object
- func KSCValNetL2TPIPSecSharedSecretEncryptionKeychain() obj.Object
- func KSCValNetL2TPTransportIP() obj.Object
- func KSCValNetL2TPTransportIPSec() obj.Object
- func KSCValNetModemDialModeIgnoreDialTone() obj.Object
- func KSCValNetModemDialModeManual() obj.Object
- func KSCValNetModemDialModeWaitForDialTone() obj.Object
- func KSCValNetPPPAuthPasswordEncryptionKeychain() obj.Object
- func KSCValNetPPPAuthPasswordEncryptionToken() obj.Object
- func KSCValNetPPPAuthPromptAfter() obj.Object
- func KSCValNetPPPAuthPromptBefore() obj.Object
- func KSCValNetPPPAuthProtocolCHAP() obj.Object
- func KSCValNetPPPAuthProtocolEAP() obj.Object
- func KSCValNetPPPAuthProtocolMSCHAP1() obj.Object
- func KSCValNetPPPAuthProtocolMSCHAP2() obj.Object
- func KSCValNetPPPAuthProtocolPAP() obj.Object
- func KSCValNetSMBNetBIOSNodeTypeBroadcast() obj.Object
- func KSCValNetSMBNetBIOSNodeTypeHybrid() obj.Object
- func KSCValNetSMBNetBIOSNodeTypeMixed() obj.Object
- func KSCValNetSMBNetBIOSNodeTypePeer() obj.Object
- func SCBondInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCBondInterfaceCopyAvailableMemberInterfaces(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCBondInterfaceCreate(prefs SCPreferencesRef) unsafe.Pointer
- func SCBondInterfaceGetMemberInterfaces(bond unsafe.Pointer) corefoundation.CFArrayRef
- func SCBondInterfaceGetOptions(bond unsafe.Pointer) corefoundation.CFDictionaryRef
- func SCBondInterfaceRemove(bond unsafe.Pointer) uint8
- func SCBondInterfaceSetLocalizedDisplayName(bond unsafe.Pointer, newName corefoundation.CFStringRef) uint8
- func SCBondInterfaceSetMemberInterfaces(bond unsafe.Pointer, members corefoundation.CFArrayRef) uint8
- func SCBondInterfaceSetOptions(bond unsafe.Pointer, newOptions corefoundation.CFDictionaryRef) uint8
- func SCBondStatusGetInterfaceStatus(bondStatus SCBondStatusRef, interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
- func SCBondStatusGetMemberInterfaces(bondStatus SCBondStatusRef) corefoundation.CFArrayRef
- func SCBondStatusGetTypeID() int
- func SCCopyLastError() corefoundation.CFErrorRef
- func SCDynamicStoreAddTemporaryValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) uint8
- func SCDynamicStoreAddValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) uint8
- func SCDynamicStoreCopyComputerName(store SCDynamicStoreRef) (result corefoundation.CFStringRef, nameEncoding int)
- func SCDynamicStoreCopyConsoleUser(store SCDynamicStoreRef) (result corefoundation.CFStringRef, uid int, gid int)
- 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() int
- 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) uint8
- func SCDynamicStoreRemoveValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) uint8
- func SCDynamicStoreSetDispatchQueue(store SCDynamicStoreRef, queue dispatch.Queue) uint8
- func SCDynamicStoreSetMultiple(store SCDynamicStoreRef, keysToSet corefoundation.CFDictionaryRef, ...) uint8
- func SCDynamicStoreSetNotificationKeys(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, ...) uint8
- func SCDynamicStoreSetValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, ...) uint8
- func SCError() int
- func SCErrorString(status int) string
- func SCNetworkCheckReachabilityByAddress(address unsafe.Pointer, addrlen int) (result uint8, flags uint32)
- func SCNetworkCheckReachabilityByName(nodename string) (result uint8, flags uint32)
- 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, serviceID unsafe.Pointer, ...) uint8
- func SCNetworkConnectionGetTypeID() int
- func SCNetworkConnectionScheduleWithRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCNetworkConnectionSetDispatchQueue(connection SCNetworkConnectionRef, queue dispatch.Queue) uint8
- func SCNetworkConnectionStart(connection SCNetworkConnectionRef, userOptions corefoundation.CFDictionaryRef, ...) uint8
- func SCNetworkConnectionStop(connection SCNetworkConnectionRef, forceDisconnect uint8) uint8
- func SCNetworkConnectionUnscheduleFromRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCNetworkInterfaceCopyAll() corefoundation.CFArrayRef
- func SCNetworkInterfaceCopyMTU(interface_ SCNetworkInterfaceRef) (result uint8, mtuCur int32, mtuMin int32, mtuMax int32)
- func SCNetworkInterfaceCopyMediaOptions(interface_ SCNetworkInterfaceRef, current unsafe.Pointer, ...) uint8
- func SCNetworkInterfaceCopyMediaSubTypeOptions(available corefoundation.CFArrayRef, subType corefoundation.CFStringRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceCopyMediaSubTypes(available corefoundation.CFArrayRef) corefoundation.CFArrayRef
- func SCNetworkInterfaceForceConfigurationRefresh(interface_ SCNetworkInterfaceRef) uint8
- 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() int
- func SCNetworkInterfaceRefreshConfiguration(ifName corefoundation.CFStringRef) uint8
- func SCNetworkInterfaceSetConfiguration(interface_ SCNetworkInterfaceRef, config corefoundation.CFDictionaryRef) uint8
- func SCNetworkInterfaceSetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef, ...) uint8
- func SCNetworkInterfaceSetMTU(interface_ SCNetworkInterfaceRef, mtu int) uint8
- func SCNetworkInterfaceSetMediaOptions(interface_ SCNetworkInterfaceRef, subtype corefoundation.CFStringRef, ...) uint8
- func SCNetworkProtocolGetConfiguration(protocol SCNetworkProtocolRef) corefoundation.CFDictionaryRef
- func SCNetworkProtocolGetEnabled(protocol SCNetworkProtocolRef) uint8
- func SCNetworkProtocolGetProtocolType(protocol SCNetworkProtocolRef) corefoundation.CFStringRef
- func SCNetworkProtocolGetTypeID() int
- func SCNetworkProtocolSetConfiguration(protocol SCNetworkProtocolRef, config corefoundation.CFDictionaryRef) uint8
- func SCNetworkProtocolSetEnabled(protocol SCNetworkProtocolRef, enabled uint8) uint8
- func SCNetworkReachabilityGetTypeID() int
- func SCNetworkReachabilityScheduleWithRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCNetworkReachabilitySetCallback(target SCNetworkReachabilityRef, callout unsafe.Pointer, ...) uint8
- func SCNetworkReachabilitySetDispatchQueue(target SCNetworkReachabilityRef, queue dispatch.Queue) uint8
- func SCNetworkReachabilityUnscheduleFromRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCNetworkServiceAddProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) uint8
- func SCNetworkServiceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCNetworkServiceCopyProtocols(service SCNetworkServiceRef) corefoundation.CFArrayRef
- func SCNetworkServiceEstablishDefaultConfiguration(service SCNetworkServiceRef) uint8
- func SCNetworkServiceGetEnabled(service SCNetworkServiceRef) uint8
- func SCNetworkServiceGetName(service SCNetworkServiceRef) corefoundation.CFStringRef
- func SCNetworkServiceGetServiceID(service SCNetworkServiceRef) corefoundation.CFStringRef
- func SCNetworkServiceGetTypeID() int
- func SCNetworkServiceRemove(service SCNetworkServiceRef) uint8
- func SCNetworkServiceRemoveProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) uint8
- func SCNetworkServiceSetEnabled(service SCNetworkServiceRef, enabled uint8) uint8
- func SCNetworkServiceSetName(service SCNetworkServiceRef, name corefoundation.CFStringRef) uint8
- func SCNetworkSetAddService(set SCNetworkSetRef, service SCNetworkServiceRef) uint8
- func SCNetworkSetContainsInterface(set SCNetworkSetRef, interface_ SCNetworkInterfaceRef) uint8
- 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() int
- func SCNetworkSetRemove(set SCNetworkSetRef) uint8
- func SCNetworkSetRemoveService(set SCNetworkSetRef, service SCNetworkServiceRef) uint8
- func SCNetworkSetSetCurrent(set SCNetworkSetRef) uint8
- func SCNetworkSetSetName(set SCNetworkSetRef, name corefoundation.CFStringRef) uint8
- func SCNetworkSetSetServiceOrder(set SCNetworkSetRef, newOrder corefoundation.CFArrayRef) uint8
- func SCPreferencesAddValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, ...) uint8
- func SCPreferencesApplyChanges(prefs SCPreferencesRef) uint8
- func SCPreferencesCommitChanges(prefs SCPreferencesRef) uint8
- func SCPreferencesCopyKeyList(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCPreferencesGetSignature(prefs SCPreferencesRef) corefoundation.CFDataRef
- func SCPreferencesGetTypeID() int
- func SCPreferencesGetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
- func SCPreferencesLock(prefs SCPreferencesRef, wait uint8) uint8
- 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) uint8
- func SCPreferencesPathSetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef, ...) uint8
- func SCPreferencesPathSetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef, ...) uint8
- func SCPreferencesRemoveValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) uint8
- func SCPreferencesScheduleWithRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCPreferencesSetCallback(prefs SCPreferencesRef, callout unsafe.Pointer, context_ unsafe.Pointer) uint8
- func SCPreferencesSetComputerName(prefs SCPreferencesRef, name corefoundation.CFStringRef, nameEncoding int) uint8
- func SCPreferencesSetDispatchQueue(prefs SCPreferencesRef, queue dispatch.Queue) uint8
- func SCPreferencesSetLocalHostName(prefs SCPreferencesRef, name corefoundation.CFStringRef) uint8
- func SCPreferencesSetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, ...) uint8
- func SCPreferencesSynchronize(prefs SCPreferencesRef)
- func SCPreferencesUnlock(prefs SCPreferencesRef) uint8
- func SCPreferencesUnscheduleFromRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, ...) uint8
- func SCVLANInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
- func SCVLANInterfaceCopyAvailablePhysicalInterfaces() corefoundation.CFArrayRef
- func SCVLANInterfaceCreate(prefs SCPreferencesRef, physical SCNetworkInterfaceRef, ...) unsafe.Pointer
- func SCVLANInterfaceGetOptions(vlan unsafe.Pointer) corefoundation.CFDictionaryRef
- func SCVLANInterfaceGetTag(vlan unsafe.Pointer) corefoundation.CFNumberRef
- func SCVLANInterfaceRemove(vlan unsafe.Pointer) uint8
- func SCVLANInterfaceSetLocalizedDisplayName(vlan unsafe.Pointer, newName corefoundation.CFStringRef) uint8
- func SCVLANInterfaceSetOptions(vlan unsafe.Pointer, newOptions corefoundation.CFDictionaryRef) uint8
- func SCVLANInterfaceSetPhysicalInterfaceAndTag(vlan unsafe.Pointer, physical SCNetworkInterfaceRef, ...) uint8
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type OSClockid
- type Perm
- type PtrauthKey
- type QosClass
- type SCBondStatus
- type SCBondStatusRef
- type SCDynamicStore
- type SCDynamicStoreContext
- type SCDynamicStoreRef
- type SCNetworkConnection
- type SCNetworkConnectionContext
- type SCNetworkConnectionPPPStatus
- type SCNetworkConnectionRef
- type SCNetworkConnectionStatus
- type SCNetworkInterface
- type SCNetworkInterfaceRef
- func SCNetworkInterfaceCreateWithInterface(interface_ SCNetworkInterfaceRef, interfaceType corefoundation.CFStringRef) SCNetworkInterfaceRef
- func SCNetworkInterfaceGetInterface(interface_ SCNetworkInterfaceRef) SCNetworkInterfaceRef
- func SCNetworkServiceGetInterface(service SCNetworkServiceRef) SCNetworkInterfaceRef
- func SCVLANInterfaceGetPhysicalInterface(vlan unsafe.Pointer) SCNetworkInterfaceRef
- type SCNetworkProtocol
- type SCNetworkProtocolRef
- type SCNetworkReachability
- type SCNetworkReachabilityContext
- type SCNetworkReachabilityFlags
- type SCNetworkReachabilityRef
- func SCNetworkReachabilityCreateWithAddress(allocator corefoundation.CFAllocatorRef, address unsafe.Pointer) SCNetworkReachabilityRef
- func SCNetworkReachabilityCreateWithAddressPair(allocator corefoundation.CFAllocatorRef, localAddress unsafe.Pointer, ...) SCNetworkReachabilityRef
- func SCNetworkReachabilityCreateWithName(allocator corefoundation.CFAllocatorRef, nodename string) SCNetworkReachabilityRef
- type SCNetworkService
- type SCNetworkServiceRef
- type SCNetworkSet
- type SCNetworkSetRef
- type SCPreferences
- type SCPreferencesContext
- type SCPreferencesNotification
- type SCPreferencesRef
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( KSCBondStatusLinkInvalid = 1 KSCBondStatusNoPartner = 2 KSCBondStatusNotInActiveGroup = 3 KSCBondStatusOK = 0 KSCBondStatusUnknown = 999 KSCNetworkFlagsConnectionAutomatic = 8 KSCNetworkFlagsConnectionRequired = 4 KSCNetworkFlagsInterventionRequired = 16 KSCNetworkFlagsIsDirect = 131072 KSCNetworkFlagsIsLocalAddress = 65536 KSCNetworkFlagsReachable = 2 KSCNetworkFlagsTransientConnection = 1 KSCStatusAccessError = 1003 KSCStatusConnectionIgnore = 5002 KSCStatusConnectionNoService = 5001 KSCStatusFailed = 1001 KSCStatusInvalidArgument = 1002 KSCStatusKeyExists = 1005 KSCStatusLocked = 1006 KSCStatusMaxLink = 3006 KSCStatusNeedLock = 1007 KSCStatusNoConfigFile = 3003 KSCStatusNoKey = 1004 KSCStatusNoLink = 3004 KSCStatusNoPrefsSession = 3001 KSCStatusNoStoreServer = 2002 KSCStatusNoStoreSession = 2001 KSCStatusNotifierActive = 2003 KSCStatusOK = 0 KSCStatusPrefsBusy = 3002 KSCStatusReachabilityUnknown = 4001 KSCStatusStale = 3005 )
Variables ¶
This section is empty.
Functions ¶
func KCFErrorDomainSystemConfiguration ¶
KCFErrorDomainSystemConfiguration returns the value of the constant kCFErrorDomainSystemConfiguration.
func KSCBondStatusDeviceAggregationStatus ¶
KSCBondStatusDeviceAggregationStatus returns the value of the constant kSCBondStatusDeviceAggregationStatus.
func KSCBondStatusDeviceCollecting ¶
KSCBondStatusDeviceCollecting returns the value of the constant kSCBondStatusDeviceCollecting.
func KSCBondStatusDeviceDistributing ¶
KSCBondStatusDeviceDistributing returns the value of the constant kSCBondStatusDeviceDistributing.
func KSCCompAnyRegex ¶
KSCCompAnyRegex returns the value of the constant kSCCompAnyRegex.
func KSCCompGlobal ¶
KSCCompGlobal returns the value of the constant kSCCompGlobal.
func KSCCompHostNames ¶
KSCCompHostNames returns the value of the constant kSCCompHostNames.
func KSCCompInterface ¶
KSCCompInterface returns the value of the constant kSCCompInterface.
func KSCCompNetwork ¶
KSCCompNetwork returns the value of the constant kSCCompNetwork.
func KSCCompService ¶
KSCCompService returns the value of the constant kSCCompService.
func KSCCompSystem ¶
KSCCompSystem returns the value of the constant kSCCompSystem.
func KSCCompUsers ¶
KSCCompUsers returns the value of the constant kSCCompUsers.
func KSCDynamicStoreDomainFile ¶
KSCDynamicStoreDomainFile returns the value of the constant kSCDynamicStoreDomainFile.
func KSCDynamicStoreDomainPlugin ¶
KSCDynamicStoreDomainPlugin returns the value of the constant kSCDynamicStoreDomainPlugin.
func KSCDynamicStoreDomainPrefs ¶
KSCDynamicStoreDomainPrefs returns the value of the constant kSCDynamicStoreDomainPrefs.
func KSCDynamicStoreDomainSetup ¶
KSCDynamicStoreDomainSetup returns the value of the constant kSCDynamicStoreDomainSetup.
func KSCDynamicStoreDomainState ¶
KSCDynamicStoreDomainState returns the value of the constant kSCDynamicStoreDomainState.
func KSCDynamicStorePropNetInterfaces ¶
KSCDynamicStorePropNetInterfaces returns the value of the constant kSCDynamicStorePropNetInterfaces.
func KSCDynamicStorePropNetPrimaryInterface ¶
KSCDynamicStorePropNetPrimaryInterface returns the value of the constant kSCDynamicStorePropNetPrimaryInterface.
func KSCDynamicStorePropNetPrimaryService ¶
KSCDynamicStorePropNetPrimaryService returns the value of the constant kSCDynamicStorePropNetPrimaryService.
func KSCDynamicStorePropNetServiceIDs ¶
KSCDynamicStorePropNetServiceIDs returns the value of the constant kSCDynamicStorePropNetServiceIDs.
func KSCDynamicStorePropSetupCurrentSet ¶
KSCDynamicStorePropSetupCurrentSet returns the value of the constant kSCDynamicStorePropSetupCurrentSet.
func KSCDynamicStorePropSetupLastUpdated ¶
KSCDynamicStorePropSetupLastUpdated returns the value of the constant kSCDynamicStorePropSetupLastUpdated.
func KSCDynamicStoreUseSessionKeys ¶
KSCDynamicStoreUseSessionKeys returns the value of the constant kSCDynamicStoreUseSessionKeys.
func KSCEntNet6to4 ¶
KSCEntNet6to4 returns the value of the constant kSCEntNet6to4.
func KSCEntNetAirPort ¶
KSCEntNetAirPort returns the value of the constant kSCEntNetAirPort.
func KSCEntNetDHCP ¶
KSCEntNetDHCP returns the value of the constant kSCEntNetDHCP.
func KSCEntNetDNS ¶
KSCEntNetDNS returns the value of the constant kSCEntNetDNS.
func KSCEntNetEthernet ¶
KSCEntNetEthernet returns the value of the constant kSCEntNetEthernet.
func KSCEntNetFireWire ¶
KSCEntNetFireWire returns the value of the constant kSCEntNetFireWire.
func KSCEntNetIPSec ¶
KSCEntNetIPSec returns the value of the constant kSCEntNetIPSec.
func KSCEntNetIPv4 ¶
KSCEntNetIPv4 returns the value of the constant kSCEntNetIPv4.
func KSCEntNetIPv6 ¶
KSCEntNetIPv6 returns the value of the constant kSCEntNetIPv6.
func KSCEntNetInterface ¶
KSCEntNetInterface returns the value of the constant kSCEntNetInterface.
func KSCEntNetL2TP ¶
KSCEntNetL2TP returns the value of the constant kSCEntNetL2TP.
func KSCEntNetLink ¶
KSCEntNetLink returns the value of the constant kSCEntNetLink.
func KSCEntNetModem ¶
KSCEntNetModem returns the value of the constant kSCEntNetModem.
func KSCEntNetPPP ¶
KSCEntNetPPP returns the value of the constant kSCEntNetPPP.
func KSCEntNetPPPSerial ¶
KSCEntNetPPPSerial returns the value of the constant kSCEntNetPPPSerial.
func KSCEntNetPPPoE ¶
KSCEntNetPPPoE returns the value of the constant kSCEntNetPPPoE.
func KSCEntNetPPTP ¶
KSCEntNetPPTP returns the value of the constant kSCEntNetPPTP.
func KSCEntNetProxies ¶
KSCEntNetProxies returns the value of the constant kSCEntNetProxies.
func KSCEntNetSMB ¶
KSCEntNetSMB returns the value of the constant kSCEntNetSMB.
func KSCEntUsersConsoleUser ¶
KSCEntUsersConsoleUser returns the value of the constant kSCEntUsersConsoleUser.
func KSCNetworkInterfaceIPv4 ¶
func KSCNetworkInterfaceIPv4() uintptr
KSCNetworkInterfaceIPv4 returns the address of the symbol kSCNetworkInterfaceIPv4.
func KSCNetworkInterfaceType6to4 ¶
KSCNetworkInterfaceType6to4 returns the value of the constant kSCNetworkInterfaceType6to4.
func KSCNetworkInterfaceTypeBluetooth ¶
KSCNetworkInterfaceTypeBluetooth returns the value of the constant kSCNetworkInterfaceTypeBluetooth.
func KSCNetworkInterfaceTypeBond ¶
KSCNetworkInterfaceTypeBond returns the value of the constant kSCNetworkInterfaceTypeBond.
func KSCNetworkInterfaceTypeEthernet ¶
KSCNetworkInterfaceTypeEthernet returns the value of the constant kSCNetworkInterfaceTypeEthernet.
func KSCNetworkInterfaceTypeFireWire ¶
KSCNetworkInterfaceTypeFireWire returns the value of the constant kSCNetworkInterfaceTypeFireWire.
func KSCNetworkInterfaceTypeIEEE80211 ¶
KSCNetworkInterfaceTypeIEEE80211 returns the value of the constant kSCNetworkInterfaceTypeIEEE80211.
func KSCNetworkInterfaceTypeIPSec ¶
KSCNetworkInterfaceTypeIPSec returns the value of the constant kSCNetworkInterfaceTypeIPSec.
func KSCNetworkInterfaceTypeIPv4 ¶
KSCNetworkInterfaceTypeIPv4 returns the value of the constant kSCNetworkInterfaceTypeIPv4.
func KSCNetworkInterfaceTypeIrDA ¶
KSCNetworkInterfaceTypeIrDA returns the value of the constant kSCNetworkInterfaceTypeIrDA.
func KSCNetworkInterfaceTypeL2TP ¶
KSCNetworkInterfaceTypeL2TP returns the value of the constant kSCNetworkInterfaceTypeL2TP.
func KSCNetworkInterfaceTypeModem ¶
KSCNetworkInterfaceTypeModem returns the value of the constant kSCNetworkInterfaceTypeModem.
func KSCNetworkInterfaceTypePPP ¶
KSCNetworkInterfaceTypePPP returns the value of the constant kSCNetworkInterfaceTypePPP.
func KSCNetworkInterfaceTypePPTP ¶
KSCNetworkInterfaceTypePPTP returns the value of the constant kSCNetworkInterfaceTypePPTP.
func KSCNetworkInterfaceTypeSerial ¶
KSCNetworkInterfaceTypeSerial returns the value of the constant kSCNetworkInterfaceTypeSerial.
func KSCNetworkInterfaceTypeVLAN ¶
KSCNetworkInterfaceTypeVLAN returns the value of the constant kSCNetworkInterfaceTypeVLAN.
func KSCNetworkInterfaceTypeWWAN ¶
KSCNetworkInterfaceTypeWWAN returns the value of the constant kSCNetworkInterfaceTypeWWAN.
func KSCNetworkProtocolTypeDNS ¶
KSCNetworkProtocolTypeDNS returns the value of the constant kSCNetworkProtocolTypeDNS.
func KSCNetworkProtocolTypeIPv4 ¶
KSCNetworkProtocolTypeIPv4 returns the value of the constant kSCNetworkProtocolTypeIPv4.
func KSCNetworkProtocolTypeIPv6 ¶
KSCNetworkProtocolTypeIPv6 returns the value of the constant kSCNetworkProtocolTypeIPv6.
func KSCNetworkProtocolTypeProxies ¶
KSCNetworkProtocolTypeProxies returns the value of the constant kSCNetworkProtocolTypeProxies.
func KSCNetworkProtocolTypeSMB ¶
KSCNetworkProtocolTypeSMB returns the value of the constant kSCNetworkProtocolTypeSMB.
func KSCPrefCurrentSet ¶
KSCPrefCurrentSet returns the value of the constant kSCPrefCurrentSet.
func KSCPrefNetworkServices ¶
KSCPrefNetworkServices returns the value of the constant kSCPrefNetworkServices.
func KSCPrefSets ¶
KSCPrefSets returns the value of the constant kSCPrefSets.
func KSCPrefSystem ¶
KSCPrefSystem returns the value of the constant kSCPrefSystem.
func KSCPropInterfaceName ¶
KSCPropInterfaceName returns the value of the constant kSCPropInterfaceName.
func KSCPropMACAddress ¶
KSCPropMACAddress returns the value of the constant kSCPropMACAddress.
func KSCPropNet6to4Relay ¶
KSCPropNet6to4Relay returns the value of the constant kSCPropNet6to4Relay.
func KSCPropNetAirPortAllowNetCreation ¶
KSCPropNetAirPortAllowNetCreation returns the value of the constant kSCPropNetAirPortAllowNetCreation.
func KSCPropNetAirPortAuthPassword ¶
KSCPropNetAirPortAuthPassword returns the value of the constant kSCPropNetAirPortAuthPassword.
func KSCPropNetAirPortAuthPasswordEncryption ¶
KSCPropNetAirPortAuthPasswordEncryption returns the value of the constant kSCPropNetAirPortAuthPasswordEncryption.
func KSCPropNetAirPortJoinMode ¶
KSCPropNetAirPortJoinMode returns the value of the constant kSCPropNetAirPortJoinMode.
func KSCPropNetAirPortPowerEnabled ¶
KSCPropNetAirPortPowerEnabled returns the value of the constant kSCPropNetAirPortPowerEnabled.
func KSCPropNetAirPortPreferredNetwork ¶
KSCPropNetAirPortPreferredNetwork returns the value of the constant kSCPropNetAirPortPreferredNetwork.
func KSCPropNetAirPortSavePasswords ¶
KSCPropNetAirPortSavePasswords returns the value of the constant kSCPropNetAirPortSavePasswords.
func KSCPropNetDNSDomainName ¶
KSCPropNetDNSDomainName returns the value of the constant kSCPropNetDNSDomainName.
func KSCPropNetDNSOptions ¶
KSCPropNetDNSOptions returns the value of the constant kSCPropNetDNSOptions.
func KSCPropNetDNSSearchDomains ¶
KSCPropNetDNSSearchDomains returns the value of the constant kSCPropNetDNSSearchDomains.
func KSCPropNetDNSSearchOrder ¶
KSCPropNetDNSSearchOrder returns the value of the constant kSCPropNetDNSSearchOrder.
func KSCPropNetDNSServerAddresses ¶
KSCPropNetDNSServerAddresses returns the value of the constant kSCPropNetDNSServerAddresses.
func KSCPropNetDNSServerPort ¶
KSCPropNetDNSServerPort returns the value of the constant kSCPropNetDNSServerPort.
func KSCPropNetDNSServerTimeout ¶
KSCPropNetDNSServerTimeout returns the value of the constant kSCPropNetDNSServerTimeout.
func KSCPropNetDNSSortList ¶
KSCPropNetDNSSortList returns the value of the constant kSCPropNetDNSSortList.
func KSCPropNetDNSSupplementalMatchDomains ¶
KSCPropNetDNSSupplementalMatchDomains returns the value of the constant kSCPropNetDNSSupplementalMatchDomains.
func KSCPropNetDNSSupplementalMatchOrders ¶
KSCPropNetDNSSupplementalMatchOrders returns the value of the constant kSCPropNetDNSSupplementalMatchOrders.
func KSCPropNetEthernetMTU ¶
KSCPropNetEthernetMTU returns the value of the constant kSCPropNetEthernetMTU.
func KSCPropNetEthernetMediaOptions ¶
KSCPropNetEthernetMediaOptions returns the value of the constant kSCPropNetEthernetMediaOptions.
func KSCPropNetEthernetMediaSubType ¶
KSCPropNetEthernetMediaSubType returns the value of the constant kSCPropNetEthernetMediaSubType.
func KSCPropNetIPSecAuthenticationMethod ¶
KSCPropNetIPSecAuthenticationMethod returns the value of the constant kSCPropNetIPSecAuthenticationMethod.
func KSCPropNetIPSecConnectTime ¶
KSCPropNetIPSecConnectTime returns the value of the constant kSCPropNetIPSecConnectTime.
func KSCPropNetIPSecLocalCertificate ¶
KSCPropNetIPSecLocalCertificate returns the value of the constant kSCPropNetIPSecLocalCertificate.
func KSCPropNetIPSecLocalIdentifier ¶
KSCPropNetIPSecLocalIdentifier returns the value of the constant kSCPropNetIPSecLocalIdentifier.
func KSCPropNetIPSecLocalIdentifierType ¶
KSCPropNetIPSecLocalIdentifierType returns the value of the constant kSCPropNetIPSecLocalIdentifierType.
func KSCPropNetIPSecRemoteAddress ¶
KSCPropNetIPSecRemoteAddress returns the value of the constant kSCPropNetIPSecRemoteAddress.
func KSCPropNetIPSecSharedSecret ¶
KSCPropNetIPSecSharedSecret returns the value of the constant kSCPropNetIPSecSharedSecret.
func KSCPropNetIPSecSharedSecretEncryption ¶
KSCPropNetIPSecSharedSecretEncryption returns the value of the constant kSCPropNetIPSecSharedSecretEncryption.
func KSCPropNetIPSecStatus ¶
KSCPropNetIPSecStatus returns the value of the constant kSCPropNetIPSecStatus.
func KSCPropNetIPSecXAuthEnabled ¶
KSCPropNetIPSecXAuthEnabled returns the value of the constant kSCPropNetIPSecXAuthEnabled.
func KSCPropNetIPSecXAuthName ¶
KSCPropNetIPSecXAuthName returns the value of the constant kSCPropNetIPSecXAuthName.
func KSCPropNetIPSecXAuthPassword ¶
KSCPropNetIPSecXAuthPassword returns the value of the constant kSCPropNetIPSecXAuthPassword.
func KSCPropNetIPSecXAuthPasswordEncryption ¶
KSCPropNetIPSecXAuthPasswordEncryption returns the value of the constant kSCPropNetIPSecXAuthPasswordEncryption.
func KSCPropNetIPv4Addresses ¶
KSCPropNetIPv4Addresses returns the value of the constant kSCPropNetIPv4Addresses.
func KSCPropNetIPv4BroadcastAddresses ¶
KSCPropNetIPv4BroadcastAddresses returns the value of the constant kSCPropNetIPv4BroadcastAddresses.
func KSCPropNetIPv4ConfigMethod ¶
KSCPropNetIPv4ConfigMethod returns the value of the constant kSCPropNetIPv4ConfigMethod.
func KSCPropNetIPv4DHCPClientID ¶
KSCPropNetIPv4DHCPClientID returns the value of the constant kSCPropNetIPv4DHCPClientID.
func KSCPropNetIPv4DestAddresses ¶
KSCPropNetIPv4DestAddresses returns the value of the constant kSCPropNetIPv4DestAddresses.
func KSCPropNetIPv4Router ¶
KSCPropNetIPv4Router returns the value of the constant kSCPropNetIPv4Router.
func KSCPropNetIPv4SubnetMasks ¶
KSCPropNetIPv4SubnetMasks returns the value of the constant kSCPropNetIPv4SubnetMasks.
func KSCPropNetIPv6Addresses ¶
KSCPropNetIPv6Addresses returns the value of the constant kSCPropNetIPv6Addresses.
func KSCPropNetIPv6ConfigMethod ¶
KSCPropNetIPv6ConfigMethod returns the value of the constant kSCPropNetIPv6ConfigMethod.
func KSCPropNetIPv6DestAddresses ¶
KSCPropNetIPv6DestAddresses returns the value of the constant kSCPropNetIPv6DestAddresses.
func KSCPropNetIPv6Flags ¶
KSCPropNetIPv6Flags returns the value of the constant kSCPropNetIPv6Flags.
func KSCPropNetIPv6PrefixLength ¶
KSCPropNetIPv6PrefixLength returns the value of the constant kSCPropNetIPv6PrefixLength.
func KSCPropNetIPv6Router ¶
KSCPropNetIPv6Router returns the value of the constant kSCPropNetIPv6Router.
func KSCPropNetInterfaceDeviceName ¶
KSCPropNetInterfaceDeviceName returns the value of the constant kSCPropNetInterfaceDeviceName.
func KSCPropNetInterfaceHardware ¶
KSCPropNetInterfaceHardware returns the value of the constant kSCPropNetInterfaceHardware.
func KSCPropNetInterfaceSubType ¶
KSCPropNetInterfaceSubType returns the value of the constant kSCPropNetInterfaceSubType.
func KSCPropNetInterfaceSupportsModemOnHold ¶
KSCPropNetInterfaceSupportsModemOnHold returns the value of the constant kSCPropNetInterfaceSupportsModemOnHold.
func KSCPropNetInterfaceType ¶
KSCPropNetInterfaceType returns the value of the constant kSCPropNetInterfaceType.
func KSCPropNetInterfaces ¶
KSCPropNetInterfaces returns the value of the constant kSCPropNetInterfaces.
func KSCPropNetL2TPIPSecSharedSecret ¶
KSCPropNetL2TPIPSecSharedSecret returns the value of the constant kSCPropNetL2TPIPSecSharedSecret.
func KSCPropNetL2TPIPSecSharedSecretEncryption ¶
KSCPropNetL2TPIPSecSharedSecretEncryption returns the value of the constant kSCPropNetL2TPIPSecSharedSecretEncryption.
func KSCPropNetL2TPTransport ¶
KSCPropNetL2TPTransport returns the value of the constant kSCPropNetL2TPTransport.
func KSCPropNetLinkActive ¶
KSCPropNetLinkActive returns the value of the constant kSCPropNetLinkActive.
func KSCPropNetLinkDetaching ¶
KSCPropNetLinkDetaching returns the value of the constant kSCPropNetLinkDetaching.
func KSCPropNetLocalHostName ¶
KSCPropNetLocalHostName returns the value of the constant kSCPropNetLocalHostName.
func KSCPropNetModemAccessPointName ¶
KSCPropNetModemAccessPointName returns the value of the constant kSCPropNetModemAccessPointName.
func KSCPropNetModemConnectSpeed ¶
KSCPropNetModemConnectSpeed returns the value of the constant kSCPropNetModemConnectSpeed.
func KSCPropNetModemConnectionPersonality ¶
KSCPropNetModemConnectionPersonality returns the value of the constant kSCPropNetModemConnectionPersonality.
func KSCPropNetModemConnectionScript ¶
KSCPropNetModemConnectionScript returns the value of the constant kSCPropNetModemConnectionScript.
func KSCPropNetModemDataCompression ¶
KSCPropNetModemDataCompression returns the value of the constant kSCPropNetModemDataCompression.
func KSCPropNetModemDeviceContextID ¶
KSCPropNetModemDeviceContextID returns the value of the constant kSCPropNetModemDeviceContextID.
func KSCPropNetModemDeviceModel ¶
KSCPropNetModemDeviceModel returns the value of the constant kSCPropNetModemDeviceModel.
func KSCPropNetModemDeviceVendor ¶
KSCPropNetModemDeviceVendor returns the value of the constant kSCPropNetModemDeviceVendor.
func KSCPropNetModemDialMode ¶
KSCPropNetModemDialMode returns the value of the constant kSCPropNetModemDialMode.
func KSCPropNetModemErrorCorrection ¶
KSCPropNetModemErrorCorrection returns the value of the constant kSCPropNetModemErrorCorrection.
func KSCPropNetModemHoldCallWaitingAudibleAlert ¶
KSCPropNetModemHoldCallWaitingAudibleAlert returns the value of the constant kSCPropNetModemHoldCallWaitingAudibleAlert.
func KSCPropNetModemHoldDisconnectOnAnswer ¶
KSCPropNetModemHoldDisconnectOnAnswer returns the value of the constant kSCPropNetModemHoldDisconnectOnAnswer.
func KSCPropNetModemHoldEnabled ¶
KSCPropNetModemHoldEnabled returns the value of the constant kSCPropNetModemHoldEnabled.
func KSCPropNetModemHoldReminder ¶
KSCPropNetModemHoldReminder returns the value of the constant kSCPropNetModemHoldReminder.
func KSCPropNetModemHoldReminderTime ¶
KSCPropNetModemHoldReminderTime returns the value of the constant kSCPropNetModemHoldReminderTime.
func KSCPropNetModemNote ¶
KSCPropNetModemNote returns the value of the constant kSCPropNetModemNote.
func KSCPropNetModemPulseDial ¶
KSCPropNetModemPulseDial returns the value of the constant kSCPropNetModemPulseDial.
func KSCPropNetModemSpeaker ¶
KSCPropNetModemSpeaker returns the value of the constant kSCPropNetModemSpeaker.
func KSCPropNetModemSpeed ¶
KSCPropNetModemSpeed returns the value of the constant kSCPropNetModemSpeed.
func KSCPropNetOverridePrimary ¶
KSCPropNetOverridePrimary returns the value of the constant kSCPropNetOverridePrimary.
func KSCPropNetPPPACSPEnabled ¶
KSCPropNetPPPACSPEnabled returns the value of the constant kSCPropNetPPPACSPEnabled.
func KSCPropNetPPPAuthEAPPlugins ¶
KSCPropNetPPPAuthEAPPlugins returns the value of the constant kSCPropNetPPPAuthEAPPlugins.
func KSCPropNetPPPAuthName ¶
KSCPropNetPPPAuthName returns the value of the constant kSCPropNetPPPAuthName.
func KSCPropNetPPPAuthPassword ¶
KSCPropNetPPPAuthPassword returns the value of the constant kSCPropNetPPPAuthPassword.
func KSCPropNetPPPAuthPasswordEncryption ¶
KSCPropNetPPPAuthPasswordEncryption returns the value of the constant kSCPropNetPPPAuthPasswordEncryption.
func KSCPropNetPPPAuthPrompt ¶
KSCPropNetPPPAuthPrompt returns the value of the constant kSCPropNetPPPAuthPrompt.
func KSCPropNetPPPAuthProtocol ¶
KSCPropNetPPPAuthProtocol returns the value of the constant kSCPropNetPPPAuthProtocol.
func KSCPropNetPPPCCPEnabled ¶
KSCPropNetPPPCCPEnabled returns the value of the constant kSCPropNetPPPCCPEnabled.
func KSCPropNetPPPCCPMPPE40Enabled ¶
KSCPropNetPPPCCPMPPE40Enabled returns the value of the constant kSCPropNetPPPCCPMPPE40Enabled.
func KSCPropNetPPPCCPMPPE128Enabled ¶
KSCPropNetPPPCCPMPPE128Enabled returns the value of the constant kSCPropNetPPPCCPMPPE128Enabled.
func KSCPropNetPPPCommAlternateRemoteAddress ¶
KSCPropNetPPPCommAlternateRemoteAddress returns the value of the constant kSCPropNetPPPCommAlternateRemoteAddress.
func KSCPropNetPPPCommConnectDelay ¶
KSCPropNetPPPCommConnectDelay returns the value of the constant kSCPropNetPPPCommConnectDelay.
func KSCPropNetPPPCommDisplayTerminalWindow ¶
KSCPropNetPPPCommDisplayTerminalWindow returns the value of the constant kSCPropNetPPPCommDisplayTerminalWindow.
func KSCPropNetPPPCommRedialCount ¶
KSCPropNetPPPCommRedialCount returns the value of the constant kSCPropNetPPPCommRedialCount.
func KSCPropNetPPPCommRedialEnabled ¶
KSCPropNetPPPCommRedialEnabled returns the value of the constant kSCPropNetPPPCommRedialEnabled.
func KSCPropNetPPPCommRedialInterval ¶
KSCPropNetPPPCommRedialInterval returns the value of the constant kSCPropNetPPPCommRedialInterval.
func KSCPropNetPPPCommRemoteAddress ¶
KSCPropNetPPPCommRemoteAddress returns the value of the constant kSCPropNetPPPCommRemoteAddress.
func KSCPropNetPPPCommTerminalScript ¶
KSCPropNetPPPCommTerminalScript returns the value of the constant kSCPropNetPPPCommTerminalScript.
func KSCPropNetPPPCommUseTerminalScript ¶
KSCPropNetPPPCommUseTerminalScript returns the value of the constant kSCPropNetPPPCommUseTerminalScript.
func KSCPropNetPPPConnectTime ¶
KSCPropNetPPPConnectTime returns the value of the constant kSCPropNetPPPConnectTime.
func KSCPropNetPPPDeviceLastCause ¶
KSCPropNetPPPDeviceLastCause returns the value of the constant kSCPropNetPPPDeviceLastCause.
func KSCPropNetPPPDialOnDemand ¶
KSCPropNetPPPDialOnDemand returns the value of the constant kSCPropNetPPPDialOnDemand.
func KSCPropNetPPPDisconnectOnFastUserSwitch ¶
KSCPropNetPPPDisconnectOnFastUserSwitch returns the value of the constant kSCPropNetPPPDisconnectOnFastUserSwitch.
func KSCPropNetPPPDisconnectOnIdle ¶
KSCPropNetPPPDisconnectOnIdle returns the value of the constant kSCPropNetPPPDisconnectOnIdle.
func KSCPropNetPPPDisconnectOnIdleTimer ¶
KSCPropNetPPPDisconnectOnIdleTimer returns the value of the constant kSCPropNetPPPDisconnectOnIdleTimer.
func KSCPropNetPPPDisconnectOnLogout ¶
KSCPropNetPPPDisconnectOnLogout returns the value of the constant kSCPropNetPPPDisconnectOnLogout.
func KSCPropNetPPPDisconnectOnSleep ¶
KSCPropNetPPPDisconnectOnSleep returns the value of the constant kSCPropNetPPPDisconnectOnSleep.
func KSCPropNetPPPDisconnectTime ¶
KSCPropNetPPPDisconnectTime returns the value of the constant kSCPropNetPPPDisconnectTime.
func KSCPropNetPPPIPCPCompressionVJ ¶
KSCPropNetPPPIPCPCompressionVJ returns the value of the constant kSCPropNetPPPIPCPCompressionVJ.
func KSCPropNetPPPIPCPUsePeerDNS ¶
KSCPropNetPPPIPCPUsePeerDNS returns the value of the constant kSCPropNetPPPIPCPUsePeerDNS.
func KSCPropNetPPPIdleReminder ¶
KSCPropNetPPPIdleReminder returns the value of the constant kSCPropNetPPPIdleReminder.
func KSCPropNetPPPIdleReminderTimer ¶
KSCPropNetPPPIdleReminderTimer returns the value of the constant kSCPropNetPPPIdleReminderTimer.
func KSCPropNetPPPLCPCompressionACField ¶
KSCPropNetPPPLCPCompressionACField returns the value of the constant kSCPropNetPPPLCPCompressionACField.
func KSCPropNetPPPLCPCompressionPField ¶
KSCPropNetPPPLCPCompressionPField returns the value of the constant kSCPropNetPPPLCPCompressionPField.
func KSCPropNetPPPLCPEchoEnabled ¶
KSCPropNetPPPLCPEchoEnabled returns the value of the constant kSCPropNetPPPLCPEchoEnabled.
func KSCPropNetPPPLCPEchoFailure ¶
KSCPropNetPPPLCPEchoFailure returns the value of the constant kSCPropNetPPPLCPEchoFailure.
func KSCPropNetPPPLCPEchoInterval ¶
KSCPropNetPPPLCPEchoInterval returns the value of the constant kSCPropNetPPPLCPEchoInterval.
func KSCPropNetPPPLCPMRU ¶
KSCPropNetPPPLCPMRU returns the value of the constant kSCPropNetPPPLCPMRU.
func KSCPropNetPPPLCPMTU ¶
KSCPropNetPPPLCPMTU returns the value of the constant kSCPropNetPPPLCPMTU.
func KSCPropNetPPPLCPReceiveACCM ¶
KSCPropNetPPPLCPReceiveACCM returns the value of the constant kSCPropNetPPPLCPReceiveACCM.
func KSCPropNetPPPLCPTransmitACCM ¶
KSCPropNetPPPLCPTransmitACCM returns the value of the constant kSCPropNetPPPLCPTransmitACCM.
func KSCPropNetPPPLastCause ¶
KSCPropNetPPPLastCause returns the value of the constant kSCPropNetPPPLastCause.
func KSCPropNetPPPLogfile ¶
KSCPropNetPPPLogfile returns the value of the constant kSCPropNetPPPLogfile.
func KSCPropNetPPPOverridePrimary ¶
KSCPropNetPPPOverridePrimary returns the value of the constant kSCPropNetPPPOverridePrimary.
func KSCPropNetPPPPlugins ¶
KSCPropNetPPPPlugins returns the value of the constant kSCPropNetPPPPlugins.
func KSCPropNetPPPRetryConnectTime ¶
KSCPropNetPPPRetryConnectTime returns the value of the constant kSCPropNetPPPRetryConnectTime.
func KSCPropNetPPPSessionTimer ¶
KSCPropNetPPPSessionTimer returns the value of the constant kSCPropNetPPPSessionTimer.
func KSCPropNetPPPStatus ¶
KSCPropNetPPPStatus returns the value of the constant kSCPropNetPPPStatus.
func KSCPropNetPPPUseSessionTimer ¶
KSCPropNetPPPUseSessionTimer returns the value of the constant kSCPropNetPPPUseSessionTimer.
func KSCPropNetPPPVerboseLogging ¶
KSCPropNetPPPVerboseLogging returns the value of the constant kSCPropNetPPPVerboseLogging.
func KSCPropNetProxiesExceptionsList ¶
KSCPropNetProxiesExceptionsList returns the value of the constant kSCPropNetProxiesExceptionsList.
func KSCPropNetProxiesExcludeSimpleHostnames ¶
KSCPropNetProxiesExcludeSimpleHostnames returns the value of the constant kSCPropNetProxiesExcludeSimpleHostnames.
func KSCPropNetProxiesFTPEnable ¶
KSCPropNetProxiesFTPEnable returns the value of the constant kSCPropNetProxiesFTPEnable.
func KSCPropNetProxiesFTPPassive ¶
KSCPropNetProxiesFTPPassive returns the value of the constant kSCPropNetProxiesFTPPassive.
func KSCPropNetProxiesFTPPort ¶
KSCPropNetProxiesFTPPort returns the value of the constant kSCPropNetProxiesFTPPort.
func KSCPropNetProxiesFTPProxy ¶
KSCPropNetProxiesFTPProxy returns the value of the constant kSCPropNetProxiesFTPProxy.
func KSCPropNetProxiesFTPUser ¶
KSCPropNetProxiesFTPUser returns the value of the constant kSCPropNetProxiesFTPUser.
func KSCPropNetProxiesGopherEnable ¶
KSCPropNetProxiesGopherEnable returns the value of the constant kSCPropNetProxiesGopherEnable.
func KSCPropNetProxiesGopherPort ¶
KSCPropNetProxiesGopherPort returns the value of the constant kSCPropNetProxiesGopherPort.
func KSCPropNetProxiesGopherProxy ¶
KSCPropNetProxiesGopherProxy returns the value of the constant kSCPropNetProxiesGopherProxy.
func KSCPropNetProxiesGopherUser ¶
KSCPropNetProxiesGopherUser returns the value of the constant kSCPropNetProxiesGopherUser.
func KSCPropNetProxiesHTTPEnable ¶
KSCPropNetProxiesHTTPEnable returns the value of the constant kSCPropNetProxiesHTTPEnable.
func KSCPropNetProxiesHTTPPort ¶
KSCPropNetProxiesHTTPPort returns the value of the constant kSCPropNetProxiesHTTPPort.
func KSCPropNetProxiesHTTPProxy ¶
KSCPropNetProxiesHTTPProxy returns the value of the constant kSCPropNetProxiesHTTPProxy.
func KSCPropNetProxiesHTTPSEnable ¶
KSCPropNetProxiesHTTPSEnable returns the value of the constant kSCPropNetProxiesHTTPSEnable.
func KSCPropNetProxiesHTTPSPort ¶
KSCPropNetProxiesHTTPSPort returns the value of the constant kSCPropNetProxiesHTTPSPort.
func KSCPropNetProxiesHTTPSProxy ¶
KSCPropNetProxiesHTTPSProxy returns the value of the constant kSCPropNetProxiesHTTPSProxy.
func KSCPropNetProxiesHTTPSUser ¶
KSCPropNetProxiesHTTPSUser returns the value of the constant kSCPropNetProxiesHTTPSUser.
func KSCPropNetProxiesHTTPUser ¶
KSCPropNetProxiesHTTPUser returns the value of the constant kSCPropNetProxiesHTTPUser.
func KSCPropNetProxiesProxyAutoConfigEnable ¶
KSCPropNetProxiesProxyAutoConfigEnable returns the value of the constant kSCPropNetProxiesProxyAutoConfigEnable.
func KSCPropNetProxiesProxyAutoConfigJavaScript ¶
KSCPropNetProxiesProxyAutoConfigJavaScript returns the value of the constant kSCPropNetProxiesProxyAutoConfigJavaScript.
func KSCPropNetProxiesProxyAutoConfigURLString ¶
KSCPropNetProxiesProxyAutoConfigURLString returns the value of the constant kSCPropNetProxiesProxyAutoConfigURLString.
func KSCPropNetProxiesProxyAutoDiscoveryEnable ¶
KSCPropNetProxiesProxyAutoDiscoveryEnable returns the value of the constant kSCPropNetProxiesProxyAutoDiscoveryEnable.
func KSCPropNetProxiesRTSPEnable ¶
KSCPropNetProxiesRTSPEnable returns the value of the constant kSCPropNetProxiesRTSPEnable.
func KSCPropNetProxiesRTSPPort ¶
KSCPropNetProxiesRTSPPort returns the value of the constant kSCPropNetProxiesRTSPPort.
func KSCPropNetProxiesRTSPProxy ¶
KSCPropNetProxiesRTSPProxy returns the value of the constant kSCPropNetProxiesRTSPProxy.
func KSCPropNetProxiesRTSPUser ¶
KSCPropNetProxiesRTSPUser returns the value of the constant kSCPropNetProxiesRTSPUser.
func KSCPropNetProxiesSOCKSEnable ¶
KSCPropNetProxiesSOCKSEnable returns the value of the constant kSCPropNetProxiesSOCKSEnable.
func KSCPropNetProxiesSOCKSPort ¶
KSCPropNetProxiesSOCKSPort returns the value of the constant kSCPropNetProxiesSOCKSPort.
func KSCPropNetProxiesSOCKSProxy ¶
KSCPropNetProxiesSOCKSProxy returns the value of the constant kSCPropNetProxiesSOCKSProxy.
func KSCPropNetProxiesSOCKSUser ¶
KSCPropNetProxiesSOCKSUser returns the value of the constant kSCPropNetProxiesSOCKSUser.
func KSCPropNetSMBNetBIOSName ¶
KSCPropNetSMBNetBIOSName returns the value of the constant kSCPropNetSMBNetBIOSName.
func KSCPropNetSMBNetBIOSNodeType ¶
KSCPropNetSMBNetBIOSNodeType returns the value of the constant kSCPropNetSMBNetBIOSNodeType.
func KSCPropNetSMBNetBIOSScope ¶
KSCPropNetSMBNetBIOSScope returns the value of the constant kSCPropNetSMBNetBIOSScope.
func KSCPropNetSMBWINSAddresses ¶
KSCPropNetSMBWINSAddresses returns the value of the constant kSCPropNetSMBWINSAddresses.
func KSCPropNetSMBWorkgroup ¶
KSCPropNetSMBWorkgroup returns the value of the constant kSCPropNetSMBWorkgroup.
func KSCPropNetServiceOrder ¶
KSCPropNetServiceOrder returns the value of the constant kSCPropNetServiceOrder.
func KSCPropSystemComputerName ¶
KSCPropSystemComputerName returns the value of the constant kSCPropSystemComputerName.
func KSCPropSystemComputerNameEncoding ¶
KSCPropSystemComputerNameEncoding returns the value of the constant kSCPropSystemComputerNameEncoding.
func KSCPropUserDefinedName ¶
KSCPropUserDefinedName returns the value of the constant kSCPropUserDefinedName.
func KSCPropUsersConsoleUserGID ¶
KSCPropUsersConsoleUserGID returns the value of the constant kSCPropUsersConsoleUserGID.
func KSCPropUsersConsoleUserName ¶
KSCPropUsersConsoleUserName returns the value of the constant kSCPropUsersConsoleUserName.
func KSCPropUsersConsoleUserUID ¶
KSCPropUsersConsoleUserUID returns the value of the constant kSCPropUsersConsoleUserUID.
func KSCPropVersion ¶
KSCPropVersion returns the value of the constant kSCPropVersion.
func KSCResvInactive ¶
KSCResvInactive returns the value of the constant kSCResvInactive.
func KSCResvLink ¶
KSCResvLink returns the value of the constant kSCResvLink.
func KSCValNetAirPortAuthPasswordEncryptionKeychain ¶
KSCValNetAirPortAuthPasswordEncryptionKeychain returns the value of the constant kSCValNetAirPortAuthPasswordEncryptionKeychain.
func KSCValNetAirPortJoinModeAutomatic ¶
KSCValNetAirPortJoinModeAutomatic returns the value of the constant kSCValNetAirPortJoinModeAutomatic.
func KSCValNetAirPortJoinModePreferred ¶
KSCValNetAirPortJoinModePreferred returns the value of the constant kSCValNetAirPortJoinModePreferred.
func KSCValNetAirPortJoinModeRanked ¶
KSCValNetAirPortJoinModeRanked returns the value of the constant kSCValNetAirPortJoinModeRanked.
func KSCValNetAirPortJoinModeRecent ¶
KSCValNetAirPortJoinModeRecent returns the value of the constant kSCValNetAirPortJoinModeRecent.
func KSCValNetAirPortJoinModeStrongest ¶
KSCValNetAirPortJoinModeStrongest returns the value of the constant kSCValNetAirPortJoinModeStrongest.
func KSCValNetIPSecAuthenticationMethodCertificate ¶
KSCValNetIPSecAuthenticationMethodCertificate returns the value of the constant kSCValNetIPSecAuthenticationMethodCertificate.
func KSCValNetIPSecAuthenticationMethodHybrid ¶
KSCValNetIPSecAuthenticationMethodHybrid returns the value of the constant kSCValNetIPSecAuthenticationMethodHybrid.
func KSCValNetIPSecAuthenticationMethodSharedSecret ¶
KSCValNetIPSecAuthenticationMethodSharedSecret returns the value of the constant kSCValNetIPSecAuthenticationMethodSharedSecret.
func KSCValNetIPSecLocalIdentifierTypeKeyID ¶
KSCValNetIPSecLocalIdentifierTypeKeyID returns the value of the constant kSCValNetIPSecLocalIdentifierTypeKeyID.
func KSCValNetIPSecSharedSecretEncryptionKeychain ¶
KSCValNetIPSecSharedSecretEncryptionKeychain returns the value of the constant kSCValNetIPSecSharedSecretEncryptionKeychain.
func KSCValNetIPSecXAuthPasswordEncryptionKeychain ¶
KSCValNetIPSecXAuthPasswordEncryptionKeychain returns the value of the constant kSCValNetIPSecXAuthPasswordEncryptionKeychain.
func KSCValNetIPSecXAuthPasswordEncryptionPrompt ¶
KSCValNetIPSecXAuthPasswordEncryptionPrompt returns the value of the constant kSCValNetIPSecXAuthPasswordEncryptionPrompt.
func KSCValNetIPv4ConfigMethodAutomatic ¶
KSCValNetIPv4ConfigMethodAutomatic returns the value of the constant kSCValNetIPv4ConfigMethodAutomatic.
func KSCValNetIPv4ConfigMethodBOOTP ¶
KSCValNetIPv4ConfigMethodBOOTP returns the value of the constant kSCValNetIPv4ConfigMethodBOOTP.
func KSCValNetIPv4ConfigMethodDHCP ¶
KSCValNetIPv4ConfigMethodDHCP returns the value of the constant kSCValNetIPv4ConfigMethodDHCP.
func KSCValNetIPv4ConfigMethodINFORM ¶
KSCValNetIPv4ConfigMethodINFORM returns the value of the constant kSCValNetIPv4ConfigMethodINFORM.
func KSCValNetIPv4ConfigMethodLinkLocal ¶
KSCValNetIPv4ConfigMethodLinkLocal returns the value of the constant kSCValNetIPv4ConfigMethodLinkLocal.
func KSCValNetIPv4ConfigMethodManual ¶
KSCValNetIPv4ConfigMethodManual returns the value of the constant kSCValNetIPv4ConfigMethodManual.
func KSCValNetIPv4ConfigMethodPPP ¶
KSCValNetIPv4ConfigMethodPPP returns the value of the constant kSCValNetIPv4ConfigMethodPPP.
func KSCValNetIPv6ConfigMethod6to4 ¶
KSCValNetIPv6ConfigMethod6to4 returns the value of the constant kSCValNetIPv6ConfigMethod6to4.
func KSCValNetIPv6ConfigMethodAutomatic ¶
KSCValNetIPv6ConfigMethodAutomatic returns the value of the constant kSCValNetIPv6ConfigMethodAutomatic.
func KSCValNetIPv6ConfigMethodLinkLocal ¶
KSCValNetIPv6ConfigMethodLinkLocal returns the value of the constant kSCValNetIPv6ConfigMethodLinkLocal.
func KSCValNetIPv6ConfigMethodManual ¶
KSCValNetIPv6ConfigMethodManual returns the value of the constant kSCValNetIPv6ConfigMethodManual.
func KSCValNetIPv6ConfigMethodRouterAdvertisement ¶
KSCValNetIPv6ConfigMethodRouterAdvertisement returns the value of the constant kSCValNetIPv6ConfigMethodRouterAdvertisement.
func KSCValNetInterfaceSubTypeL2TP ¶
KSCValNetInterfaceSubTypeL2TP returns the value of the constant kSCValNetInterfaceSubTypeL2TP.
func KSCValNetInterfaceSubTypePPPSerial ¶
KSCValNetInterfaceSubTypePPPSerial returns the value of the constant kSCValNetInterfaceSubTypePPPSerial.
func KSCValNetInterfaceSubTypePPPoE ¶
KSCValNetInterfaceSubTypePPPoE returns the value of the constant kSCValNetInterfaceSubTypePPPoE.
func KSCValNetInterfaceSubTypePPTP ¶
KSCValNetInterfaceSubTypePPTP returns the value of the constant kSCValNetInterfaceSubTypePPTP.
func KSCValNetInterfaceType6to4 ¶
KSCValNetInterfaceType6to4 returns the value of the constant kSCValNetInterfaceType6to4.
func KSCValNetInterfaceTypeEthernet ¶
KSCValNetInterfaceTypeEthernet returns the value of the constant kSCValNetInterfaceTypeEthernet.
func KSCValNetInterfaceTypeFireWire ¶
KSCValNetInterfaceTypeFireWire returns the value of the constant kSCValNetInterfaceTypeFireWire.
func KSCValNetInterfaceTypeIPSec ¶
KSCValNetInterfaceTypeIPSec returns the value of the constant kSCValNetInterfaceTypeIPSec.
func KSCValNetInterfaceTypePPP ¶
KSCValNetInterfaceTypePPP returns the value of the constant kSCValNetInterfaceTypePPP.
func KSCValNetL2TPIPSecSharedSecretEncryptionKeychain ¶
KSCValNetL2TPIPSecSharedSecretEncryptionKeychain returns the value of the constant kSCValNetL2TPIPSecSharedSecretEncryptionKeychain.
func KSCValNetL2TPTransportIP ¶
KSCValNetL2TPTransportIP returns the value of the constant kSCValNetL2TPTransportIP.
func KSCValNetL2TPTransportIPSec ¶
KSCValNetL2TPTransportIPSec returns the value of the constant kSCValNetL2TPTransportIPSec.
func KSCValNetModemDialModeIgnoreDialTone ¶
KSCValNetModemDialModeIgnoreDialTone returns the value of the constant kSCValNetModemDialModeIgnoreDialTone.
func KSCValNetModemDialModeManual ¶
KSCValNetModemDialModeManual returns the value of the constant kSCValNetModemDialModeManual.
func KSCValNetModemDialModeWaitForDialTone ¶
KSCValNetModemDialModeWaitForDialTone returns the value of the constant kSCValNetModemDialModeWaitForDialTone.
func KSCValNetPPPAuthPasswordEncryptionKeychain ¶
KSCValNetPPPAuthPasswordEncryptionKeychain returns the value of the constant kSCValNetPPPAuthPasswordEncryptionKeychain.
func KSCValNetPPPAuthPasswordEncryptionToken ¶
KSCValNetPPPAuthPasswordEncryptionToken returns the value of the constant kSCValNetPPPAuthPasswordEncryptionToken.
func KSCValNetPPPAuthPromptAfter ¶
KSCValNetPPPAuthPromptAfter returns the value of the constant kSCValNetPPPAuthPromptAfter.
func KSCValNetPPPAuthPromptBefore ¶
KSCValNetPPPAuthPromptBefore returns the value of the constant kSCValNetPPPAuthPromptBefore.
func KSCValNetPPPAuthProtocolCHAP ¶
KSCValNetPPPAuthProtocolCHAP returns the value of the constant kSCValNetPPPAuthProtocolCHAP.
func KSCValNetPPPAuthProtocolEAP ¶
KSCValNetPPPAuthProtocolEAP returns the value of the constant kSCValNetPPPAuthProtocolEAP.
func KSCValNetPPPAuthProtocolMSCHAP1 ¶
KSCValNetPPPAuthProtocolMSCHAP1 returns the value of the constant kSCValNetPPPAuthProtocolMSCHAP1.
func KSCValNetPPPAuthProtocolMSCHAP2 ¶
KSCValNetPPPAuthProtocolMSCHAP2 returns the value of the constant kSCValNetPPPAuthProtocolMSCHAP2.
func KSCValNetPPPAuthProtocolPAP ¶
KSCValNetPPPAuthProtocolPAP returns the value of the constant kSCValNetPPPAuthProtocolPAP.
func KSCValNetSMBNetBIOSNodeTypeBroadcast ¶
KSCValNetSMBNetBIOSNodeTypeBroadcast returns the value of the constant kSCValNetSMBNetBIOSNodeTypeBroadcast.
func KSCValNetSMBNetBIOSNodeTypeHybrid ¶
KSCValNetSMBNetBIOSNodeTypeHybrid returns the value of the constant kSCValNetSMBNetBIOSNodeTypeHybrid.
func KSCValNetSMBNetBIOSNodeTypeMixed ¶
KSCValNetSMBNetBIOSNodeTypeMixed returns the value of the constant kSCValNetSMBNetBIOSNodeTypeMixed.
func KSCValNetSMBNetBIOSNodeTypePeer ¶
KSCValNetSMBNetBIOSNodeTypePeer returns the value of the constant kSCValNetSMBNetBIOSNodeTypePeer.
func SCBondInterfaceCopyAll ¶
func SCBondInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCBondInterfaceCopyAll calls the SystemConfiguration framework function SCBondInterfaceCopyAll.
func SCBondInterfaceCopyAvailableMemberInterfaces ¶
func SCBondInterfaceCopyAvailableMemberInterfaces(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCBondInterfaceCopyAvailableMemberInterfaces calls the SystemConfiguration framework function SCBondInterfaceCopyAvailableMemberInterfaces.
func SCBondInterfaceCreate ¶
func SCBondInterfaceCreate(prefs SCPreferencesRef) unsafe.Pointer
SCBondInterfaceCreate calls the SystemConfiguration framework function SCBondInterfaceCreate.
func SCBondInterfaceGetMemberInterfaces ¶
func SCBondInterfaceGetMemberInterfaces(bond unsafe.Pointer) corefoundation.CFArrayRef
SCBondInterfaceGetMemberInterfaces calls the SystemConfiguration framework function SCBondInterfaceGetMemberInterfaces.
func SCBondInterfaceGetOptions ¶
func SCBondInterfaceGetOptions(bond unsafe.Pointer) corefoundation.CFDictionaryRef
SCBondInterfaceGetOptions calls the SystemConfiguration framework function SCBondInterfaceGetOptions.
func SCBondInterfaceRemove ¶
SCBondInterfaceRemove calls the SystemConfiguration framework function SCBondInterfaceRemove.
func SCBondInterfaceSetLocalizedDisplayName ¶
func SCBondInterfaceSetLocalizedDisplayName(bond unsafe.Pointer, newName corefoundation.CFStringRef) uint8
SCBondInterfaceSetLocalizedDisplayName calls the SystemConfiguration framework function SCBondInterfaceSetLocalizedDisplayName.
func SCBondInterfaceSetMemberInterfaces ¶
func SCBondInterfaceSetMemberInterfaces(bond unsafe.Pointer, members corefoundation.CFArrayRef) uint8
SCBondInterfaceSetMemberInterfaces calls the SystemConfiguration framework function SCBondInterfaceSetMemberInterfaces.
func SCBondInterfaceSetOptions ¶
func SCBondInterfaceSetOptions(bond unsafe.Pointer, newOptions corefoundation.CFDictionaryRef) uint8
SCBondInterfaceSetOptions calls the SystemConfiguration framework function SCBondInterfaceSetOptions.
func SCBondStatusGetInterfaceStatus ¶
func SCBondStatusGetInterfaceStatus(bondStatus SCBondStatusRef, interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
SCBondStatusGetInterfaceStatus calls the SystemConfiguration framework function SCBondStatusGetInterfaceStatus.
func SCBondStatusGetMemberInterfaces ¶
func SCBondStatusGetMemberInterfaces(bondStatus SCBondStatusRef) corefoundation.CFArrayRef
SCBondStatusGetMemberInterfaces calls the SystemConfiguration framework function SCBondStatusGetMemberInterfaces.
func SCBondStatusGetTypeID ¶
func SCBondStatusGetTypeID() int
SCBondStatusGetTypeID calls the SystemConfiguration framework function SCBondStatusGetTypeID.
func SCCopyLastError ¶
func SCCopyLastError() corefoundation.CFErrorRef
SCCopyLastError calls the SystemConfiguration framework function SCCopyLastError.
func SCDynamicStoreAddTemporaryValue ¶
func SCDynamicStoreAddTemporaryValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) uint8
SCDynamicStoreAddTemporaryValue calls the SystemConfiguration framework function SCDynamicStoreAddTemporaryValue.
func SCDynamicStoreAddValue ¶
func SCDynamicStoreAddValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) uint8
SCDynamicStoreAddValue calls the SystemConfiguration framework function SCDynamicStoreAddValue.
func SCDynamicStoreCopyComputerName ¶
func SCDynamicStoreCopyComputerName(store SCDynamicStoreRef) (result corefoundation.CFStringRef, nameEncoding int)
SCDynamicStoreCopyComputerName calls the SystemConfiguration framework function SCDynamicStoreCopyComputerName.
func SCDynamicStoreCopyConsoleUser ¶
func SCDynamicStoreCopyConsoleUser(store SCDynamicStoreRef) (result corefoundation.CFStringRef, uid int, gid int)
SCDynamicStoreCopyConsoleUser calls the SystemConfiguration framework function SCDynamicStoreCopyConsoleUser.
func SCDynamicStoreCopyKeyList ¶
func SCDynamicStoreCopyKeyList(store SCDynamicStoreRef, pattern corefoundation.CFStringRef) corefoundation.CFArrayRef
SCDynamicStoreCopyKeyList calls the SystemConfiguration framework function SCDynamicStoreCopyKeyList.
func SCDynamicStoreCopyLocalHostName ¶
func SCDynamicStoreCopyLocalHostName(store SCDynamicStoreRef) corefoundation.CFStringRef
SCDynamicStoreCopyLocalHostName calls the SystemConfiguration framework function SCDynamicStoreCopyLocalHostName.
func SCDynamicStoreCopyLocation ¶
func SCDynamicStoreCopyLocation(store SCDynamicStoreRef) corefoundation.CFStringRef
SCDynamicStoreCopyLocation calls the SystemConfiguration framework function SCDynamicStoreCopyLocation.
func SCDynamicStoreCopyMultiple ¶
func SCDynamicStoreCopyMultiple(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, patterns corefoundation.CFArrayRef) corefoundation.CFDictionaryRef
SCDynamicStoreCopyMultiple calls the SystemConfiguration framework function SCDynamicStoreCopyMultiple.
func SCDynamicStoreCopyNotifiedKeys ¶
func SCDynamicStoreCopyNotifiedKeys(store SCDynamicStoreRef) corefoundation.CFArrayRef
SCDynamicStoreCopyNotifiedKeys calls the SystemConfiguration framework function SCDynamicStoreCopyNotifiedKeys.
func SCDynamicStoreCopyProxies ¶
func SCDynamicStoreCopyProxies(store SCDynamicStoreRef) corefoundation.CFDictionaryRef
SCDynamicStoreCopyProxies calls the SystemConfiguration framework function SCDynamicStoreCopyProxies.
func SCDynamicStoreCopyValue ¶
func SCDynamicStoreCopyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
SCDynamicStoreCopyValue calls the SystemConfiguration framework function SCDynamicStoreCopyValue.
func SCDynamicStoreCreateRunLoopSource ¶
func SCDynamicStoreCreateRunLoopSource(allocator corefoundation.CFAllocatorRef, store SCDynamicStoreRef, order int) corefoundation.CFRunLoopSourceRef
SCDynamicStoreCreateRunLoopSource calls the SystemConfiguration framework function SCDynamicStoreCreateRunLoopSource.
func SCDynamicStoreGetTypeID ¶
func SCDynamicStoreGetTypeID() int
SCDynamicStoreGetTypeID calls the SystemConfiguration framework function SCDynamicStoreGetTypeID.
func SCDynamicStoreKeyCreateComputerName ¶
func SCDynamicStoreKeyCreateComputerName(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateComputerName calls the SystemConfiguration framework function SCDynamicStoreKeyCreateComputerName.
func SCDynamicStoreKeyCreateConsoleUser ¶
func SCDynamicStoreKeyCreateConsoleUser(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateConsoleUser calls the SystemConfiguration framework function SCDynamicStoreKeyCreateConsoleUser.
func SCDynamicStoreKeyCreateHostNames ¶
func SCDynamicStoreKeyCreateHostNames(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateHostNames calls the SystemConfiguration framework function SCDynamicStoreKeyCreateHostNames.
func SCDynamicStoreKeyCreateLocation ¶
func SCDynamicStoreKeyCreateLocation(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateLocation calls the SystemConfiguration framework function SCDynamicStoreKeyCreateLocation.
func SCDynamicStoreKeyCreateNetworkGlobalEntity ¶
func SCDynamicStoreKeyCreateNetworkGlobalEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkGlobalEntity calls the SystemConfiguration framework function SCDynamicStoreKeyCreateNetworkGlobalEntity.
func SCDynamicStoreKeyCreateNetworkInterface ¶
func SCDynamicStoreKeyCreateNetworkInterface(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkInterface calls the SystemConfiguration framework function SCDynamicStoreKeyCreateNetworkInterface.
func SCDynamicStoreKeyCreateNetworkInterfaceEntity ¶
func SCDynamicStoreKeyCreateNetworkInterfaceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, ifname corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkInterfaceEntity calls the SystemConfiguration framework function SCDynamicStoreKeyCreateNetworkInterfaceEntity.
func SCDynamicStoreKeyCreateNetworkServiceEntity ¶
func SCDynamicStoreKeyCreateNetworkServiceEntity(allocator corefoundation.CFAllocatorRef, domain corefoundation.CFStringRef, serviceID corefoundation.CFStringRef, entity corefoundation.CFStringRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateNetworkServiceEntity calls the SystemConfiguration framework function SCDynamicStoreKeyCreateNetworkServiceEntity.
func SCDynamicStoreKeyCreateProxies ¶
func SCDynamicStoreKeyCreateProxies(allocator corefoundation.CFAllocatorRef) corefoundation.CFStringRef
SCDynamicStoreKeyCreateProxies calls the SystemConfiguration framework function SCDynamicStoreKeyCreateProxies.
func SCDynamicStoreNotifyValue ¶
func SCDynamicStoreNotifyValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) uint8
SCDynamicStoreNotifyValue calls the SystemConfiguration framework function SCDynamicStoreNotifyValue.
func SCDynamicStoreRemoveValue ¶
func SCDynamicStoreRemoveValue(store SCDynamicStoreRef, key corefoundation.CFStringRef) uint8
SCDynamicStoreRemoveValue calls the SystemConfiguration framework function SCDynamicStoreRemoveValue.
func SCDynamicStoreSetDispatchQueue ¶
func SCDynamicStoreSetDispatchQueue(store SCDynamicStoreRef, queue dispatch.Queue) uint8
SCDynamicStoreSetDispatchQueue calls the SystemConfiguration framework function SCDynamicStoreSetDispatchQueue.
func SCDynamicStoreSetMultiple ¶
func SCDynamicStoreSetMultiple(store SCDynamicStoreRef, keysToSet corefoundation.CFDictionaryRef, keysToRemove corefoundation.CFArrayRef, keysToNotify corefoundation.CFArrayRef) uint8
SCDynamicStoreSetMultiple calls the SystemConfiguration framework function SCDynamicStoreSetMultiple.
func SCDynamicStoreSetNotificationKeys ¶
func SCDynamicStoreSetNotificationKeys(store SCDynamicStoreRef, keys corefoundation.CFArrayRef, patterns corefoundation.CFArrayRef) uint8
SCDynamicStoreSetNotificationKeys calls the SystemConfiguration framework function SCDynamicStoreSetNotificationKeys.
func SCDynamicStoreSetValue ¶
func SCDynamicStoreSetValue(store SCDynamicStoreRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) uint8
SCDynamicStoreSetValue calls the SystemConfiguration framework function SCDynamicStoreSetValue.
func SCErrorString ¶
SCErrorString calls the SystemConfiguration framework function SCErrorString.
func SCNetworkCheckReachabilityByAddress ¶
func SCNetworkCheckReachabilityByAddress(address unsafe.Pointer, addrlen int) (result uint8, flags uint32)
SCNetworkCheckReachabilityByAddress calls the SystemConfiguration framework function SCNetworkCheckReachabilityByAddress.
func SCNetworkCheckReachabilityByName ¶
SCNetworkCheckReachabilityByName calls the SystemConfiguration framework function SCNetworkCheckReachabilityByName.
func SCNetworkConnectionCopyExtendedStatus ¶
func SCNetworkConnectionCopyExtendedStatus(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyExtendedStatus calls the SystemConfiguration framework function SCNetworkConnectionCopyExtendedStatus.
func SCNetworkConnectionCopyServiceID ¶
func SCNetworkConnectionCopyServiceID(connection SCNetworkConnectionRef) corefoundation.CFStringRef
SCNetworkConnectionCopyServiceID calls the SystemConfiguration framework function SCNetworkConnectionCopyServiceID.
func SCNetworkConnectionCopyStatistics ¶
func SCNetworkConnectionCopyStatistics(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyStatistics calls the SystemConfiguration framework function SCNetworkConnectionCopyStatistics.
func SCNetworkConnectionCopyUserOptions ¶
func SCNetworkConnectionCopyUserOptions(connection SCNetworkConnectionRef) corefoundation.CFDictionaryRef
SCNetworkConnectionCopyUserOptions calls the SystemConfiguration framework function SCNetworkConnectionCopyUserOptions.
func SCNetworkConnectionCopyUserPreferences ¶
func SCNetworkConnectionCopyUserPreferences(selectionOptions corefoundation.CFDictionaryRef, serviceID unsafe.Pointer, userOptions unsafe.Pointer) uint8
SCNetworkConnectionCopyUserPreferences calls the SystemConfiguration framework function SCNetworkConnectionCopyUserPreferences.
func SCNetworkConnectionGetTypeID ¶
func SCNetworkConnectionGetTypeID() int
SCNetworkConnectionGetTypeID calls the SystemConfiguration framework function SCNetworkConnectionGetTypeID.
func SCNetworkConnectionScheduleWithRunLoop ¶
func SCNetworkConnectionScheduleWithRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCNetworkConnectionScheduleWithRunLoop calls the SystemConfiguration framework function SCNetworkConnectionScheduleWithRunLoop.
func SCNetworkConnectionSetDispatchQueue ¶
func SCNetworkConnectionSetDispatchQueue(connection SCNetworkConnectionRef, queue dispatch.Queue) uint8
SCNetworkConnectionSetDispatchQueue calls the SystemConfiguration framework function SCNetworkConnectionSetDispatchQueue.
func SCNetworkConnectionStart ¶
func SCNetworkConnectionStart(connection SCNetworkConnectionRef, userOptions corefoundation.CFDictionaryRef, linger uint8) uint8
SCNetworkConnectionStart calls the SystemConfiguration framework function SCNetworkConnectionStart.
func SCNetworkConnectionStop ¶
func SCNetworkConnectionStop(connection SCNetworkConnectionRef, forceDisconnect uint8) uint8
SCNetworkConnectionStop calls the SystemConfiguration framework function SCNetworkConnectionStop.
func SCNetworkConnectionUnscheduleFromRunLoop ¶
func SCNetworkConnectionUnscheduleFromRunLoop(connection SCNetworkConnectionRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCNetworkConnectionUnscheduleFromRunLoop calls the SystemConfiguration framework function SCNetworkConnectionUnscheduleFromRunLoop.
func SCNetworkInterfaceCopyAll ¶
func SCNetworkInterfaceCopyAll() corefoundation.CFArrayRef
SCNetworkInterfaceCopyAll calls the SystemConfiguration framework function SCNetworkInterfaceCopyAll.
func SCNetworkInterfaceCopyMTU ¶
func SCNetworkInterfaceCopyMTU(interface_ SCNetworkInterfaceRef) (result uint8, mtuCur int32, mtuMin int32, mtuMax int32)
SCNetworkInterfaceCopyMTU calls the SystemConfiguration framework function SCNetworkInterfaceCopyMTU.
func SCNetworkInterfaceCopyMediaOptions ¶
func SCNetworkInterfaceCopyMediaOptions(interface_ SCNetworkInterfaceRef, current unsafe.Pointer, active unsafe.Pointer, available unsafe.Pointer, filter uint8) uint8
SCNetworkInterfaceCopyMediaOptions calls the SystemConfiguration framework function SCNetworkInterfaceCopyMediaOptions.
func SCNetworkInterfaceCopyMediaSubTypeOptions ¶
func SCNetworkInterfaceCopyMediaSubTypeOptions(available corefoundation.CFArrayRef, subType corefoundation.CFStringRef) corefoundation.CFArrayRef
SCNetworkInterfaceCopyMediaSubTypeOptions calls the SystemConfiguration framework function SCNetworkInterfaceCopyMediaSubTypeOptions.
func SCNetworkInterfaceCopyMediaSubTypes ¶
func SCNetworkInterfaceCopyMediaSubTypes(available corefoundation.CFArrayRef) corefoundation.CFArrayRef
SCNetworkInterfaceCopyMediaSubTypes calls the SystemConfiguration framework function SCNetworkInterfaceCopyMediaSubTypes.
func SCNetworkInterfaceForceConfigurationRefresh ¶
func SCNetworkInterfaceForceConfigurationRefresh(interface_ SCNetworkInterfaceRef) uint8
SCNetworkInterfaceForceConfigurationRefresh calls the SystemConfiguration framework function SCNetworkInterfaceForceConfigurationRefresh.
func SCNetworkInterfaceGetBSDName ¶
func SCNetworkInterfaceGetBSDName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetBSDName calls the SystemConfiguration framework function SCNetworkInterfaceGetBSDName.
func SCNetworkInterfaceGetConfiguration ¶
func SCNetworkInterfaceGetConfiguration(interface_ SCNetworkInterfaceRef) corefoundation.CFDictionaryRef
SCNetworkInterfaceGetConfiguration calls the SystemConfiguration framework function SCNetworkInterfaceGetConfiguration.
func SCNetworkInterfaceGetExtendedConfiguration ¶
func SCNetworkInterfaceGetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef) corefoundation.CFDictionaryRef
SCNetworkInterfaceGetExtendedConfiguration calls the SystemConfiguration framework function SCNetworkInterfaceGetExtendedConfiguration.
func SCNetworkInterfaceGetHardwareAddressString ¶
func SCNetworkInterfaceGetHardwareAddressString(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetHardwareAddressString calls the SystemConfiguration framework function SCNetworkInterfaceGetHardwareAddressString.
func SCNetworkInterfaceGetInterfaceType ¶
func SCNetworkInterfaceGetInterfaceType(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetInterfaceType calls the SystemConfiguration framework function SCNetworkInterfaceGetInterfaceType.
func SCNetworkInterfaceGetLocalizedDisplayName ¶
func SCNetworkInterfaceGetLocalizedDisplayName(interface_ SCNetworkInterfaceRef) corefoundation.CFStringRef
SCNetworkInterfaceGetLocalizedDisplayName calls the SystemConfiguration framework function SCNetworkInterfaceGetLocalizedDisplayName.
func SCNetworkInterfaceGetSupportedInterfaceTypes ¶
func SCNetworkInterfaceGetSupportedInterfaceTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
SCNetworkInterfaceGetSupportedInterfaceTypes calls the SystemConfiguration framework function SCNetworkInterfaceGetSupportedInterfaceTypes.
func SCNetworkInterfaceGetSupportedProtocolTypes ¶
func SCNetworkInterfaceGetSupportedProtocolTypes(interface_ SCNetworkInterfaceRef) corefoundation.CFArrayRef
SCNetworkInterfaceGetSupportedProtocolTypes calls the SystemConfiguration framework function SCNetworkInterfaceGetSupportedProtocolTypes.
func SCNetworkInterfaceGetTypeID ¶
func SCNetworkInterfaceGetTypeID() int
SCNetworkInterfaceGetTypeID calls the SystemConfiguration framework function SCNetworkInterfaceGetTypeID.
func SCNetworkInterfaceRefreshConfiguration ¶
func SCNetworkInterfaceRefreshConfiguration(ifName corefoundation.CFStringRef) uint8
SCNetworkInterfaceRefreshConfiguration calls the SystemConfiguration framework function SCNetworkInterfaceRefreshConfiguration.
func SCNetworkInterfaceSetConfiguration ¶
func SCNetworkInterfaceSetConfiguration(interface_ SCNetworkInterfaceRef, config corefoundation.CFDictionaryRef) uint8
SCNetworkInterfaceSetConfiguration calls the SystemConfiguration framework function SCNetworkInterfaceSetConfiguration.
func SCNetworkInterfaceSetExtendedConfiguration ¶
func SCNetworkInterfaceSetExtendedConfiguration(interface_ SCNetworkInterfaceRef, extendedType corefoundation.CFStringRef, config corefoundation.CFDictionaryRef) uint8
SCNetworkInterfaceSetExtendedConfiguration calls the SystemConfiguration framework function SCNetworkInterfaceSetExtendedConfiguration.
func SCNetworkInterfaceSetMTU ¶
func SCNetworkInterfaceSetMTU(interface_ SCNetworkInterfaceRef, mtu int) uint8
SCNetworkInterfaceSetMTU calls the SystemConfiguration framework function SCNetworkInterfaceSetMTU.
func SCNetworkInterfaceSetMediaOptions ¶
func SCNetworkInterfaceSetMediaOptions(interface_ SCNetworkInterfaceRef, subtype corefoundation.CFStringRef, options corefoundation.CFArrayRef) uint8
SCNetworkInterfaceSetMediaOptions calls the SystemConfiguration framework function SCNetworkInterfaceSetMediaOptions.
func SCNetworkProtocolGetConfiguration ¶
func SCNetworkProtocolGetConfiguration(protocol SCNetworkProtocolRef) corefoundation.CFDictionaryRef
SCNetworkProtocolGetConfiguration calls the SystemConfiguration framework function SCNetworkProtocolGetConfiguration.
func SCNetworkProtocolGetEnabled ¶
func SCNetworkProtocolGetEnabled(protocol SCNetworkProtocolRef) uint8
SCNetworkProtocolGetEnabled calls the SystemConfiguration framework function SCNetworkProtocolGetEnabled.
func SCNetworkProtocolGetProtocolType ¶
func SCNetworkProtocolGetProtocolType(protocol SCNetworkProtocolRef) corefoundation.CFStringRef
SCNetworkProtocolGetProtocolType calls the SystemConfiguration framework function SCNetworkProtocolGetProtocolType.
func SCNetworkProtocolGetTypeID ¶
func SCNetworkProtocolGetTypeID() int
SCNetworkProtocolGetTypeID calls the SystemConfiguration framework function SCNetworkProtocolGetTypeID.
func SCNetworkProtocolSetConfiguration ¶
func SCNetworkProtocolSetConfiguration(protocol SCNetworkProtocolRef, config corefoundation.CFDictionaryRef) uint8
SCNetworkProtocolSetConfiguration calls the SystemConfiguration framework function SCNetworkProtocolSetConfiguration.
func SCNetworkProtocolSetEnabled ¶
func SCNetworkProtocolSetEnabled(protocol SCNetworkProtocolRef, enabled uint8) uint8
SCNetworkProtocolSetEnabled calls the SystemConfiguration framework function SCNetworkProtocolSetEnabled.
func SCNetworkReachabilityGetTypeID ¶
func SCNetworkReachabilityGetTypeID() int
SCNetworkReachabilityGetTypeID calls the SystemConfiguration framework function SCNetworkReachabilityGetTypeID.
func SCNetworkReachabilityScheduleWithRunLoop ¶
func SCNetworkReachabilityScheduleWithRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCNetworkReachabilityScheduleWithRunLoop calls the SystemConfiguration framework function SCNetworkReachabilityScheduleWithRunLoop.
func SCNetworkReachabilitySetCallback ¶
func SCNetworkReachabilitySetCallback(target SCNetworkReachabilityRef, callout unsafe.Pointer, context_ unsafe.Pointer) uint8
SCNetworkReachabilitySetCallback calls the SystemConfiguration framework function SCNetworkReachabilitySetCallback.
func SCNetworkReachabilitySetDispatchQueue ¶
func SCNetworkReachabilitySetDispatchQueue(target SCNetworkReachabilityRef, queue dispatch.Queue) uint8
SCNetworkReachabilitySetDispatchQueue calls the SystemConfiguration framework function SCNetworkReachabilitySetDispatchQueue.
func SCNetworkReachabilityUnscheduleFromRunLoop ¶
func SCNetworkReachabilityUnscheduleFromRunLoop(target SCNetworkReachabilityRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCNetworkReachabilityUnscheduleFromRunLoop calls the SystemConfiguration framework function SCNetworkReachabilityUnscheduleFromRunLoop.
func SCNetworkServiceAddProtocolType ¶
func SCNetworkServiceAddProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) uint8
SCNetworkServiceAddProtocolType calls the SystemConfiguration framework function SCNetworkServiceAddProtocolType.
func SCNetworkServiceCopyAll ¶
func SCNetworkServiceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCNetworkServiceCopyAll calls the SystemConfiguration framework function SCNetworkServiceCopyAll.
func SCNetworkServiceCopyProtocols ¶
func SCNetworkServiceCopyProtocols(service SCNetworkServiceRef) corefoundation.CFArrayRef
SCNetworkServiceCopyProtocols calls the SystemConfiguration framework function SCNetworkServiceCopyProtocols.
func SCNetworkServiceEstablishDefaultConfiguration ¶
func SCNetworkServiceEstablishDefaultConfiguration(service SCNetworkServiceRef) uint8
SCNetworkServiceEstablishDefaultConfiguration calls the SystemConfiguration framework function SCNetworkServiceEstablishDefaultConfiguration.
func SCNetworkServiceGetEnabled ¶
func SCNetworkServiceGetEnabled(service SCNetworkServiceRef) uint8
SCNetworkServiceGetEnabled calls the SystemConfiguration framework function SCNetworkServiceGetEnabled.
func SCNetworkServiceGetName ¶
func SCNetworkServiceGetName(service SCNetworkServiceRef) corefoundation.CFStringRef
SCNetworkServiceGetName calls the SystemConfiguration framework function SCNetworkServiceGetName.
func SCNetworkServiceGetServiceID ¶
func SCNetworkServiceGetServiceID(service SCNetworkServiceRef) corefoundation.CFStringRef
SCNetworkServiceGetServiceID calls the SystemConfiguration framework function SCNetworkServiceGetServiceID.
func SCNetworkServiceGetTypeID ¶
func SCNetworkServiceGetTypeID() int
SCNetworkServiceGetTypeID calls the SystemConfiguration framework function SCNetworkServiceGetTypeID.
func SCNetworkServiceRemove ¶
func SCNetworkServiceRemove(service SCNetworkServiceRef) uint8
SCNetworkServiceRemove calls the SystemConfiguration framework function SCNetworkServiceRemove.
func SCNetworkServiceRemoveProtocolType ¶
func SCNetworkServiceRemoveProtocolType(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) uint8
SCNetworkServiceRemoveProtocolType calls the SystemConfiguration framework function SCNetworkServiceRemoveProtocolType.
func SCNetworkServiceSetEnabled ¶
func SCNetworkServiceSetEnabled(service SCNetworkServiceRef, enabled uint8) uint8
SCNetworkServiceSetEnabled calls the SystemConfiguration framework function SCNetworkServiceSetEnabled.
func SCNetworkServiceSetName ¶
func SCNetworkServiceSetName(service SCNetworkServiceRef, name corefoundation.CFStringRef) uint8
SCNetworkServiceSetName calls the SystemConfiguration framework function SCNetworkServiceSetName.
func SCNetworkSetAddService ¶
func SCNetworkSetAddService(set SCNetworkSetRef, service SCNetworkServiceRef) uint8
SCNetworkSetAddService calls the SystemConfiguration framework function SCNetworkSetAddService.
func SCNetworkSetContainsInterface ¶
func SCNetworkSetContainsInterface(set SCNetworkSetRef, interface_ SCNetworkInterfaceRef) uint8
SCNetworkSetContainsInterface calls the SystemConfiguration framework function SCNetworkSetContainsInterface.
func SCNetworkSetCopyAll ¶
func SCNetworkSetCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCNetworkSetCopyAll calls the SystemConfiguration framework function SCNetworkSetCopyAll.
func SCNetworkSetCopyServices ¶
func SCNetworkSetCopyServices(set SCNetworkSetRef) corefoundation.CFArrayRef
SCNetworkSetCopyServices calls the SystemConfiguration framework function SCNetworkSetCopyServices.
func SCNetworkSetGetName ¶
func SCNetworkSetGetName(set SCNetworkSetRef) corefoundation.CFStringRef
SCNetworkSetGetName calls the SystemConfiguration framework function SCNetworkSetGetName.
func SCNetworkSetGetServiceOrder ¶
func SCNetworkSetGetServiceOrder(set SCNetworkSetRef) corefoundation.CFArrayRef
SCNetworkSetGetServiceOrder calls the SystemConfiguration framework function SCNetworkSetGetServiceOrder.
func SCNetworkSetGetSetID ¶
func SCNetworkSetGetSetID(set SCNetworkSetRef) corefoundation.CFStringRef
SCNetworkSetGetSetID calls the SystemConfiguration framework function SCNetworkSetGetSetID.
func SCNetworkSetGetTypeID ¶
func SCNetworkSetGetTypeID() int
SCNetworkSetGetTypeID calls the SystemConfiguration framework function SCNetworkSetGetTypeID.
func SCNetworkSetRemove ¶
func SCNetworkSetRemove(set SCNetworkSetRef) uint8
SCNetworkSetRemove calls the SystemConfiguration framework function SCNetworkSetRemove.
func SCNetworkSetRemoveService ¶
func SCNetworkSetRemoveService(set SCNetworkSetRef, service SCNetworkServiceRef) uint8
SCNetworkSetRemoveService calls the SystemConfiguration framework function SCNetworkSetRemoveService.
func SCNetworkSetSetCurrent ¶
func SCNetworkSetSetCurrent(set SCNetworkSetRef) uint8
SCNetworkSetSetCurrent calls the SystemConfiguration framework function SCNetworkSetSetCurrent.
func SCNetworkSetSetName ¶
func SCNetworkSetSetName(set SCNetworkSetRef, name corefoundation.CFStringRef) uint8
SCNetworkSetSetName calls the SystemConfiguration framework function SCNetworkSetSetName.
func SCNetworkSetSetServiceOrder ¶
func SCNetworkSetSetServiceOrder(set SCNetworkSetRef, newOrder corefoundation.CFArrayRef) uint8
SCNetworkSetSetServiceOrder calls the SystemConfiguration framework function SCNetworkSetSetServiceOrder.
func SCPreferencesAddValue ¶
func SCPreferencesAddValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) uint8
SCPreferencesAddValue calls the SystemConfiguration framework function SCPreferencesAddValue.
func SCPreferencesApplyChanges ¶
func SCPreferencesApplyChanges(prefs SCPreferencesRef) uint8
SCPreferencesApplyChanges calls the SystemConfiguration framework function SCPreferencesApplyChanges.
func SCPreferencesCommitChanges ¶
func SCPreferencesCommitChanges(prefs SCPreferencesRef) uint8
SCPreferencesCommitChanges calls the SystemConfiguration framework function SCPreferencesCommitChanges.
func SCPreferencesCopyKeyList ¶
func SCPreferencesCopyKeyList(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCPreferencesCopyKeyList calls the SystemConfiguration framework function SCPreferencesCopyKeyList.
func SCPreferencesGetSignature ¶
func SCPreferencesGetSignature(prefs SCPreferencesRef) corefoundation.CFDataRef
SCPreferencesGetSignature calls the SystemConfiguration framework function SCPreferencesGetSignature.
func SCPreferencesGetTypeID ¶
func SCPreferencesGetTypeID() int
SCPreferencesGetTypeID calls the SystemConfiguration framework function SCPreferencesGetTypeID.
func SCPreferencesGetValue ¶
func SCPreferencesGetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) corefoundation.CFPropertyListRef
SCPreferencesGetValue calls the SystemConfiguration framework function SCPreferencesGetValue.
func SCPreferencesLock ¶
func SCPreferencesLock(prefs SCPreferencesRef, wait uint8) uint8
SCPreferencesLock calls the SystemConfiguration framework function SCPreferencesLock.
func SCPreferencesPathCreateUniqueChild ¶
func SCPreferencesPathCreateUniqueChild(prefs SCPreferencesRef, prefix corefoundation.CFStringRef) corefoundation.CFStringRef
SCPreferencesPathCreateUniqueChild calls the SystemConfiguration framework function SCPreferencesPathCreateUniqueChild.
func SCPreferencesPathGetLink ¶
func SCPreferencesPathGetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFStringRef
SCPreferencesPathGetLink calls the SystemConfiguration framework function SCPreferencesPathGetLink.
func SCPreferencesPathGetValue ¶
func SCPreferencesPathGetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) corefoundation.CFDictionaryRef
SCPreferencesPathGetValue calls the SystemConfiguration framework function SCPreferencesPathGetValue.
func SCPreferencesPathRemoveValue ¶
func SCPreferencesPathRemoveValue(prefs SCPreferencesRef, path corefoundation.CFStringRef) uint8
SCPreferencesPathRemoveValue calls the SystemConfiguration framework function SCPreferencesPathRemoveValue.
func SCPreferencesPathSetLink ¶
func SCPreferencesPathSetLink(prefs SCPreferencesRef, path corefoundation.CFStringRef, link corefoundation.CFStringRef) uint8
SCPreferencesPathSetLink calls the SystemConfiguration framework function SCPreferencesPathSetLink.
func SCPreferencesPathSetValue ¶
func SCPreferencesPathSetValue(prefs SCPreferencesRef, path corefoundation.CFStringRef, value corefoundation.CFDictionaryRef) uint8
SCPreferencesPathSetValue calls the SystemConfiguration framework function SCPreferencesPathSetValue.
func SCPreferencesRemoveValue ¶
func SCPreferencesRemoveValue(prefs SCPreferencesRef, key corefoundation.CFStringRef) uint8
SCPreferencesRemoveValue calls the SystemConfiguration framework function SCPreferencesRemoveValue.
func SCPreferencesScheduleWithRunLoop ¶
func SCPreferencesScheduleWithRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCPreferencesScheduleWithRunLoop calls the SystemConfiguration framework function SCPreferencesScheduleWithRunLoop.
func SCPreferencesSetCallback ¶
func SCPreferencesSetCallback(prefs SCPreferencesRef, callout unsafe.Pointer, context_ unsafe.Pointer) uint8
SCPreferencesSetCallback calls the SystemConfiguration framework function SCPreferencesSetCallback.
func SCPreferencesSetComputerName ¶
func SCPreferencesSetComputerName(prefs SCPreferencesRef, name corefoundation.CFStringRef, nameEncoding int) uint8
SCPreferencesSetComputerName calls the SystemConfiguration framework function SCPreferencesSetComputerName.
func SCPreferencesSetDispatchQueue ¶
func SCPreferencesSetDispatchQueue(prefs SCPreferencesRef, queue dispatch.Queue) uint8
SCPreferencesSetDispatchQueue calls the SystemConfiguration framework function SCPreferencesSetDispatchQueue.
func SCPreferencesSetLocalHostName ¶
func SCPreferencesSetLocalHostName(prefs SCPreferencesRef, name corefoundation.CFStringRef) uint8
SCPreferencesSetLocalHostName calls the SystemConfiguration framework function SCPreferencesSetLocalHostName.
func SCPreferencesSetValue ¶
func SCPreferencesSetValue(prefs SCPreferencesRef, key corefoundation.CFStringRef, value corefoundation.CFPropertyListRef) uint8
SCPreferencesSetValue calls the SystemConfiguration framework function SCPreferencesSetValue.
func SCPreferencesSynchronize ¶
func SCPreferencesSynchronize(prefs SCPreferencesRef)
SCPreferencesSynchronize calls the SystemConfiguration framework function SCPreferencesSynchronize.
func SCPreferencesUnlock ¶
func SCPreferencesUnlock(prefs SCPreferencesRef) uint8
SCPreferencesUnlock calls the SystemConfiguration framework function SCPreferencesUnlock.
func SCPreferencesUnscheduleFromRunLoop ¶
func SCPreferencesUnscheduleFromRunLoop(prefs SCPreferencesRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef) uint8
SCPreferencesUnscheduleFromRunLoop calls the SystemConfiguration framework function SCPreferencesUnscheduleFromRunLoop.
func SCVLANInterfaceCopyAll ¶
func SCVLANInterfaceCopyAll(prefs SCPreferencesRef) corefoundation.CFArrayRef
SCVLANInterfaceCopyAll calls the SystemConfiguration framework function SCVLANInterfaceCopyAll.
func SCVLANInterfaceCopyAvailablePhysicalInterfaces ¶
func SCVLANInterfaceCopyAvailablePhysicalInterfaces() corefoundation.CFArrayRef
SCVLANInterfaceCopyAvailablePhysicalInterfaces calls the SystemConfiguration framework function SCVLANInterfaceCopyAvailablePhysicalInterfaces.
func SCVLANInterfaceCreate ¶
func SCVLANInterfaceCreate(prefs SCPreferencesRef, physical SCNetworkInterfaceRef, tag corefoundation.CFNumberRef) unsafe.Pointer
SCVLANInterfaceCreate calls the SystemConfiguration framework function SCVLANInterfaceCreate.
func SCVLANInterfaceGetOptions ¶
func SCVLANInterfaceGetOptions(vlan unsafe.Pointer) corefoundation.CFDictionaryRef
SCVLANInterfaceGetOptions calls the SystemConfiguration framework function SCVLANInterfaceGetOptions.
func SCVLANInterfaceGetTag ¶
func SCVLANInterfaceGetTag(vlan unsafe.Pointer) corefoundation.CFNumberRef
SCVLANInterfaceGetTag calls the SystemConfiguration framework function SCVLANInterfaceGetTag.
func SCVLANInterfaceRemove ¶
SCVLANInterfaceRemove calls the SystemConfiguration framework function SCVLANInterfaceRemove.
func SCVLANInterfaceSetLocalizedDisplayName ¶
func SCVLANInterfaceSetLocalizedDisplayName(vlan unsafe.Pointer, newName corefoundation.CFStringRef) uint8
SCVLANInterfaceSetLocalizedDisplayName calls the SystemConfiguration framework function SCVLANInterfaceSetLocalizedDisplayName.
func SCVLANInterfaceSetOptions ¶
func SCVLANInterfaceSetOptions(vlan unsafe.Pointer, newOptions corefoundation.CFDictionaryRef) uint8
SCVLANInterfaceSetOptions calls the SystemConfiguration framework function SCVLANInterfaceSetOptions.
func SCVLANInterfaceSetPhysicalInterfaceAndTag ¶
func SCVLANInterfaceSetPhysicalInterfaceAndTag(vlan unsafe.Pointer, physical SCNetworkInterfaceRef, tag corefoundation.CFNumberRef) uint8
SCVLANInterfaceSetPhysicalInterfaceAndTag calls the SystemConfiguration framework function SCVLANInterfaceSetPhysicalInterfaceAndTag.
Types ¶
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type SCBondStatus ¶
type SCBondStatus struct{}
This is the type of a reference to an object that represents the status of an Ethernet Bond interface.
type SCBondStatusRef ¶ added in v0.18.0
SCBondStatusRef is a handle for the opaque SCBondStatusRef type.
func SCBondInterfaceCopyStatus ¶
func SCBondInterfaceCopyStatus(bond unsafe.Pointer) SCBondStatusRef
SCBondInterfaceCopyStatus calls the SystemConfiguration framework function SCBondInterfaceCopyStatus.
func (SCBondStatusRef) IsNil ¶ added in v0.18.0
func (h SCBondStatusRef) IsNil() bool
IsNil reports whether SCBondStatusRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCDynamicStore ¶
type SCDynamicStore struct{}
This is the handle to an open a dynamic store session with the system configuration daemon.
type SCDynamicStoreContext ¶
type SCDynamicStoreContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Structure containing user-specified data and callbacks for a dynamic store session.
type SCDynamicStoreRef ¶ added in v0.18.0
SCDynamicStoreRef is a handle for the opaque SCDynamicStoreRef type.
func SCDynamicStoreCreate ¶
func SCDynamicStoreCreate(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, callout unsafe.Pointer, context_ unsafe.Pointer) SCDynamicStoreRef
SCDynamicStoreCreate calls the SystemConfiguration framework function SCDynamicStoreCreate.
func SCDynamicStoreCreateWithOptions ¶
func SCDynamicStoreCreateWithOptions(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, storeOptions corefoundation.CFDictionaryRef, callout unsafe.Pointer, context_ unsafe.Pointer) SCDynamicStoreRef
SCDynamicStoreCreateWithOptions calls the SystemConfiguration framework function SCDynamicStoreCreateWithOptions.
func (SCDynamicStoreRef) IsNil ¶ added in v0.18.0
func (h SCDynamicStoreRef) IsNil() bool
IsNil reports whether SCDynamicStoreRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkConnection ¶
type SCNetworkConnection struct{}
This is the handle to manage a connection-oriented service.
type SCNetworkConnectionContext ¶
type SCNetworkConnectionContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure containing user-specified data and callbacks for a network connection.
type SCNetworkConnectionPPPStatus ¶
type SCNetworkConnectionPPPStatus int32
The PPP-specific status of the network connection.
const ( // PPP is disconnected. KSCNetworkConnectionPPPDisconnected SCNetworkConnectionPPPStatus = 0 // PPP is initializing. KSCNetworkConnectionPPPInitializing SCNetworkConnectionPPPStatus = 1 // PPP is connecting the lower connection layer (for example, the modem is dialing out). KSCNetworkConnectionPPPConnectingLink SCNetworkConnectionPPPStatus = 2 // PPP is waiting for networking traffic to automatically establish the connection. KSCNetworkConnectionPPPDialOnTraffic SCNetworkConnectionPPPStatus = 3 // The PPP lower layer is connected and PPP is negotiating the link layer (LCP protocol). KSCNetworkConnectionPPPNegotiatingLink SCNetworkConnectionPPPStatus = 4 // PPP is authenticating to the server (PAP, CHAP, MS-CHAP, or EAP protocols). KSCNetworkConnectionPPPAuthenticating SCNetworkConnectionPPPStatus = 5 // PPP is waiting for the server to call back. KSCNetworkConnectionPPPWaitingForCallBack SCNetworkConnectionPPPStatus = 6 // PPP is now authenticated and negotiating the networking layer (IPCP or IPv6CP protocols). KSCNetworkConnectionPPPNegotiatingNetwork SCNetworkConnectionPPPStatus = 7 // PPP is now fully connected for at least one networking layer. Additional networking protocol might still be negotiating. KSCNetworkConnectionPPPConnected SCNetworkConnectionPPPStatus = 8 // PPP networking and link protocols are terminating. KSCNetworkConnectionPPPTerminating SCNetworkConnectionPPPStatus = 9 // PPP is disconnecting the lower level (for example, the modem is hanging up). KSCNetworkConnectionPPPDisconnectingLink SCNetworkConnectionPPPStatus = 10 // PPP is disconnected and maintaining the link temporarily off. KSCNetworkConnectionPPPHoldingLinkOff SCNetworkConnectionPPPStatus = 11 // PPP is suspended as a result of the suspend command (for example, when a V.92 Modem is On Hold). KSCNetworkConnectionPPPSuspended SCNetworkConnectionPPPStatus = 12 // PPP has found a busy server and is waiting for redial. KSCNetworkConnectionPPPWaitingForRedial SCNetworkConnectionPPPStatus = 13 )
func (SCNetworkConnectionPPPStatus) String ¶
func (e SCNetworkConnectionPPPStatus) String() string
String returns the SCNetworkConnectionPPPStatus constant's name, or its numeric form when the value is not a known constant.
type SCNetworkConnectionRef ¶ added in v0.18.0
SCNetworkConnectionRef is a handle for the opaque SCNetworkConnectionRef type.
func SCNetworkConnectionCreateWithServiceID ¶
func SCNetworkConnectionCreateWithServiceID(allocator corefoundation.CFAllocatorRef, serviceID corefoundation.CFStringRef, callout unsafe.Pointer, context_ unsafe.Pointer) SCNetworkConnectionRef
SCNetworkConnectionCreateWithServiceID calls the SystemConfiguration framework function SCNetworkConnectionCreateWithServiceID.
func (SCNetworkConnectionRef) IsNil ¶ added in v0.18.0
func (h SCNetworkConnectionRef) IsNil() bool
IsNil reports whether SCNetworkConnectionRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkConnectionStatus ¶
type SCNetworkConnectionStatus int32
The current status of the network connection.
const ( // The network connection refers to an invalid service. KSCNetworkConnectionInvalid SCNetworkConnectionStatus = -1 // The network connection is disconnected. KSCNetworkConnectionDisconnected SCNetworkConnectionStatus = 0 // The network connection is connecting. KSCNetworkConnectionConnecting SCNetworkConnectionStatus = 1 // The network connection is connected. KSCNetworkConnectionConnected SCNetworkConnectionStatus = 2 // The network connection is disconnecting. KSCNetworkConnectionDisconnecting SCNetworkConnectionStatus = 3 )
func SCNetworkConnectionGetStatus ¶
func SCNetworkConnectionGetStatus(connection SCNetworkConnectionRef) SCNetworkConnectionStatus
SCNetworkConnectionGetStatus calls the SystemConfiguration framework function SCNetworkConnectionGetStatus.
func (SCNetworkConnectionStatus) String ¶
func (e SCNetworkConnectionStatus) String() string
String returns the SCNetworkConnectionStatus constant's name, or its numeric form when the value is not a known constant.
type SCNetworkInterface ¶
type SCNetworkInterface struct{}
This is the type of a reference to an object that represents a network interface.
type SCNetworkInterfaceRef ¶ added in v0.18.0
SCNetworkInterfaceRef is a handle for the opaque SCNetworkInterfaceRef type.
func SCNetworkInterfaceCreateWithInterface ¶
func SCNetworkInterfaceCreateWithInterface(interface_ SCNetworkInterfaceRef, interfaceType corefoundation.CFStringRef) SCNetworkInterfaceRef
SCNetworkInterfaceCreateWithInterface calls the SystemConfiguration framework function SCNetworkInterfaceCreateWithInterface.
func SCNetworkInterfaceGetInterface ¶
func SCNetworkInterfaceGetInterface(interface_ SCNetworkInterfaceRef) SCNetworkInterfaceRef
SCNetworkInterfaceGetInterface calls the SystemConfiguration framework function SCNetworkInterfaceGetInterface.
func SCNetworkServiceGetInterface ¶
func SCNetworkServiceGetInterface(service SCNetworkServiceRef) SCNetworkInterfaceRef
SCNetworkServiceGetInterface calls the SystemConfiguration framework function SCNetworkServiceGetInterface.
func SCVLANInterfaceGetPhysicalInterface ¶
func SCVLANInterfaceGetPhysicalInterface(vlan unsafe.Pointer) SCNetworkInterfaceRef
SCVLANInterfaceGetPhysicalInterface calls the SystemConfiguration framework function SCVLANInterfaceGetPhysicalInterface.
func (SCNetworkInterfaceRef) IsNil ¶ added in v0.18.0
func (h SCNetworkInterfaceRef) IsNil() bool
IsNil reports whether SCNetworkInterfaceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkProtocol ¶
type SCNetworkProtocol struct{}
This is the type of a reference to an object that represents a network protocol.
type SCNetworkProtocolRef ¶ added in v0.18.0
SCNetworkProtocolRef is a handle for the opaque SCNetworkProtocolRef type.
func SCNetworkServiceCopyProtocol ¶
func SCNetworkServiceCopyProtocol(service SCNetworkServiceRef, protocolType corefoundation.CFStringRef) SCNetworkProtocolRef
SCNetworkServiceCopyProtocol calls the SystemConfiguration framework function SCNetworkServiceCopyProtocol.
func (SCNetworkProtocolRef) IsNil ¶ added in v0.18.0
func (h SCNetworkProtocolRef) IsNil() bool
IsNil reports whether SCNetworkProtocolRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkReachability ¶
type SCNetworkReachability struct{}
This is the handle to a network address or name.
type SCNetworkReachabilityContext ¶
type SCNetworkReachabilityContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
Structure containing user-specified data and callbacks used with SCNetworkReachabilitySetCallback.
type SCNetworkReachabilityFlags ¶
type SCNetworkReachabilityFlags uint32
Flags that indicate the reachability of a network node name or address, including whether a connection is required, and whether some user intervention might be required when establishing a connection. Bitmask — values may be combined with |.
const ( // The specified node name or address can be reached via a transient connection, such as PPP. KSCNetworkReachabilityFlagsTransientConnection SCNetworkReachabilityFlags = 1 // The specified node name or address can be reached using the current network configuration. KSCNetworkReachabilityFlagsReachable SCNetworkReachabilityFlags = 2 // The specified node name or address can be reached using the current network configuration, but a connection must first be established. If this flag is set, the kSCNetworkReachabilityFlagsConnectionOnTraffic flag, kSCNetworkReachabilityFlagsConnectionOnDemand flag, or kSCNetworkReachabilityFlagsIsWWAN flag is also typically set to indicate the type of connection required. If the user must manually make the connection, the kSCNetworkReachabilityFlagsInterventionRequired flag is also set. KSCNetworkReachabilityFlagsConnectionRequired SCNetworkReachabilityFlags = 4 // The specified node name or address can be reached using the current network configuration, but a connection must first be established. Any traffic directed to the specified name or address will initiate the connection. KSCNetworkReachabilityFlagsConnectionOnTraffic SCNetworkReachabilityFlags = 8 // The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkReachabilityFlagsInterventionRequired SCNetworkReachabilityFlags = 16 // The specified node name or address can be reached using the current network configuration, but a connection must first be established. KSCNetworkReachabilityFlagsConnectionOnDemand SCNetworkReachabilityFlags = 32 // The specified node name or address is one that is associated with a network interface on the current system. KSCNetworkReachabilityFlagsIsLocalAddress SCNetworkReachabilityFlags = 65536 // 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 )
func SCNetworkReachabilityGetFlags ¶
func SCNetworkReachabilityGetFlags(target SCNetworkReachabilityRef) (result uint8, flags SCNetworkReachabilityFlags)
SCNetworkReachabilityGetFlags calls the SystemConfiguration framework function SCNetworkReachabilityGetFlags.
func (SCNetworkReachabilityFlags) String ¶
func (e SCNetworkReachabilityFlags) String() string
String returns the SCNetworkReachabilityFlags constant's name, or its numeric form when the value is not a known constant.
type SCNetworkReachabilityRef ¶ added in v0.18.0
SCNetworkReachabilityRef is a handle for the opaque SCNetworkReachabilityRef type.
func SCNetworkReachabilityCreateWithAddress ¶
func SCNetworkReachabilityCreateWithAddress(allocator corefoundation.CFAllocatorRef, address unsafe.Pointer) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithAddress calls the SystemConfiguration framework function SCNetworkReachabilityCreateWithAddress.
func SCNetworkReachabilityCreateWithAddressPair ¶
func SCNetworkReachabilityCreateWithAddressPair(allocator corefoundation.CFAllocatorRef, localAddress unsafe.Pointer, remoteAddress unsafe.Pointer) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithAddressPair calls the SystemConfiguration framework function SCNetworkReachabilityCreateWithAddressPair.
func SCNetworkReachabilityCreateWithName ¶
func SCNetworkReachabilityCreateWithName(allocator corefoundation.CFAllocatorRef, nodename string) SCNetworkReachabilityRef
SCNetworkReachabilityCreateWithName calls the SystemConfiguration framework function SCNetworkReachabilityCreateWithName.
func (SCNetworkReachabilityRef) IsNil ¶ added in v0.18.0
func (h SCNetworkReachabilityRef) IsNil() bool
IsNil reports whether SCNetworkReachabilityRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkService ¶
type SCNetworkService struct{}
This is the type of a reference to an object that represents a network service.
type SCNetworkServiceRef ¶ added in v0.18.0
SCNetworkServiceRef is a handle for the opaque SCNetworkServiceRef type.
func SCNetworkServiceCopy ¶
func SCNetworkServiceCopy(prefs SCPreferencesRef, serviceID corefoundation.CFStringRef) SCNetworkServiceRef
SCNetworkServiceCopy calls the SystemConfiguration framework function SCNetworkServiceCopy.
func SCNetworkServiceCreate ¶
func SCNetworkServiceCreate(prefs SCPreferencesRef, interface_ SCNetworkInterfaceRef) SCNetworkServiceRef
SCNetworkServiceCreate calls the SystemConfiguration framework function SCNetworkServiceCreate.
func (SCNetworkServiceRef) IsNil ¶ added in v0.18.0
func (h SCNetworkServiceRef) IsNil() bool
IsNil reports whether SCNetworkServiceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCNetworkSet ¶
type SCNetworkSet struct{}
This is the type of a reference to an object that represents a network set.
type SCNetworkSetRef ¶ added in v0.18.0
SCNetworkSetRef is a handle for the opaque SCNetworkSetRef type.
func SCNetworkSetCopy ¶
func SCNetworkSetCopy(prefs SCPreferencesRef, setID corefoundation.CFStringRef) SCNetworkSetRef
SCNetworkSetCopy calls the SystemConfiguration framework function SCNetworkSetCopy.
func SCNetworkSetCopyCurrent ¶
func SCNetworkSetCopyCurrent(prefs SCPreferencesRef) SCNetworkSetRef
SCNetworkSetCopyCurrent calls the SystemConfiguration framework function SCNetworkSetCopyCurrent.
func SCNetworkSetCreate ¶
func SCNetworkSetCreate(prefs SCPreferencesRef) SCNetworkSetRef
SCNetworkSetCreate calls the SystemConfiguration framework function SCNetworkSetCreate.
func (SCNetworkSetRef) IsNil ¶ added in v0.18.0
func (h SCNetworkSetRef) IsNil() bool
IsNil reports whether SCNetworkSetRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type SCPreferences ¶
type SCPreferences struct{}
This is the handle to an open preferences session for accessing system configuration preferences.
type SCPreferencesContext ¶
type SCPreferencesContext struct {
Version int
Info unsafe.Pointer
Retain unsafe.Pointer
Release unsafe.Pointer
CopyDescription unsafe.Pointer
}
A structure containing user-specified data and callbacks for accessing system configuration preferences.
type SCPreferencesNotification ¶
type SCPreferencesNotification uint32
The type of notification (used with the SCPreferencesCallBack callback). Bitmask — values may be combined with |.
const ( // Indicates when new preferences have been saved. KSCPreferencesNotificationCommit SCPreferencesNotification = 1 // Indicates when a request has been made to apply the currently saved preferences to the active system configuration. KSCPreferencesNotificationApply SCPreferencesNotification = 2 )
func (SCPreferencesNotification) String ¶
func (e SCPreferencesNotification) String() string
String returns the SCPreferencesNotification constant's name, or its numeric form when the value is not a known constant.
type SCPreferencesRef ¶ added in v0.18.0
SCPreferencesRef is a handle for the opaque SCPreferencesRef type.
func SCPreferencesCreate ¶
func SCPreferencesCreate(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, prefsID corefoundation.CFStringRef) SCPreferencesRef
SCPreferencesCreate calls the SystemConfiguration framework function SCPreferencesCreate.
func SCPreferencesCreateWithAuthorization ¶
func SCPreferencesCreateWithAuthorization(allocator corefoundation.CFAllocatorRef, name corefoundation.CFStringRef, prefsID corefoundation.CFStringRef, authorization obj.Object) SCPreferencesRef
SCPreferencesCreateWithAuthorization calls the SystemConfiguration framework function SCPreferencesCreateWithAuthorization.
func (SCPreferencesRef) IsNil ¶ added in v0.18.0
func (h SCPreferencesRef) IsNil() bool
IsNil reports whether SCPreferencesRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.