Documentation
¶
Overview ¶
Package network provides a fluent Go API over the macOS Network 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 KNWErrorDomainDNS() obj.Object
- func KNWErrorDomainPOSIX() obj.Object
- func KNWErrorDomainTLS() obj.Object
- func KNWErrorDomainWiFiAware() obj.Object
- func NwAdvertiseDescriptorCopyTxtRecordObject(advertiseDescriptor obj.Object) unsafe.Pointer
- func NwAdvertiseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer
- func NwAdvertiseDescriptorCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer
- func NwAdvertiseDescriptorGetApplicationServiceName(advertiseDescriptor obj.Object) string
- func NwAdvertiseDescriptorGetNoAutoRename(advertiseDescriptor obj.Object) bool
- func NwAdvertiseDescriptorSetNoAutoRename(advertiseDescriptor obj.Object, noAutoRename bool)
- func NwAdvertiseDescriptorSetTxtRecord(advertiseDescriptor obj.Object, txtRecord unsafe.Pointer, txtLength int)
- func NwAdvertiseDescriptorSetTxtRecordObject(advertiseDescriptor obj.Object, txtRecord obj.Object)
- func NwBrowseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer
- func NwBrowseDescriptorCreateBonjourService(type_ string, domain string) unsafe.Pointer
- func NwBrowseDescriptorGetApplicationServiceName(descriptor obj.Object) string
- func NwBrowseDescriptorGetBonjourServiceDomain(descriptor obj.Object) string
- func NwBrowseDescriptorGetBonjourServiceType(descriptor obj.Object) string
- func NwBrowseDescriptorGetIncludeTxtRecord(descriptor obj.Object) bool
- func NwBrowseDescriptorSetIncludeTxtRecord(descriptor obj.Object, includeTxtRecord bool)
- func NwBrowseResultCopyEndpoint(result obj.Object) unsafe.Pointer
- func NwBrowseResultCopyTxtRecordObject(result obj.Object) unsafe.Pointer
- func NwBrowseResultEnumerateInterfaces(result obj.Object, enumerator func(obj.Object) bool)
- func NwBrowseResultGetChanges(oldResult obj.Object, newResult obj.Object) uint64
- func NwBrowseResultGetInterfacesCount(result obj.Object) int
- func NwBrowserCancel(browser obj.Object)
- func NwBrowserCopyBrowseDescriptor(browser obj.Object) unsafe.Pointer
- func NwBrowserCopyParameters(browser obj.Object) unsafe.Pointer
- func NwBrowserCreate(descriptor obj.Object, parameters obj.Object) unsafe.Pointer
- func NwBrowserSetBrowseResultsChangedHandler(browser obj.Object, handler func(obj.Object, obj.Object, bool))
- func NwBrowserSetQueue(browser obj.Object, queue dispatch.Queue)
- func NwBrowserSetStateChangedHandler(browser obj.Object, stateChangedHandler unsafe.Pointer)
- func NwBrowserStart(browser obj.Object)
- func NwConnectionAccessEstablishmentReport(connection obj.Object, queue dispatch.Queue, accessBlock func(obj.Object))
- func NwConnectionBatch(connection obj.Object, batchBlock func())
- func NwConnectionCancel(connection obj.Object)
- func NwConnectionCancelCurrentEndpoint(connection obj.Object)
- func NwConnectionCopyCurrentPath(connection obj.Object) unsafe.Pointer
- func NwConnectionCopyDescription(connection obj.Object) string
- func NwConnectionCopyEndpoint(connection obj.Object) unsafe.Pointer
- func NwConnectionCopyParameters(connection obj.Object) unsafe.Pointer
- func NwConnectionCopyProtocolMetadata(connection obj.Object, definition obj.Object) unsafe.Pointer
- func NwConnectionCreate(endpoint obj.Object, parameters obj.Object) unsafe.Pointer
- func NwConnectionCreateNewDataTransferReport(connection obj.Object) unsafe.Pointer
- func NwConnectionForceCancel(connection obj.Object)
- func NwConnectionGetMaximumDatagramSize(connection obj.Object) uint32
- func NwConnectionGroupCancel(group obj.Object)
- func NwConnectionGroupCopyDescriptor(group obj.Object) unsafe.Pointer
- func NwConnectionGroupCopyLocalEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
- func NwConnectionGroupCopyParameters(group obj.Object) unsafe.Pointer
- func NwConnectionGroupCopyPathForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
- func NwConnectionGroupCopyProtocolMetadata(group obj.Object, definition obj.Object) *foundation.Object
- func NwConnectionGroupCopyProtocolMetadataForMessage(group obj.Object, context_ obj.Object, definition obj.Object) *foundation.Object
- func NwConnectionGroupCopyRemoteEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
- func NwConnectionGroupCreate(groupDescriptor obj.Object, parameters obj.Object) unsafe.Pointer
- func NwConnectionGroupExtractConnection(group obj.Object, endpoint obj.Object, protocolOptions obj.Object) unsafe.Pointer
- func NwConnectionGroupExtractConnectionForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
- func NwConnectionGroupReinsertExtractedConnection(group obj.Object, connection obj.Object) bool
- func NwConnectionGroupReply(group obj.Object, inboundMessage obj.Object, outboundMessage obj.Object, ...)
- func NwConnectionGroupSendMessage(group obj.Object, content dispatch.Data, endpoint obj.Object, ...)
- func NwConnectionGroupSetNewConnectionHandler(group obj.Object, newConnectionHandler func(obj.Object))
- func NwConnectionGroupSetQueue(group obj.Object, queue dispatch.Queue)
- func NwConnectionGroupSetReceiveHandler(group obj.Object, maximumMessageSize uint32, rejectOversizedMessages bool, ...)
- func NwConnectionGroupSetStateChangedHandler(group obj.Object, stateChangedHandler unsafe.Pointer)
- func NwConnectionGroupStart(group obj.Object)
- func NwConnectionReceive(connection obj.Object, minimumIncompleteLength uint32, maximumLength uint32, ...)
- func NwConnectionReceiveMessage(connection obj.Object, ...)
- func NwConnectionRestart(connection obj.Object)
- func NwConnectionSend(connection obj.Object, content dispatch.Data, context_ obj.Object, ...)
- func NwConnectionSetBetterPathAvailableHandler(connection obj.Object, handler func(bool))
- func NwConnectionSetPathChangedHandler(connection obj.Object, handler func(obj.Object))
- func NwConnectionSetQueue(connection obj.Object, queue dispatch.Queue)
- func NwConnectionSetStateChangedHandler(connection obj.Object, handler unsafe.Pointer)
- func NwConnectionSetViabilityChangedHandler(connection obj.Object, handler func(bool))
- func NwConnectionStart(connection obj.Object)
- func NwContentContextCopyAntecedent(context_ obj.Object) unsafe.Pointer
- func NwContentContextCopyProtocolMetadata(context_ obj.Object, protocol obj.Object) unsafe.Pointer
- func NwContentContextCreate(contextIdentifier string) unsafe.Pointer
- func NwContentContextForeachProtocolMetadata(context_ obj.Object, foreachBlock func(obj.Object, obj.Object))
- func NwContentContextGetExpirationMilliseconds(context_ obj.Object) uint64
- func NwContentContextGetIdentifier(context_ obj.Object) string
- func NwContentContextGetIsFinal(context_ obj.Object) bool
- func NwContentContextGetRelativePriority(context_ obj.Object) float64
- func NwContentContextSetAntecedent(context_ obj.Object, antecedentContext obj.Object)
- func NwContentContextSetExpirationMilliseconds(context_ obj.Object, expirationMilliseconds uint64)
- func NwContentContextSetIsFinal(context_ obj.Object, isFinal bool)
- func NwContentContextSetMetadataForProtocol(context_ obj.Object, protocolMetadata obj.Object)
- func NwContentContextSetRelativePriority(context_ obj.Object, relativePriority float64)
- func NwDataTransferReportCollect(report obj.Object, queue dispatch.Queue, collectBlock func(obj.Object))
- func NwDataTransferReportCopyPathInterface(report obj.Object, pathIndex uint32) unsafe.Pointer
- func NwDataTransferReportGetDurationMilliseconds(report obj.Object) uint64
- func NwDataTransferReportGetPathCount(report obj.Object) uint32
- func NwDataTransferReportGetPathRadioType(report obj.Object, pathIndex uint32) unsafe.Pointer
- func NwDataTransferReportGetReceivedApplicationByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedIpPacketCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetSentApplicationByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetSentIpPacketCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetSentTransportByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetSentTransportRetransmittedByteCount(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetState(report obj.Object) unsafe.Pointer
- func NwDataTransferReportGetTransportMinimumRttMilliseconds(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetTransportRttVariance(report obj.Object, pathIndex uint32) uint64
- func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report obj.Object, pathIndex uint32) uint64
- func NwEndpointCopyAddressString(endpoint obj.Object) string
- func NwEndpointCopyPortString(endpoint obj.Object) string
- func NwEndpointCopyTxtRecord(endpoint obj.Object) unsafe.Pointer
- func NwEndpointCreateAddress(address unsafe.Pointer) unsafe.Pointer
- func NwEndpointCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer
- func NwEndpointCreateHost(hostname string, port string) unsafe.Pointer
- func NwEndpointCreateUrl(url string) unsafe.Pointer
- func NwEndpointGetAddress(endpoint obj.Object) unsafe.Pointer
- func NwEndpointGetBonjourServiceDomain(endpoint obj.Object) string
- func NwEndpointGetBonjourServiceName(endpoint obj.Object) string
- func NwEndpointGetBonjourServiceType(endpoint obj.Object) string
- func NwEndpointGetHostname(endpoint obj.Object) string
- func NwEndpointGetPort(endpoint obj.Object) uint16
- func NwEndpointGetSignature(endpoint obj.Object) (result unsafe.Pointer, outSignatureLength int)
- func NwEndpointGetType(endpoint obj.Object) unsafe.Pointer
- func NwEndpointGetUrl(endpoint obj.Object) string
- func NwErrorCopyCfError(err obj.Object) corefoundation.CFErrorRef
- func NwErrorGetErrorCode(err obj.Object) int
- func NwErrorGetErrorDomain(err obj.Object) unsafe.Pointer
- func NwEstablishmentReportCopyProxyEndpoint(report obj.Object) unsafe.Pointer
- func NwEstablishmentReportEnumerateProtocols(report obj.Object, enumerateBlock func(obj.Object, uint64, uint64) bool)
- func NwEstablishmentReportEnumerateResolutionReports(report obj.Object, enumerateBlock func(obj.Object) bool)
- func NwEstablishmentReportEnumerateResolutions(report obj.Object, enumerateBlock unsafe.Pointer)
- func NwEstablishmentReportGetAttemptStartedAfterMilliseconds(report obj.Object) uint64
- func NwEstablishmentReportGetDurationMilliseconds(report obj.Object) uint64
- func NwEstablishmentReportGetPreviousAttemptCount(report obj.Object) uint32
- func NwEstablishmentReportGetProxyConfigured(report obj.Object) bool
- func NwEstablishmentReportGetUsedProxy(report obj.Object) bool
- func NwEthernetChannelCancel(ethernetChannel obj.Object)
- func NwEthernetChannelCreate(etherType uint16, interface_ obj.Object) unsafe.Pointer
- func NwEthernetChannelCreateWithParameters(etherType uint16, interface_ obj.Object, parameters obj.Object) unsafe.Pointer
- func NwEthernetChannelGetMaximumPayloadSize(ethernetChannel obj.Object) uint32
- func NwEthernetChannelSend(ethernetChannel obj.Object, content dispatch.Data, vlanTag uint16, ...) (remoteAddress uint8)
- func NwEthernetChannelSetQueue(ethernetChannel obj.Object, queue dispatch.Queue)
- func NwEthernetChannelSetReceiveHandler(ethernetChannel obj.Object, handler unsafe.Pointer)
- func NwEthernetChannelSetStateChangedHandler(ethernetChannel obj.Object, handler unsafe.Pointer)
- func NwEthernetChannelStart(ethernetChannel obj.Object)
- func NwFramerAsync(framer obj.Object, asyncBlock func())
- func NwFramerCopyLocalEndpoint(framer obj.Object) unsafe.Pointer
- func NwFramerCopyOptions(framer obj.Object) unsafe.Pointer
- func NwFramerCopyParameters(framer obj.Object) unsafe.Pointer
- func NwFramerCopyRemoteEndpoint(framer obj.Object) unsafe.Pointer
- func NwFramerCreateDefinition(identifier string, flags uint32, startHandler func(obj.Object) int) unsafe.Pointer
- func NwFramerCreateOptions(framerDefinition obj.Object) unsafe.Pointer
- func NwFramerDeliverInput(framer obj.Object, inputBuffer unsafe.Pointer, inputLength int, ...)
- func NwFramerDeliverInputNoCopy(framer obj.Object, inputLength int, message obj.Object, isComplete bool) bool
- func NwFramerMarkFailedWithError(framer obj.Object, errorCode int)
- func NwFramerMarkReady(framer obj.Object)
- func NwFramerMessageAccessValue(message obj.Object, key string, accessValue func(unsafe.Pointer) bool) bool
- func NwFramerMessageCopyObjectValue(message obj.Object, key string) unsafe.Pointer
- func NwFramerMessageCreate(framer obj.Object) unsafe.Pointer
- func NwFramerMessageSetObjectValue(message obj.Object, key string, value obj.Object)
- func NwFramerMessageSetValue(message obj.Object, key string, value unsafe.Pointer, ...)
- func NwFramerOptionsCopyObjectValue(options obj.Object, key string) unsafe.Pointer
- func NwFramerOptionsSetObjectValue(options obj.Object, key string, value obj.Object)
- func NwFramerParseInput(framer obj.Object, minimumIncompleteLength int, maximumLength int, ...) (ok bool, tempBuffer uint8)
- func NwFramerParseOutput(framer obj.Object, minimumIncompleteLength int, maximumLength int, ...) (ok bool, tempBuffer uint8)
- func NwFramerPassThroughInput(framer obj.Object)
- func NwFramerPassThroughOutput(framer obj.Object)
- func NwFramerPrependApplicationProtocol(framer obj.Object, protocolOptions obj.Object) bool
- func NwFramerProtocolCreateMessage(definition obj.Object) unsafe.Pointer
- func NwFramerScheduleWakeup(framer obj.Object, milliseconds uint64)
- func NwFramerSetCleanupHandler(framer obj.Object, cleanupHandler func(obj.Object))
- func NwFramerSetInputHandler(framer obj.Object, inputHandler func(obj.Object) int)
- func NwFramerSetOutputHandler(framer obj.Object, outputHandler func(obj.Object, obj.Object, int, bool))
- func NwFramerSetStopHandler(framer obj.Object, stopHandler func(obj.Object) bool)
- func NwFramerSetWakeupHandler(framer obj.Object, wakeupHandler func(obj.Object))
- func NwFramerWriteOutput(framer obj.Object, outputBuffer unsafe.Pointer, outputLength int)
- func NwFramerWriteOutputData(framer obj.Object, outputData dispatch.Data)
- func NwFramerWriteOutputNoCopy(framer obj.Object, outputLength int) bool
- func NwGroupDescriptorAddEndpoint(descriptor obj.Object, endpoint obj.Object) bool
- func NwGroupDescriptorCreateMulticast(multicastGroup obj.Object) unsafe.Pointer
- func NwGroupDescriptorCreateMultiplex(remoteEndpoint obj.Object) unsafe.Pointer
- func NwGroupDescriptorEnumerateEndpoints(descriptor obj.Object, enumerateBlock func(obj.Object) bool)
- func NwInterfaceGetIndex(interface_ obj.Object) uint32
- func NwInterfaceGetName(interface_ obj.Object) string
- func NwInterfaceGetType(interface_ obj.Object) unsafe.Pointer
- func NwIpCreateMetadata() unsafe.Pointer
- func NwIpMetadataGetEcnFlag(metadata obj.Object) unsafe.Pointer
- func NwIpMetadataGetReceiveTime(metadata obj.Object) uint64
- func NwIpMetadataGetServiceClass(metadata obj.Object) unsafe.Pointer
- func NwIpMetadataSetEcnFlag(metadata obj.Object, ecnFlag unsafe.Pointer)
- func NwIpMetadataSetServiceClass(metadata obj.Object, serviceClass unsafe.Pointer)
- func NwIpOptionsSetCalculateReceiveTime(options obj.Object, calculateReceiveTime bool)
- func NwIpOptionsSetDisableFragmentation(options obj.Object, disableFragmentation bool)
- func NwIpOptionsSetDisableMulticastLoopback(options obj.Object, disableMulticastLoopback bool)
- func NwIpOptionsSetHopLimit(options obj.Object, hopLimit uint8)
- func NwIpOptionsSetLocalAddressPreference(options obj.Object, preference unsafe.Pointer)
- func NwIpOptionsSetUseMinimumMtu(options obj.Object, useMinimumMtu bool)
- func NwIpOptionsSetVersion(options obj.Object, version unsafe.Pointer)
- func NwListenerCancel(listener obj.Object)
- func NwListenerCreate(parameters obj.Object) unsafe.Pointer
- func NwListenerCreateWithConnection(connection obj.Object, parameters obj.Object) unsafe.Pointer
- func NwListenerCreateWithLaunchdKey(parameters obj.Object, launchdKey string) unsafe.Pointer
- func NwListenerCreateWithPort(port string, parameters obj.Object) unsafe.Pointer
- func NwListenerGetNewConnectionLimit(listener obj.Object) uint32
- func NwListenerGetPort(listener obj.Object) uint16
- func NwListenerSetAdvertiseDescriptor(listener obj.Object, advertiseDescriptor obj.Object)
- func NwListenerSetAdvertisedEndpointChangedHandler(listener obj.Object, handler func(obj.Object, bool))
- func NwListenerSetNewConnectionGroupHandler(listener obj.Object, handler func(obj.Object))
- func NwListenerSetNewConnectionHandler(listener obj.Object, handler func(obj.Object))
- func NwListenerSetNewConnectionLimit(listener obj.Object, newConnectionLimit uint32)
- func NwListenerSetQueue(listener obj.Object, queue dispatch.Queue)
- func NwListenerSetStateChangedHandler(listener obj.Object, handler unsafe.Pointer)
- func NwListenerStart(listener obj.Object)
- func NwMulticastGroupDescriptorGetDisableUnicastTraffic(multicastDescriptor obj.Object) bool
- func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicastDescriptor obj.Object, disableUnicastTraffic bool)
- func NwMulticastGroupDescriptorSetSpecificSource(multicastDescriptor obj.Object, source obj.Object)
- func NwParametersClearProhibitedInterfaceTypes(parameters obj.Object)
- func NwParametersClearProhibitedInterfaces(parameters obj.Object)
- func NwParametersCopy(parameters obj.Object) unsafe.Pointer
- func NwParametersCopyDefaultProtocolStack(parameters obj.Object) unsafe.Pointer
- func NwParametersCopyLocalEndpoint(parameters obj.Object) unsafe.Pointer
- func NwParametersCopyRequiredInterface(parameters obj.Object) unsafe.Pointer
- func NwParametersCreate() unsafe.Pointer
- func NwParametersCreateApplicationService() unsafe.Pointer
- func NwParametersCreateCustomIp(customIpProtocolNumber uint8, configureIp func(obj.Object)) unsafe.Pointer
- func NwParametersCreateQuic(configureQuic func(obj.Object)) unsafe.Pointer
- func NwParametersCreateSecureTcp(configureTls func(obj.Object), configureTcp func(obj.Object)) unsafe.Pointer
- func NwParametersCreateSecureUdp(configureDtls func(obj.Object), configureUdp func(obj.Object)) unsafe.Pointer
- func NwParametersGetAllowUltraConstrained(parameters obj.Object) bool
- func NwParametersGetExpiredDnsBehavior(parameters obj.Object) unsafe.Pointer
- func NwParametersGetFastOpenEnabled(parameters obj.Object) bool
- func NwParametersGetIncludePeerToPeer(parameters obj.Object) bool
- func NwParametersGetLocalOnly(parameters obj.Object) bool
- func NwParametersGetMultipathService(parameters obj.Object) unsafe.Pointer
- func NwParametersGetPreferNoProxy(parameters obj.Object) bool
- func NwParametersGetProhibitConstrained(parameters obj.Object) bool
- func NwParametersGetProhibitExpensive(parameters obj.Object) bool
- func NwParametersGetRequiredInterfaceType(parameters obj.Object) unsafe.Pointer
- func NwParametersGetReuseLocalAddress(parameters obj.Object) bool
- func NwParametersGetServiceClass(parameters obj.Object) unsafe.Pointer
- func NwParametersIterateProhibitedInterfaceTypes(parameters obj.Object, iterateBlock unsafe.Pointer)
- func NwParametersIterateProhibitedInterfaces(parameters obj.Object, iterateBlock func(obj.Object) bool)
- func NwParametersProhibitInterface(parameters obj.Object, interface_ obj.Object)
- func NwParametersProhibitInterfaceType(parameters obj.Object, interfaceType unsafe.Pointer)
- func NwParametersRequireInterface(parameters obj.Object, interface_ obj.Object)
- func NwParametersRequiresDnssecValidation(parameters obj.Object) bool
- func NwParametersSetAllowUltraConstrained(parameters obj.Object, allowUltraConstrained bool)
- func NwParametersSetAttribution(parameters obj.Object, attribution ParametersAttribution)
- func NwParametersSetExpiredDnsBehavior(parameters obj.Object, expiredDnsBehavior unsafe.Pointer)
- func NwParametersSetFastOpenEnabled(parameters obj.Object, fastOpenEnabled bool)
- func NwParametersSetIncludePeerToPeer(parameters obj.Object, includePeerToPeer bool)
- func NwParametersSetLocalEndpoint(parameters obj.Object, localEndpoint obj.Object)
- func NwParametersSetLocalOnly(parameters obj.Object, localOnly bool)
- func NwParametersSetMultipathService(parameters obj.Object, multipathService unsafe.Pointer)
- func NwParametersSetPreferNoProxy(parameters obj.Object, preferNoProxy bool)
- func NwParametersSetPrivacyContext(parameters obj.Object, privacyContext obj.Object)
- func NwParametersSetProhibitConstrained(parameters obj.Object, prohibitConstrained bool)
- func NwParametersSetProhibitExpensive(parameters obj.Object, prohibitExpensive bool)
- func NwParametersSetRequiredInterfaceType(parameters obj.Object, interfaceType unsafe.Pointer)
- func NwParametersSetRequiresDnssecValidation(parameters obj.Object, requiresDnssecValidation bool)
- func NwParametersSetReuseLocalAddress(parameters obj.Object, reuseLocalAddress bool)
- func NwParametersSetServiceClass(parameters obj.Object, serviceClass unsafe.Pointer)
- func NwPathCopyEffectiveLocalEndpoint(path obj.Object) unsafe.Pointer
- func NwPathCopyEffectiveRemoteEndpoint(path obj.Object) unsafe.Pointer
- func NwPathEnumerateGateways(path obj.Object, enumerateBlock func(obj.Object) bool)
- func NwPathEnumerateInterfaces(path obj.Object, enumerateBlock func(obj.Object) bool)
- func NwPathGetLinkQuality(path obj.Object) unsafe.Pointer
- func NwPathGetStatus(path obj.Object) unsafe.Pointer
- func NwPathGetUnsatisfiedReason(path obj.Object) unsafe.Pointer
- func NwPathHasDns(path obj.Object) bool
- func NwPathHasIpv4(path obj.Object) bool
- func NwPathHasIpv6(path obj.Object) bool
- func NwPathIsConstrained(path obj.Object) bool
- func NwPathIsEqual(path obj.Object, otherPath obj.Object) bool
- func NwPathIsExpensive(path obj.Object) bool
- func NwPathIsUltraConstrained(path obj.Object) bool
- func NwPathMonitorCancel(monitor obj.Object)
- func NwPathMonitorCreate() unsafe.Pointer
- func NwPathMonitorCreateForEthernetChannel() unsafe.Pointer
- func NwPathMonitorCreateWithType(requiredInterfaceType unsafe.Pointer) unsafe.Pointer
- func NwPathMonitorProhibitInterfaceType(monitor obj.Object, interfaceType unsafe.Pointer)
- func NwPathMonitorSetCancelHandler(monitor obj.Object, cancelHandler func())
- func NwPathMonitorSetQueue(monitor obj.Object, queue dispatch.Queue)
- func NwPathMonitorSetUpdateHandler(monitor obj.Object, updateHandler func(obj.Object))
- func NwPathMonitorStart(monitor obj.Object)
- func NwPathUsesInterfaceType(path obj.Object, interfaceType unsafe.Pointer) bool
- func NwPrivacyContextAddProxy(privacyContext obj.Object, proxyConfig obj.Object)
- func NwPrivacyContextClearProxies(privacyContext obj.Object)
- func NwPrivacyContextCreate(description string) unsafe.Pointer
- func NwPrivacyContextDisableLogging(privacyContext obj.Object)
- func NwPrivacyContextFlushCache(privacyContext obj.Object)
- func NwPrivacyContextRequireEncryptedNameResolution(privacyContext obj.Object, requireEncryptedNameResolution bool, ...)
- func NwProtocolCopyIpDefinition() unsafe.Pointer
- func NwProtocolCopyQuicDefinition() unsafe.Pointer
- func NwProtocolCopyTcpDefinition() unsafe.Pointer
- func NwProtocolCopyTlsDefinition() unsafe.Pointer
- func NwProtocolCopyUdpDefinition() unsafe.Pointer
- func NwProtocolCopyWsDefinition() unsafe.Pointer
- func NwProtocolDefinitionIsEqual(definition1 obj.Object, definition2 obj.Object) bool
- func NwProtocolMetadataCopyDefinition(metadata obj.Object) unsafe.Pointer
- func NwProtocolMetadataIsFramerMessage(metadata obj.Object) bool
- func NwProtocolMetadataIsIp(metadata obj.Object) bool
- func NwProtocolMetadataIsQuic(metadata obj.Object) bool
- func NwProtocolMetadataIsTcp(metadata obj.Object) bool
- func NwProtocolMetadataIsTls(metadata obj.Object) bool
- func NwProtocolMetadataIsUdp(metadata obj.Object) bool
- func NwProtocolMetadataIsWs(metadata obj.Object) bool
- func NwProtocolOptionsCopyDefinition(options obj.Object) unsafe.Pointer
- func NwProtocolOptionsIsQuic(options obj.Object) bool
- func NwProtocolStackClearApplicationProtocols(stack obj.Object)
- func NwProtocolStackCopyInternetProtocol(stack obj.Object) unsafe.Pointer
- func NwProtocolStackCopyTransportProtocol(stack obj.Object) unsafe.Pointer
- func NwProtocolStackIterateApplicationProtocols(stack obj.Object, iterateBlock func(obj.Object))
- func NwProtocolStackPrependApplicationProtocol(stack obj.Object, protocol obj.Object)
- func NwProtocolStackSetTransportProtocol(stack obj.Object, protocol obj.Object)
- func NwProxyConfigAddExcludedDomain(config obj.Object, excludedDomain string)
- func NwProxyConfigAddMatchDomain(config obj.Object, matchDomain string)
- func NwProxyConfigClearExcludedDomains(config obj.Object)
- func NwProxyConfigClearMatchDomains(config obj.Object)
- func NwProxyConfigCreateHttpConnect(proxyEndpoint obj.Object, proxyTlsOptions obj.Object) unsafe.Pointer
- func NwProxyConfigCreateObliviousHttp(relay obj.Object, relayResourcePath string, gatewayKeyConfig unsafe.Pointer, ...) unsafe.Pointer
- func NwProxyConfigCreateRelay(firstHop obj.Object, secondHop obj.Object) unsafe.Pointer
- func NwProxyConfigCreateSocksv5(proxyEndpoint obj.Object) unsafe.Pointer
- func NwProxyConfigEnumerateExcludedDomains(config obj.Object, enumerator func(string))
- func NwProxyConfigEnumerateMatchDomains(config obj.Object, enumerator func(string))
- func NwProxyConfigGetFailoverAllowed(proxyConfig obj.Object) bool
- func NwProxyConfigSetFailoverAllowed(proxyConfig obj.Object, failoverAllowed bool)
- func NwProxyConfigSetUsernameAndPassword(proxyConfig obj.Object, username string, password string)
- func NwQuicAddTlsApplicationProtocol(options obj.Object, applicationProtocol string)
- func NwQuicCopySecProtocolMetadata(metadata obj.Object) unsafe.Pointer
- func NwQuicCopySecProtocolOptions(options obj.Object) unsafe.Pointer
- func NwQuicCreateOptions() unsafe.Pointer
- func NwQuicGetApplicationError(metadata obj.Object) uint64
- func NwQuicGetApplicationErrorReason(metadata obj.Object) string
- func NwQuicGetIdleTimeout(options obj.Object) uint32
- func NwQuicGetInitialMaxData(options obj.Object) uint64
- func NwQuicGetInitialMaxStreamDataBidirectionalLocal(options obj.Object) uint64
- func NwQuicGetInitialMaxStreamDataBidirectionalRemote(options obj.Object) uint64
- func NwQuicGetInitialMaxStreamDataUnidirectional(options obj.Object) uint64
- func NwQuicGetInitialMaxStreamsBidirectional(options obj.Object) uint64
- func NwQuicGetInitialMaxStreamsUnidirectional(options obj.Object) uint64
- func NwQuicGetKeepaliveInterval(metadata obj.Object) uint16
- func NwQuicGetLocalMaxStreamsBidirectional(metadata obj.Object) uint64
- func NwQuicGetLocalMaxStreamsUnidirectional(metadata obj.Object) uint64
- func NwQuicGetMaxDatagramFrameSize(options obj.Object) uint16
- func NwQuicGetMaxUdpPayloadSize(options obj.Object) uint16
- func NwQuicGetRemoteIdleTimeout(metadata obj.Object) uint64
- func NwQuicGetRemoteMaxStreamsBidirectional(metadata obj.Object) uint64
- func NwQuicGetRemoteMaxStreamsUnidirectional(metadata obj.Object) uint64
- func NwQuicGetStreamApplicationError(metadata obj.Object) uint64
- func NwQuicGetStreamId(metadata obj.Object) uint64
- func NwQuicGetStreamIsDatagram(options obj.Object) bool
- func NwQuicGetStreamIsUnidirectional(options obj.Object) bool
- func NwQuicGetStreamType(streamMetadata obj.Object) uint8
- func NwQuicGetStreamUsableDatagramFrameSize(metadata obj.Object) uint16
- func NwQuicSetApplicationError(metadata obj.Object, applicationError uint64, reason string)
- func NwQuicSetIdleTimeout(options obj.Object, idleTimeout uint32)
- func NwQuicSetInitialMaxData(options obj.Object, initialMaxData uint64)
- func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options obj.Object, initialMaxStreamDataBidirectionalLocal uint64)
- func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options obj.Object, initialMaxStreamDataBidirectionalRemote uint64)
- func NwQuicSetInitialMaxStreamDataUnidirectional(options obj.Object, initialMaxStreamDataUnidirectional uint64)
- func NwQuicSetInitialMaxStreamsBidirectional(options obj.Object, initialMaxStreamsBidirectional uint64)
- func NwQuicSetInitialMaxStreamsUnidirectional(options obj.Object, initialMaxStreamsUnidirectional uint64)
- func NwQuicSetKeepaliveInterval(metadata obj.Object, keepaliveInterval uint16)
- func NwQuicSetLocalMaxStreamsBidirectional(metadata obj.Object, maxStreamsBidirectional uint64)
- func NwQuicSetLocalMaxStreamsUnidirectional(metadata obj.Object, maxStreamsUnidirectional uint64)
- func NwQuicSetMaxDatagramFrameSize(options obj.Object, maxDatagramFrameSize uint16)
- func NwQuicSetMaxUdpPayloadSize(options obj.Object, maxUdpPayloadSize uint16)
- func NwQuicSetStreamApplicationError(metadata obj.Object, applicationError uint64)
- func NwQuicSetStreamIsDatagram(options obj.Object, isDatagram bool)
- func NwQuicSetStreamIsUnidirectional(options obj.Object, isUnidirectional bool)
- func NwRelayHopAddAdditionalHttpHeaderField(relayHop obj.Object, fieldName string, fieldValue string)
- func NwRelayHopCreate(http3RelayEndpoint obj.Object, http2RelayEndpoint obj.Object, ...) unsafe.Pointer
- func NwRelease(object unsafe.Pointer)
- func NwResolutionReportCopyPreferredEndpoint(resolutionReport obj.Object) unsafe.Pointer
- func NwResolutionReportCopySuccessfulEndpoint(resolutionReport obj.Object) unsafe.Pointer
- func NwResolutionReportGetEndpointCount(resolutionReport obj.Object) uint32
- func NwResolutionReportGetMilliseconds(resolutionReport obj.Object) uint64
- func NwResolutionReportGetProtocol(resolutionReport obj.Object) unsafe.Pointer
- func NwResolutionReportGetSource(resolutionReport obj.Object) unsafe.Pointer
- func NwResolverConfigAddServerAddress(config obj.Object, serverAddress obj.Object)
- func NwResolverConfigCreateHttps(urlEndpoint obj.Object) unsafe.Pointer
- func NwResolverConfigCreateTls(serverEndpoint obj.Object) unsafe.Pointer
- func NwRetain(object unsafe.Pointer) unsafe.Pointer
- func NwTcpCreateOptions() unsafe.Pointer
- func NwTcpGetAvailableReceiveBuffer(metadata obj.Object) uint32
- func NwTcpGetAvailableSendBuffer(metadata obj.Object) uint32
- func NwTcpOptionsSetConnectionTimeout(options obj.Object, connectionTimeout uint32)
- func NwTcpOptionsSetDisableAckStretching(options obj.Object, disableAckStretching bool)
- func NwTcpOptionsSetDisableEcn(options obj.Object, disableEcn bool)
- func NwTcpOptionsSetEnableFastOpen(options obj.Object, enableFastOpen bool)
- func NwTcpOptionsSetEnableKeepalive(options obj.Object, enableKeepalive bool)
- func NwTcpOptionsSetKeepaliveCount(options obj.Object, keepaliveCount uint32)
- func NwTcpOptionsSetKeepaliveIdleTime(options obj.Object, keepaliveIdleTime uint32)
- func NwTcpOptionsSetKeepaliveInterval(options obj.Object, keepaliveInterval uint32)
- func NwTcpOptionsSetMaximumSegmentSize(options obj.Object, maximumSegmentSize uint32)
- func NwTcpOptionsSetMultipathForceVersion(options obj.Object, multipathForceVersion unsafe.Pointer)
- func NwTcpOptionsSetNoDelay(options obj.Object, noDelay bool)
- func NwTcpOptionsSetNoOptions(options obj.Object, noOptions bool)
- func NwTcpOptionsSetNoPush(options obj.Object, noPush bool)
- func NwTcpOptionsSetPersistTimeout(options obj.Object, persistTimeout uint32)
- func NwTcpOptionsSetRetransmitConnectionDropTime(options obj.Object, retransmitConnectionDropTime uint32)
- func NwTcpOptionsSetRetransmitFinDrop(options obj.Object, retransmitFinDrop bool)
- func NwTlsCopySecProtocolMetadata(metadata obj.Object) unsafe.Pointer
- func NwTlsCopySecProtocolOptions(options obj.Object) unsafe.Pointer
- func NwTlsCreateOptions() unsafe.Pointer
- func NwTxtRecordAccessBytes(txtRecord obj.Object, accessBytes unsafe.Pointer) bool
- func NwTxtRecordAccessKey(txtRecord obj.Object, key string, accessValue unsafe.Pointer) bool
- func NwTxtRecordApply(txtRecord obj.Object, applier unsafe.Pointer) bool
- func NwTxtRecordCopy(txtRecord obj.Object) unsafe.Pointer
- func NwTxtRecordCreateDictionary() unsafe.Pointer
- func NwTxtRecordCreateWithBytes(txtBytes unsafe.Pointer, txtLen int) unsafe.Pointer
- func NwTxtRecordFindKey(txtRecord obj.Object, key string) unsafe.Pointer
- func NwTxtRecordGetKeyCount(txtRecord obj.Object) int
- func NwTxtRecordIsDictionary(txtRecord obj.Object) bool
- func NwTxtRecordIsEqual(left obj.Object, right obj.Object) bool
- func NwTxtRecordRemoveKey(txtRecord obj.Object, key string) bool
- func NwTxtRecordSetKey(txtRecord obj.Object, key string, value unsafe.Pointer, valueLen int) bool
- func NwUdpCreateMetadata() unsafe.Pointer
- func NwUdpCreateOptions() unsafe.Pointer
- func NwUdpOptionsSetPreferNoChecksum(options obj.Object, preferNoChecksum bool)
- func NwWsCreateMetadata(opcode unsafe.Pointer) unsafe.Pointer
- func NwWsCreateOptions(version unsafe.Pointer) unsafe.Pointer
- func NwWsMetadataCopyServerResponse(metadata obj.Object) unsafe.Pointer
- func NwWsMetadataGetCloseCode(metadata obj.Object) unsafe.Pointer
- func NwWsMetadataGetOpcode(metadata obj.Object) unsafe.Pointer
- func NwWsMetadataSetCloseCode(metadata obj.Object, closeCode unsafe.Pointer)
- func NwWsMetadataSetPongHandler(metadata obj.Object, clientQueue dispatch.Queue, pongHandler func(obj.Object))
- func NwWsOptionsAddAdditionalHeader(options obj.Object, name string, value string)
- func NwWsOptionsAddSubprotocol(options obj.Object, subprotocol string)
- func NwWsOptionsSetAutoReplyPing(options obj.Object, autoReplyPing bool)
- func NwWsOptionsSetClientRequestHandler(options obj.Object, clientQueue dispatch.Queue, handler func(obj.Object) int)
- func NwWsOptionsSetMaximumMessageSize(options obj.Object, maximumMessageSize int)
- func NwWsOptionsSetSkipHandshake(options obj.Object, skipHandshake bool)
- func NwWsRequestEnumerateAdditionalHeaders(request obj.Object, enumerator func(string, string) bool) bool
- func NwWsRequestEnumerateSubprotocols(request obj.Object, enumerator func(string) bool) bool
- func NwWsResponseAddAdditionalHeader(response obj.Object, name string, value string)
- func NwWsResponseCreate(status unsafe.Pointer, selectedSubprotocol string) unsafe.Pointer
- func NwWsResponseEnumerateAdditionalHeaders(response obj.Object, enumerator func(string, string) bool) bool
- func NwWsResponseGetSelectedSubprotocol(response obj.Object) string
- func NwWsResponseGetStatus(response obj.Object) unsafe.Pointer
- func Nw_connection_send_idempotent_content() uintptr
- func Nw_content_context_default_message() uintptr
- func Nw_content_context_default_stream() uintptr
- func Nw_content_context_final_send() uintptr
- func Nw_data_transfer_report_all_paths() uint
- func Nw_parameters_configure_protocol_default_configuration() uintptr
- func Nw_parameters_configure_protocol_disable() uintptr
- func Nw_privacy_context_default_context() uintptr
- type ACLEntryID
- type ACLFlag
- type ACLPerm
- type ACLTag
- type ACLType
- type BrowserState
- type Clockid
- type ConnectionGroupState
- type ConnectionState
- type DNSServiceAAAAPolicy
- type DataTransferReportState
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EndpointType
- type ErrorDomain
- type EthernetChannelState
- type FilesecProperty
- type FramerStartResult
- type IPEcnFlag
- type IPLocalAddressPreference
- type IPVersion
- type Idtype
- type InterfaceRadioType
- type InterfaceType
- type IpcInfoObjectType
- type LaunchDataType
- type LinkQuality
- type ListenerState
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type MultipathService
- type MultipathVersion
- type OSClockid
- type OS_nw_advertise_descriptor
- type OS_nw_browse_descriptor
- type OS_nw_browse_result
- type OS_nw_browser
- type OS_nw_connection
- type OS_nw_connection_group
- type OS_nw_content_context
- type OS_nw_data_transfer_report
- type OS_nw_endpoint
- type OS_nw_error
- type OS_nw_establishment_report
- type OS_nw_ethernet_channel
- type OS_nw_framer
- type OS_nw_group_descriptor
- type OS_nw_interface
- type OS_nw_listener
- type OS_nw_object
- type OS_nw_parameters
- type OS_nw_path
- type OS_nw_path_monitor
- type OS_nw_privacy_context
- type OS_nw_protocol_definition
- type OS_nw_protocol_metadata
- type OS_nw_protocol_options
- type OS_nw_protocol_stack
- type OS_nw_proxy_config
- type OS_nw_relay_hop
- type OS_nw_resolution_report
- type OS_nw_resolver_config
- type OS_nw_txt_record
- type OS_nw_ws_request
- type OS_nw_ws_response
- type ParametersAttribution
- type ParametersExpiredDNSBehavior
- type PathStatus
- type PathUnsatisfiedReason
- type PtrauthKey
- type QosClass
- type QuicStreamType
- type ReportResolutionProtocol
- type ReportResolutionSource
- type ServiceClass
- type TxtRecordFindKey
- type VirtualMemoryGuardExceptionCode
- type WsCloseCode
- type WsOpcode
- type WsResponseStatus
- type WsVersion
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( Nw_browse_result_change_identical = 1 Nw_browse_result_change_interface_added = 8 Nw_browse_result_change_interface_removed = 16 Nw_browse_result_change_invalid = 0 Nw_browse_result_change_result_added = 2 Nw_browse_result_change_result_removed = 4 Nw_browse_result_change_txt_record_changed = 32 )
Variables ¶
This section is empty.
Functions ¶
func KNWErrorDomainDNS ¶
KNWErrorDomainDNS returns the value of the constant kNWErrorDomainDNS.
func KNWErrorDomainPOSIX ¶
KNWErrorDomainPOSIX returns the value of the constant kNWErrorDomainPOSIX.
func KNWErrorDomainTLS ¶
KNWErrorDomainTLS returns the value of the constant kNWErrorDomainTLS.
func KNWErrorDomainWiFiAware ¶
KNWErrorDomainWiFiAware returns the value of the constant kNWErrorDomainWiFiAware.
func NwAdvertiseDescriptorCopyTxtRecordObject ¶
NwAdvertiseDescriptorCopyTxtRecordObject calls the Network framework function nw_advertise_descriptor_copy_txt_record_object.
func NwAdvertiseDescriptorCreateApplicationService ¶
NwAdvertiseDescriptorCreateApplicationService calls the Network framework function nw_advertise_descriptor_create_application_service.
func NwAdvertiseDescriptorCreateBonjourService ¶
func NwAdvertiseDescriptorCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer
NwAdvertiseDescriptorCreateBonjourService calls the Network framework function nw_advertise_descriptor_create_bonjour_service.
func NwAdvertiseDescriptorGetApplicationServiceName ¶
NwAdvertiseDescriptorGetApplicationServiceName calls the Network framework function nw_advertise_descriptor_get_application_service_name.
func NwAdvertiseDescriptorGetNoAutoRename ¶
NwAdvertiseDescriptorGetNoAutoRename calls the Network framework function nw_advertise_descriptor_get_no_auto_rename.
func NwAdvertiseDescriptorSetNoAutoRename ¶
NwAdvertiseDescriptorSetNoAutoRename calls the Network framework function nw_advertise_descriptor_set_no_auto_rename.
func NwAdvertiseDescriptorSetTxtRecord ¶
func NwAdvertiseDescriptorSetTxtRecord(advertiseDescriptor obj.Object, txtRecord unsafe.Pointer, txtLength int)
NwAdvertiseDescriptorSetTxtRecord calls the Network framework function nw_advertise_descriptor_set_txt_record.
func NwAdvertiseDescriptorSetTxtRecordObject ¶
NwAdvertiseDescriptorSetTxtRecordObject calls the Network framework function nw_advertise_descriptor_set_txt_record_object.
func NwBrowseDescriptorCreateApplicationService ¶
NwBrowseDescriptorCreateApplicationService calls the Network framework function nw_browse_descriptor_create_application_service.
func NwBrowseDescriptorCreateBonjourService ¶
NwBrowseDescriptorCreateBonjourService calls the Network framework function nw_browse_descriptor_create_bonjour_service.
func NwBrowseDescriptorGetApplicationServiceName ¶
NwBrowseDescriptorGetApplicationServiceName calls the Network framework function nw_browse_descriptor_get_application_service_name.
func NwBrowseDescriptorGetBonjourServiceDomain ¶
NwBrowseDescriptorGetBonjourServiceDomain calls the Network framework function nw_browse_descriptor_get_bonjour_service_domain.
func NwBrowseDescriptorGetBonjourServiceType ¶
NwBrowseDescriptorGetBonjourServiceType calls the Network framework function nw_browse_descriptor_get_bonjour_service_type.
func NwBrowseDescriptorGetIncludeTxtRecord ¶
NwBrowseDescriptorGetIncludeTxtRecord calls the Network framework function nw_browse_descriptor_get_include_txt_record.
func NwBrowseDescriptorSetIncludeTxtRecord ¶
NwBrowseDescriptorSetIncludeTxtRecord calls the Network framework function nw_browse_descriptor_set_include_txt_record.
func NwBrowseResultCopyEndpoint ¶
NwBrowseResultCopyEndpoint calls the Network framework function nw_browse_result_copy_endpoint.
func NwBrowseResultCopyTxtRecordObject ¶
NwBrowseResultCopyTxtRecordObject calls the Network framework function nw_browse_result_copy_txt_record_object.
func NwBrowseResultEnumerateInterfaces ¶
NwBrowseResultEnumerateInterfaces calls the Network framework function nw_browse_result_enumerate_interfaces.
func NwBrowseResultGetChanges ¶
NwBrowseResultGetChanges calls the Network framework function nw_browse_result_get_changes.
func NwBrowseResultGetInterfacesCount ¶
NwBrowseResultGetInterfacesCount calls the Network framework function nw_browse_result_get_interfaces_count.
func NwBrowserCancel ¶
NwBrowserCancel calls the Network framework function nw_browser_cancel.
func NwBrowserCopyBrowseDescriptor ¶
NwBrowserCopyBrowseDescriptor calls the Network framework function nw_browser_copy_browse_descriptor.
func NwBrowserCopyParameters ¶
NwBrowserCopyParameters calls the Network framework function nw_browser_copy_parameters.
func NwBrowserCreate ¶
NwBrowserCreate calls the Network framework function nw_browser_create.
func NwBrowserSetBrowseResultsChangedHandler ¶
func NwBrowserSetBrowseResultsChangedHandler(browser obj.Object, handler func(obj.Object, obj.Object, bool))
NwBrowserSetBrowseResultsChangedHandler calls the Network framework function nw_browser_set_browse_results_changed_handler.
func NwBrowserSetQueue ¶
NwBrowserSetQueue calls the Network framework function nw_browser_set_queue.
func NwBrowserSetStateChangedHandler ¶
NwBrowserSetStateChangedHandler calls the Network framework function nw_browser_set_state_changed_handler.
func NwBrowserStart ¶
NwBrowserStart calls the Network framework function nw_browser_start.
func NwConnectionAccessEstablishmentReport ¶
func NwConnectionAccessEstablishmentReport(connection obj.Object, queue dispatch.Queue, accessBlock func(obj.Object))
NwConnectionAccessEstablishmentReport calls the Network framework function nw_connection_access_establishment_report.
func NwConnectionBatch ¶
NwConnectionBatch calls the Network framework function nw_connection_batch.
func NwConnectionCancel ¶
NwConnectionCancel calls the Network framework function nw_connection_cancel.
func NwConnectionCancelCurrentEndpoint ¶
NwConnectionCancelCurrentEndpoint calls the Network framework function nw_connection_cancel_current_endpoint.
func NwConnectionCopyCurrentPath ¶
NwConnectionCopyCurrentPath calls the Network framework function nw_connection_copy_current_path.
func NwConnectionCopyDescription ¶
NwConnectionCopyDescription calls the Network framework function nw_connection_copy_description.
func NwConnectionCopyEndpoint ¶
NwConnectionCopyEndpoint calls the Network framework function nw_connection_copy_endpoint.
func NwConnectionCopyParameters ¶
NwConnectionCopyParameters calls the Network framework function nw_connection_copy_parameters.
func NwConnectionCopyProtocolMetadata ¶
NwConnectionCopyProtocolMetadata calls the Network framework function nw_connection_copy_protocol_metadata.
func NwConnectionCreate ¶
NwConnectionCreate calls the Network framework function nw_connection_create.
func NwConnectionCreateNewDataTransferReport ¶
NwConnectionCreateNewDataTransferReport calls the Network framework function nw_connection_create_new_data_transfer_report.
func NwConnectionForceCancel ¶
NwConnectionForceCancel calls the Network framework function nw_connection_force_cancel.
func NwConnectionGetMaximumDatagramSize ¶
NwConnectionGetMaximumDatagramSize calls the Network framework function nw_connection_get_maximum_datagram_size.
func NwConnectionGroupCancel ¶
NwConnectionGroupCancel calls the Network framework function nw_connection_group_cancel.
func NwConnectionGroupCopyDescriptor ¶
NwConnectionGroupCopyDescriptor calls the Network framework function nw_connection_group_copy_descriptor.
func NwConnectionGroupCopyLocalEndpointForMessage ¶
func NwConnectionGroupCopyLocalEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
NwConnectionGroupCopyLocalEndpointForMessage calls the Network framework function nw_connection_group_copy_local_endpoint_for_message.
func NwConnectionGroupCopyParameters ¶
NwConnectionGroupCopyParameters calls the Network framework function nw_connection_group_copy_parameters.
func NwConnectionGroupCopyPathForMessage ¶
NwConnectionGroupCopyPathForMessage calls the Network framework function nw_connection_group_copy_path_for_message.
func NwConnectionGroupCopyProtocolMetadata ¶
func NwConnectionGroupCopyProtocolMetadata(group obj.Object, definition obj.Object) *foundation.Object
NwConnectionGroupCopyProtocolMetadata calls the Network framework function nw_connection_group_copy_protocol_metadata.
func NwConnectionGroupCopyProtocolMetadataForMessage ¶
func NwConnectionGroupCopyProtocolMetadataForMessage(group obj.Object, context_ obj.Object, definition obj.Object) *foundation.Object
NwConnectionGroupCopyProtocolMetadataForMessage calls the Network framework function nw_connection_group_copy_protocol_metadata_for_message.
func NwConnectionGroupCopyRemoteEndpointForMessage ¶
func NwConnectionGroupCopyRemoteEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
NwConnectionGroupCopyRemoteEndpointForMessage calls the Network framework function nw_connection_group_copy_remote_endpoint_for_message.
func NwConnectionGroupCreate ¶
NwConnectionGroupCreate calls the Network framework function nw_connection_group_create.
func NwConnectionGroupExtractConnection ¶
func NwConnectionGroupExtractConnection(group obj.Object, endpoint obj.Object, protocolOptions obj.Object) unsafe.Pointer
NwConnectionGroupExtractConnection calls the Network framework function nw_connection_group_extract_connection.
func NwConnectionGroupExtractConnectionForMessage ¶
func NwConnectionGroupExtractConnectionForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer
NwConnectionGroupExtractConnectionForMessage calls the Network framework function nw_connection_group_extract_connection_for_message.
func NwConnectionGroupReinsertExtractedConnection ¶
NwConnectionGroupReinsertExtractedConnection calls the Network framework function nw_connection_group_reinsert_extracted_connection.
func NwConnectionGroupReply ¶
func NwConnectionGroupReply(group obj.Object, inboundMessage obj.Object, outboundMessage obj.Object, content dispatch.Data)
NwConnectionGroupReply calls the Network framework function nw_connection_group_reply.
func NwConnectionGroupSendMessage ¶
func NwConnectionGroupSendMessage(group obj.Object, content dispatch.Data, endpoint obj.Object, context_ obj.Object, completion func(obj.Object))
NwConnectionGroupSendMessage calls the Network framework function nw_connection_group_send_message.
func NwConnectionGroupSetNewConnectionHandler ¶
func NwConnectionGroupSetNewConnectionHandler(group obj.Object, newConnectionHandler func(obj.Object))
NwConnectionGroupSetNewConnectionHandler calls the Network framework function nw_connection_group_set_new_connection_handler.
func NwConnectionGroupSetQueue ¶
NwConnectionGroupSetQueue calls the Network framework function nw_connection_group_set_queue.
func NwConnectionGroupSetReceiveHandler ¶
func NwConnectionGroupSetReceiveHandler(group obj.Object, maximumMessageSize uint32, rejectOversizedMessages bool, receiveHandler func(obj.Object, obj.Object, bool))
NwConnectionGroupSetReceiveHandler calls the Network framework function nw_connection_group_set_receive_handler.
func NwConnectionGroupSetStateChangedHandler ¶
NwConnectionGroupSetStateChangedHandler calls the Network framework function nw_connection_group_set_state_changed_handler.
func NwConnectionGroupStart ¶
NwConnectionGroupStart calls the Network framework function nw_connection_group_start.
func NwConnectionReceive ¶
func NwConnectionReceive(connection obj.Object, minimumIncompleteLength uint32, maximumLength uint32, completion func(obj.Object, obj.Object, bool, obj.Object))
NwConnectionReceive calls the Network framework function nw_connection_receive.
func NwConnectionReceiveMessage ¶
func NwConnectionReceiveMessage(connection obj.Object, completion func(obj.Object, obj.Object, bool, obj.Object))
NwConnectionReceiveMessage calls the Network framework function nw_connection_receive_message.
func NwConnectionRestart ¶
NwConnectionRestart calls the Network framework function nw_connection_restart.
func NwConnectionSend ¶
func NwConnectionSend(connection obj.Object, content dispatch.Data, context_ obj.Object, isComplete bool, completion func(obj.Object))
NwConnectionSend calls the Network framework function nw_connection_send.
func NwConnectionSetBetterPathAvailableHandler ¶
NwConnectionSetBetterPathAvailableHandler calls the Network framework function nw_connection_set_better_path_available_handler.
func NwConnectionSetPathChangedHandler ¶
NwConnectionSetPathChangedHandler calls the Network framework function nw_connection_set_path_changed_handler.
func NwConnectionSetQueue ¶
NwConnectionSetQueue calls the Network framework function nw_connection_set_queue.
func NwConnectionSetStateChangedHandler ¶
NwConnectionSetStateChangedHandler calls the Network framework function nw_connection_set_state_changed_handler.
func NwConnectionSetViabilityChangedHandler ¶
NwConnectionSetViabilityChangedHandler calls the Network framework function nw_connection_set_viability_changed_handler.
func NwConnectionStart ¶
NwConnectionStart calls the Network framework function nw_connection_start.
func NwContentContextCopyAntecedent ¶
NwContentContextCopyAntecedent calls the Network framework function nw_content_context_copy_antecedent.
func NwContentContextCopyProtocolMetadata ¶
NwContentContextCopyProtocolMetadata calls the Network framework function nw_content_context_copy_protocol_metadata.
func NwContentContextCreate ¶
NwContentContextCreate calls the Network framework function nw_content_context_create.
func NwContentContextForeachProtocolMetadata ¶
func NwContentContextForeachProtocolMetadata(context_ obj.Object, foreachBlock func(obj.Object, obj.Object))
NwContentContextForeachProtocolMetadata calls the Network framework function nw_content_context_foreach_protocol_metadata.
func NwContentContextGetExpirationMilliseconds ¶
NwContentContextGetExpirationMilliseconds calls the Network framework function nw_content_context_get_expiration_milliseconds.
func NwContentContextGetIdentifier ¶
NwContentContextGetIdentifier calls the Network framework function nw_content_context_get_identifier.
func NwContentContextGetIsFinal ¶
NwContentContextGetIsFinal calls the Network framework function nw_content_context_get_is_final.
func NwContentContextGetRelativePriority ¶
NwContentContextGetRelativePriority calls the Network framework function nw_content_context_get_relative_priority.
func NwContentContextSetAntecedent ¶
NwContentContextSetAntecedent calls the Network framework function nw_content_context_set_antecedent.
func NwContentContextSetExpirationMilliseconds ¶
NwContentContextSetExpirationMilliseconds calls the Network framework function nw_content_context_set_expiration_milliseconds.
func NwContentContextSetIsFinal ¶
NwContentContextSetIsFinal calls the Network framework function nw_content_context_set_is_final.
func NwContentContextSetMetadataForProtocol ¶
NwContentContextSetMetadataForProtocol calls the Network framework function nw_content_context_set_metadata_for_protocol.
func NwContentContextSetRelativePriority ¶
NwContentContextSetRelativePriority calls the Network framework function nw_content_context_set_relative_priority.
func NwDataTransferReportCollect ¶
func NwDataTransferReportCollect(report obj.Object, queue dispatch.Queue, collectBlock func(obj.Object))
NwDataTransferReportCollect calls the Network framework function nw_data_transfer_report_collect.
func NwDataTransferReportCopyPathInterface ¶
NwDataTransferReportCopyPathInterface calls the Network framework function nw_data_transfer_report_copy_path_interface.
func NwDataTransferReportGetDurationMilliseconds ¶
NwDataTransferReportGetDurationMilliseconds calls the Network framework function nw_data_transfer_report_get_duration_milliseconds.
func NwDataTransferReportGetPathCount ¶
NwDataTransferReportGetPathCount calls the Network framework function nw_data_transfer_report_get_path_count.
func NwDataTransferReportGetPathRadioType ¶
NwDataTransferReportGetPathRadioType calls the Network framework function nw_data_transfer_report_get_path_radio_type.
func NwDataTransferReportGetReceivedApplicationByteCount ¶
func NwDataTransferReportGetReceivedApplicationByteCount(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetReceivedApplicationByteCount calls the Network framework function nw_data_transfer_report_get_received_application_byte_count.
func NwDataTransferReportGetReceivedIpPacketCount ¶
NwDataTransferReportGetReceivedIpPacketCount calls the Network framework function nw_data_transfer_report_get_received_ip_packet_count.
func NwDataTransferReportGetReceivedTransportByteCount ¶
NwDataTransferReportGetReceivedTransportByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_byte_count.
func NwDataTransferReportGetReceivedTransportDuplicateByteCount ¶
func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetReceivedTransportDuplicateByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_duplicate_byte_count.
func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount ¶
func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetReceivedTransportOutOfOrderByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_out_of_order_byte_count.
func NwDataTransferReportGetSentApplicationByteCount ¶
NwDataTransferReportGetSentApplicationByteCount calls the Network framework function nw_data_transfer_report_get_sent_application_byte_count.
func NwDataTransferReportGetSentIpPacketCount ¶
NwDataTransferReportGetSentIpPacketCount calls the Network framework function nw_data_transfer_report_get_sent_ip_packet_count.
func NwDataTransferReportGetSentTransportByteCount ¶
NwDataTransferReportGetSentTransportByteCount calls the Network framework function nw_data_transfer_report_get_sent_transport_byte_count.
func NwDataTransferReportGetSentTransportRetransmittedByteCount ¶
func NwDataTransferReportGetSentTransportRetransmittedByteCount(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetSentTransportRetransmittedByteCount calls the Network framework function nw_data_transfer_report_get_sent_transport_retransmitted_byte_count.
func NwDataTransferReportGetState ¶
NwDataTransferReportGetState calls the Network framework function nw_data_transfer_report_get_state.
func NwDataTransferReportGetTransportMinimumRttMilliseconds ¶
func NwDataTransferReportGetTransportMinimumRttMilliseconds(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetTransportMinimumRttMilliseconds calls the Network framework function nw_data_transfer_report_get_transport_minimum_rtt_milliseconds.
func NwDataTransferReportGetTransportRttVariance ¶
NwDataTransferReportGetTransportRttVariance calls the Network framework function nw_data_transfer_report_get_transport_rtt_variance.
func NwDataTransferReportGetTransportSmoothedRttMilliseconds ¶
func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report obj.Object, pathIndex uint32) uint64
NwDataTransferReportGetTransportSmoothedRttMilliseconds calls the Network framework function nw_data_transfer_report_get_transport_smoothed_rtt_milliseconds.
func NwEndpointCopyAddressString ¶
NwEndpointCopyAddressString calls the Network framework function nw_endpoint_copy_address_string.
func NwEndpointCopyPortString ¶
NwEndpointCopyPortString calls the Network framework function nw_endpoint_copy_port_string.
func NwEndpointCopyTxtRecord ¶
NwEndpointCopyTxtRecord calls the Network framework function nw_endpoint_copy_txt_record.
func NwEndpointCreateAddress ¶
NwEndpointCreateAddress calls the Network framework function nw_endpoint_create_address.
func NwEndpointCreateBonjourService ¶
NwEndpointCreateBonjourService calls the Network framework function nw_endpoint_create_bonjour_service.
func NwEndpointCreateHost ¶
NwEndpointCreateHost calls the Network framework function nw_endpoint_create_host.
func NwEndpointCreateUrl ¶
NwEndpointCreateUrl calls the Network framework function nw_endpoint_create_url.
func NwEndpointGetAddress ¶
NwEndpointGetAddress calls the Network framework function nw_endpoint_get_address.
func NwEndpointGetBonjourServiceDomain ¶
NwEndpointGetBonjourServiceDomain calls the Network framework function nw_endpoint_get_bonjour_service_domain.
func NwEndpointGetBonjourServiceName ¶
NwEndpointGetBonjourServiceName calls the Network framework function nw_endpoint_get_bonjour_service_name.
func NwEndpointGetBonjourServiceType ¶
NwEndpointGetBonjourServiceType calls the Network framework function nw_endpoint_get_bonjour_service_type.
func NwEndpointGetHostname ¶
NwEndpointGetHostname calls the Network framework function nw_endpoint_get_hostname.
func NwEndpointGetPort ¶
NwEndpointGetPort calls the Network framework function nw_endpoint_get_port.
func NwEndpointGetSignature ¶
NwEndpointGetSignature calls the Network framework function nw_endpoint_get_signature.
func NwEndpointGetType ¶
NwEndpointGetType calls the Network framework function nw_endpoint_get_type.
func NwEndpointGetUrl ¶
NwEndpointGetUrl calls the Network framework function nw_endpoint_get_url.
func NwErrorCopyCfError ¶
func NwErrorCopyCfError(err obj.Object) corefoundation.CFErrorRef
NwErrorCopyCfError calls the Network framework function nw_error_copy_cf_error.
func NwErrorGetErrorCode ¶
NwErrorGetErrorCode calls the Network framework function nw_error_get_error_code.
func NwErrorGetErrorDomain ¶
NwErrorGetErrorDomain calls the Network framework function nw_error_get_error_domain.
func NwEstablishmentReportCopyProxyEndpoint ¶
NwEstablishmentReportCopyProxyEndpoint calls the Network framework function nw_establishment_report_copy_proxy_endpoint.
func NwEstablishmentReportEnumerateProtocols ¶
func NwEstablishmentReportEnumerateProtocols(report obj.Object, enumerateBlock func(obj.Object, uint64, uint64) bool)
NwEstablishmentReportEnumerateProtocols calls the Network framework function nw_establishment_report_enumerate_protocols.
func NwEstablishmentReportEnumerateResolutionReports ¶
func NwEstablishmentReportEnumerateResolutionReports(report obj.Object, enumerateBlock func(obj.Object) bool)
NwEstablishmentReportEnumerateResolutionReports calls the Network framework function nw_establishment_report_enumerate_resolution_reports.
func NwEstablishmentReportEnumerateResolutions ¶
NwEstablishmentReportEnumerateResolutions calls the Network framework function nw_establishment_report_enumerate_resolutions.
func NwEstablishmentReportGetAttemptStartedAfterMilliseconds ¶
NwEstablishmentReportGetAttemptStartedAfterMilliseconds calls the Network framework function nw_establishment_report_get_attempt_started_after_milliseconds.
func NwEstablishmentReportGetDurationMilliseconds ¶
NwEstablishmentReportGetDurationMilliseconds calls the Network framework function nw_establishment_report_get_duration_milliseconds.
func NwEstablishmentReportGetPreviousAttemptCount ¶
NwEstablishmentReportGetPreviousAttemptCount calls the Network framework function nw_establishment_report_get_previous_attempt_count.
func NwEstablishmentReportGetProxyConfigured ¶
NwEstablishmentReportGetProxyConfigured calls the Network framework function nw_establishment_report_get_proxy_configured.
func NwEstablishmentReportGetUsedProxy ¶
NwEstablishmentReportGetUsedProxy calls the Network framework function nw_establishment_report_get_used_proxy.
func NwEthernetChannelCancel ¶
NwEthernetChannelCancel calls the Network framework function nw_ethernet_channel_cancel.
func NwEthernetChannelCreate ¶
NwEthernetChannelCreate calls the Network framework function nw_ethernet_channel_create.
func NwEthernetChannelCreateWithParameters ¶
func NwEthernetChannelCreateWithParameters(etherType uint16, interface_ obj.Object, parameters obj.Object) unsafe.Pointer
NwEthernetChannelCreateWithParameters calls the Network framework function nw_ethernet_channel_create_with_parameters.
func NwEthernetChannelGetMaximumPayloadSize ¶
NwEthernetChannelGetMaximumPayloadSize calls the Network framework function nw_ethernet_channel_get_maximum_payload_size.
func NwEthernetChannelSend ¶
func NwEthernetChannelSend(ethernetChannel obj.Object, content dispatch.Data, vlanTag uint16, completion func(obj.Object)) (remoteAddress uint8)
NwEthernetChannelSend calls the Network framework function nw_ethernet_channel_send.
func NwEthernetChannelSetQueue ¶
NwEthernetChannelSetQueue calls the Network framework function nw_ethernet_channel_set_queue.
func NwEthernetChannelSetReceiveHandler ¶
NwEthernetChannelSetReceiveHandler calls the Network framework function nw_ethernet_channel_set_receive_handler.
func NwEthernetChannelSetStateChangedHandler ¶
NwEthernetChannelSetStateChangedHandler calls the Network framework function nw_ethernet_channel_set_state_changed_handler.
func NwEthernetChannelStart ¶
NwEthernetChannelStart calls the Network framework function nw_ethernet_channel_start.
func NwFramerAsync ¶
NwFramerAsync calls the Network framework function nw_framer_async.
func NwFramerCopyLocalEndpoint ¶
NwFramerCopyLocalEndpoint calls the Network framework function nw_framer_copy_local_endpoint.
func NwFramerCopyOptions ¶
NwFramerCopyOptions calls the Network framework function nw_framer_copy_options.
func NwFramerCopyParameters ¶
NwFramerCopyParameters calls the Network framework function nw_framer_copy_parameters.
func NwFramerCopyRemoteEndpoint ¶
NwFramerCopyRemoteEndpoint calls the Network framework function nw_framer_copy_remote_endpoint.
func NwFramerCreateDefinition ¶
func NwFramerCreateDefinition(identifier string, flags uint32, startHandler func(obj.Object) int) unsafe.Pointer
NwFramerCreateDefinition calls the Network framework function nw_framer_create_definition.
func NwFramerCreateOptions ¶
NwFramerCreateOptions calls the Network framework function nw_framer_create_options.
func NwFramerDeliverInput ¶
func NwFramerDeliverInput(framer obj.Object, inputBuffer unsafe.Pointer, inputLength int, message obj.Object, isComplete bool)
NwFramerDeliverInput calls the Network framework function nw_framer_deliver_input.
func NwFramerDeliverInputNoCopy ¶
func NwFramerDeliverInputNoCopy(framer obj.Object, inputLength int, message obj.Object, isComplete bool) bool
NwFramerDeliverInputNoCopy calls the Network framework function nw_framer_deliver_input_no_copy.
func NwFramerMarkFailedWithError ¶
NwFramerMarkFailedWithError calls the Network framework function nw_framer_mark_failed_with_error.
func NwFramerMarkReady ¶
NwFramerMarkReady calls the Network framework function nw_framer_mark_ready.
func NwFramerMessageAccessValue ¶
func NwFramerMessageAccessValue(message obj.Object, key string, accessValue func(unsafe.Pointer) bool) bool
NwFramerMessageAccessValue calls the Network framework function nw_framer_message_access_value.
func NwFramerMessageCopyObjectValue ¶
NwFramerMessageCopyObjectValue calls the Network framework function nw_framer_message_copy_object_value.
func NwFramerMessageCreate ¶
NwFramerMessageCreate calls the Network framework function nw_framer_message_create.
func NwFramerMessageSetObjectValue ¶
NwFramerMessageSetObjectValue calls the Network framework function nw_framer_message_set_object_value.
func NwFramerMessageSetValue ¶
func NwFramerMessageSetValue(message obj.Object, key string, value unsafe.Pointer, disposeValue func(unsafe.Pointer))
NwFramerMessageSetValue calls the Network framework function nw_framer_message_set_value.
func NwFramerOptionsCopyObjectValue ¶
NwFramerOptionsCopyObjectValue calls the Network framework function nw_framer_options_copy_object_value.
func NwFramerOptionsSetObjectValue ¶
NwFramerOptionsSetObjectValue calls the Network framework function nw_framer_options_set_object_value.
func NwFramerParseInput ¶
func NwFramerParseInput(framer obj.Object, minimumIncompleteLength int, maximumLength int, parse unsafe.Pointer) (ok bool, tempBuffer uint8)
NwFramerParseInput calls the Network framework function nw_framer_parse_input.
func NwFramerParseOutput ¶
func NwFramerParseOutput(framer obj.Object, minimumIncompleteLength int, maximumLength int, parse unsafe.Pointer) (ok bool, tempBuffer uint8)
NwFramerParseOutput calls the Network framework function nw_framer_parse_output.
func NwFramerPassThroughInput ¶
NwFramerPassThroughInput calls the Network framework function nw_framer_pass_through_input.
func NwFramerPassThroughOutput ¶
NwFramerPassThroughOutput calls the Network framework function nw_framer_pass_through_output.
func NwFramerPrependApplicationProtocol ¶
NwFramerPrependApplicationProtocol calls the Network framework function nw_framer_prepend_application_protocol.
func NwFramerProtocolCreateMessage ¶
NwFramerProtocolCreateMessage calls the Network framework function nw_framer_protocol_create_message.
func NwFramerScheduleWakeup ¶
NwFramerScheduleWakeup calls the Network framework function nw_framer_schedule_wakeup.
func NwFramerSetCleanupHandler ¶
NwFramerSetCleanupHandler calls the Network framework function nw_framer_set_cleanup_handler.
func NwFramerSetInputHandler ¶
NwFramerSetInputHandler calls the Network framework function nw_framer_set_input_handler.
func NwFramerSetOutputHandler ¶
func NwFramerSetOutputHandler(framer obj.Object, outputHandler func(obj.Object, obj.Object, int, bool))
NwFramerSetOutputHandler calls the Network framework function nw_framer_set_output_handler.
func NwFramerSetStopHandler ¶
NwFramerSetStopHandler calls the Network framework function nw_framer_set_stop_handler.
func NwFramerSetWakeupHandler ¶
NwFramerSetWakeupHandler calls the Network framework function nw_framer_set_wakeup_handler.
func NwFramerWriteOutput ¶
NwFramerWriteOutput calls the Network framework function nw_framer_write_output.
func NwFramerWriteOutputData ¶
NwFramerWriteOutputData calls the Network framework function nw_framer_write_output_data.
func NwFramerWriteOutputNoCopy ¶
NwFramerWriteOutputNoCopy calls the Network framework function nw_framer_write_output_no_copy.
func NwGroupDescriptorAddEndpoint ¶
NwGroupDescriptorAddEndpoint calls the Network framework function nw_group_descriptor_add_endpoint.
func NwGroupDescriptorCreateMulticast ¶
NwGroupDescriptorCreateMulticast calls the Network framework function nw_group_descriptor_create_multicast.
func NwGroupDescriptorCreateMultiplex ¶
NwGroupDescriptorCreateMultiplex calls the Network framework function nw_group_descriptor_create_multiplex.
func NwGroupDescriptorEnumerateEndpoints ¶
func NwGroupDescriptorEnumerateEndpoints(descriptor obj.Object, enumerateBlock func(obj.Object) bool)
NwGroupDescriptorEnumerateEndpoints calls the Network framework function nw_group_descriptor_enumerate_endpoints.
func NwInterfaceGetIndex ¶
NwInterfaceGetIndex calls the Network framework function nw_interface_get_index.
func NwInterfaceGetName ¶
NwInterfaceGetName calls the Network framework function nw_interface_get_name.
func NwInterfaceGetType ¶
NwInterfaceGetType calls the Network framework function nw_interface_get_type.
func NwIpCreateMetadata ¶
NwIpCreateMetadata calls the Network framework function nw_ip_create_metadata.
func NwIpMetadataGetEcnFlag ¶
NwIpMetadataGetEcnFlag calls the Network framework function nw_ip_metadata_get_ecn_flag.
func NwIpMetadataGetReceiveTime ¶
NwIpMetadataGetReceiveTime calls the Network framework function nw_ip_metadata_get_receive_time.
func NwIpMetadataGetServiceClass ¶
NwIpMetadataGetServiceClass calls the Network framework function nw_ip_metadata_get_service_class.
func NwIpMetadataSetEcnFlag ¶
NwIpMetadataSetEcnFlag calls the Network framework function nw_ip_metadata_set_ecn_flag.
func NwIpMetadataSetServiceClass ¶
NwIpMetadataSetServiceClass calls the Network framework function nw_ip_metadata_set_service_class.
func NwIpOptionsSetCalculateReceiveTime ¶
NwIpOptionsSetCalculateReceiveTime calls the Network framework function nw_ip_options_set_calculate_receive_time.
func NwIpOptionsSetDisableFragmentation ¶
NwIpOptionsSetDisableFragmentation calls the Network framework function nw_ip_options_set_disable_fragmentation.
func NwIpOptionsSetDisableMulticastLoopback ¶
NwIpOptionsSetDisableMulticastLoopback calls the Network framework function nw_ip_options_set_disable_multicast_loopback.
func NwIpOptionsSetHopLimit ¶
NwIpOptionsSetHopLimit calls the Network framework function nw_ip_options_set_hop_limit.
func NwIpOptionsSetLocalAddressPreference ¶
NwIpOptionsSetLocalAddressPreference calls the Network framework function nw_ip_options_set_local_address_preference.
func NwIpOptionsSetUseMinimumMtu ¶
NwIpOptionsSetUseMinimumMtu calls the Network framework function nw_ip_options_set_use_minimum_mtu.
func NwIpOptionsSetVersion ¶
NwIpOptionsSetVersion calls the Network framework function nw_ip_options_set_version.
func NwListenerCancel ¶
NwListenerCancel calls the Network framework function nw_listener_cancel.
func NwListenerCreate ¶
NwListenerCreate calls the Network framework function nw_listener_create.
func NwListenerCreateWithConnection ¶
NwListenerCreateWithConnection calls the Network framework function nw_listener_create_with_connection.
func NwListenerCreateWithLaunchdKey ¶
NwListenerCreateWithLaunchdKey calls the Network framework function nw_listener_create_with_launchd_key.
func NwListenerCreateWithPort ¶
NwListenerCreateWithPort calls the Network framework function nw_listener_create_with_port.
func NwListenerGetNewConnectionLimit ¶
NwListenerGetNewConnectionLimit calls the Network framework function nw_listener_get_new_connection_limit.
func NwListenerGetPort ¶
NwListenerGetPort calls the Network framework function nw_listener_get_port.
func NwListenerSetAdvertiseDescriptor ¶
NwListenerSetAdvertiseDescriptor calls the Network framework function nw_listener_set_advertise_descriptor.
func NwListenerSetAdvertisedEndpointChangedHandler ¶
func NwListenerSetAdvertisedEndpointChangedHandler(listener obj.Object, handler func(obj.Object, bool))
NwListenerSetAdvertisedEndpointChangedHandler calls the Network framework function nw_listener_set_advertised_endpoint_changed_handler.
func NwListenerSetNewConnectionGroupHandler ¶
NwListenerSetNewConnectionGroupHandler calls the Network framework function nw_listener_set_new_connection_group_handler.
func NwListenerSetNewConnectionHandler ¶
NwListenerSetNewConnectionHandler calls the Network framework function nw_listener_set_new_connection_handler.
func NwListenerSetNewConnectionLimit ¶
NwListenerSetNewConnectionLimit calls the Network framework function nw_listener_set_new_connection_limit.
func NwListenerSetQueue ¶
NwListenerSetQueue calls the Network framework function nw_listener_set_queue.
func NwListenerSetStateChangedHandler ¶
NwListenerSetStateChangedHandler calls the Network framework function nw_listener_set_state_changed_handler.
func NwListenerStart ¶
NwListenerStart calls the Network framework function nw_listener_start.
func NwMulticastGroupDescriptorGetDisableUnicastTraffic ¶
NwMulticastGroupDescriptorGetDisableUnicastTraffic calls the Network framework function nw_multicast_group_descriptor_get_disable_unicast_traffic.
func NwMulticastGroupDescriptorSetDisableUnicastTraffic ¶
func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicastDescriptor obj.Object, disableUnicastTraffic bool)
NwMulticastGroupDescriptorSetDisableUnicastTraffic calls the Network framework function nw_multicast_group_descriptor_set_disable_unicast_traffic.
func NwMulticastGroupDescriptorSetSpecificSource ¶
NwMulticastGroupDescriptorSetSpecificSource calls the Network framework function nw_multicast_group_descriptor_set_specific_source.
func NwParametersClearProhibitedInterfaceTypes ¶
NwParametersClearProhibitedInterfaceTypes calls the Network framework function nw_parameters_clear_prohibited_interface_types.
func NwParametersClearProhibitedInterfaces ¶
NwParametersClearProhibitedInterfaces calls the Network framework function nw_parameters_clear_prohibited_interfaces.
func NwParametersCopy ¶
NwParametersCopy calls the Network framework function nw_parameters_copy.
func NwParametersCopyDefaultProtocolStack ¶
NwParametersCopyDefaultProtocolStack calls the Network framework function nw_parameters_copy_default_protocol_stack.
func NwParametersCopyLocalEndpoint ¶
NwParametersCopyLocalEndpoint calls the Network framework function nw_parameters_copy_local_endpoint.
func NwParametersCopyRequiredInterface ¶
NwParametersCopyRequiredInterface calls the Network framework function nw_parameters_copy_required_interface.
func NwParametersCreate ¶
NwParametersCreate calls the Network framework function nw_parameters_create.
func NwParametersCreateApplicationService ¶
NwParametersCreateApplicationService calls the Network framework function nw_parameters_create_application_service.
func NwParametersCreateCustomIp ¶
func NwParametersCreateCustomIp(customIpProtocolNumber uint8, configureIp func(obj.Object)) unsafe.Pointer
NwParametersCreateCustomIp calls the Network framework function nw_parameters_create_custom_ip.
func NwParametersCreateQuic ¶
NwParametersCreateQuic calls the Network framework function nw_parameters_create_quic.
func NwParametersCreateSecureTcp ¶
func NwParametersCreateSecureTcp(configureTls func(obj.Object), configureTcp func(obj.Object)) unsafe.Pointer
NwParametersCreateSecureTcp calls the Network framework function nw_parameters_create_secure_tcp.
func NwParametersCreateSecureUdp ¶
func NwParametersCreateSecureUdp(configureDtls func(obj.Object), configureUdp func(obj.Object)) unsafe.Pointer
NwParametersCreateSecureUdp calls the Network framework function nw_parameters_create_secure_udp.
func NwParametersGetAllowUltraConstrained ¶
NwParametersGetAllowUltraConstrained calls the Network framework function nw_parameters_get_allow_ultra_constrained.
func NwParametersGetExpiredDnsBehavior ¶
NwParametersGetExpiredDnsBehavior calls the Network framework function nw_parameters_get_expired_dns_behavior.
func NwParametersGetFastOpenEnabled ¶
NwParametersGetFastOpenEnabled calls the Network framework function nw_parameters_get_fast_open_enabled.
func NwParametersGetIncludePeerToPeer ¶
NwParametersGetIncludePeerToPeer calls the Network framework function nw_parameters_get_include_peer_to_peer.
func NwParametersGetLocalOnly ¶
NwParametersGetLocalOnly calls the Network framework function nw_parameters_get_local_only.
func NwParametersGetMultipathService ¶
NwParametersGetMultipathService calls the Network framework function nw_parameters_get_multipath_service.
func NwParametersGetPreferNoProxy ¶
NwParametersGetPreferNoProxy calls the Network framework function nw_parameters_get_prefer_no_proxy.
func NwParametersGetProhibitConstrained ¶
NwParametersGetProhibitConstrained calls the Network framework function nw_parameters_get_prohibit_constrained.
func NwParametersGetProhibitExpensive ¶
NwParametersGetProhibitExpensive calls the Network framework function nw_parameters_get_prohibit_expensive.
func NwParametersGetRequiredInterfaceType ¶
NwParametersGetRequiredInterfaceType calls the Network framework function nw_parameters_get_required_interface_type.
func NwParametersGetReuseLocalAddress ¶
NwParametersGetReuseLocalAddress calls the Network framework function nw_parameters_get_reuse_local_address.
func NwParametersGetServiceClass ¶
NwParametersGetServiceClass calls the Network framework function nw_parameters_get_service_class.
func NwParametersIterateProhibitedInterfaceTypes ¶
func NwParametersIterateProhibitedInterfaceTypes(parameters obj.Object, iterateBlock unsafe.Pointer)
NwParametersIterateProhibitedInterfaceTypes calls the Network framework function nw_parameters_iterate_prohibited_interface_types.
func NwParametersIterateProhibitedInterfaces ¶
func NwParametersIterateProhibitedInterfaces(parameters obj.Object, iterateBlock func(obj.Object) bool)
NwParametersIterateProhibitedInterfaces calls the Network framework function nw_parameters_iterate_prohibited_interfaces.
func NwParametersProhibitInterface ¶
NwParametersProhibitInterface calls the Network framework function nw_parameters_prohibit_interface.
func NwParametersProhibitInterfaceType ¶
NwParametersProhibitInterfaceType calls the Network framework function nw_parameters_prohibit_interface_type.
func NwParametersRequireInterface ¶
NwParametersRequireInterface calls the Network framework function nw_parameters_require_interface.
func NwParametersRequiresDnssecValidation ¶
NwParametersRequiresDnssecValidation calls the Network framework function nw_parameters_requires_dnssec_validation.
func NwParametersSetAllowUltraConstrained ¶
NwParametersSetAllowUltraConstrained calls the Network framework function nw_parameters_set_allow_ultra_constrained.
func NwParametersSetAttribution ¶
func NwParametersSetAttribution(parameters obj.Object, attribution ParametersAttribution)
NwParametersSetAttribution calls the Network framework function nw_parameters_set_attribution.
func NwParametersSetExpiredDnsBehavior ¶
NwParametersSetExpiredDnsBehavior calls the Network framework function nw_parameters_set_expired_dns_behavior.
func NwParametersSetFastOpenEnabled ¶
NwParametersSetFastOpenEnabled calls the Network framework function nw_parameters_set_fast_open_enabled.
func NwParametersSetIncludePeerToPeer ¶
NwParametersSetIncludePeerToPeer calls the Network framework function nw_parameters_set_include_peer_to_peer.
func NwParametersSetLocalEndpoint ¶
NwParametersSetLocalEndpoint calls the Network framework function nw_parameters_set_local_endpoint.
func NwParametersSetLocalOnly ¶
NwParametersSetLocalOnly calls the Network framework function nw_parameters_set_local_only.
func NwParametersSetMultipathService ¶
NwParametersSetMultipathService calls the Network framework function nw_parameters_set_multipath_service.
func NwParametersSetPreferNoProxy ¶
NwParametersSetPreferNoProxy calls the Network framework function nw_parameters_set_prefer_no_proxy.
func NwParametersSetPrivacyContext ¶
NwParametersSetPrivacyContext calls the Network framework function nw_parameters_set_privacy_context.
func NwParametersSetProhibitConstrained ¶
NwParametersSetProhibitConstrained calls the Network framework function nw_parameters_set_prohibit_constrained.
func NwParametersSetProhibitExpensive ¶
NwParametersSetProhibitExpensive calls the Network framework function nw_parameters_set_prohibit_expensive.
func NwParametersSetRequiredInterfaceType ¶
NwParametersSetRequiredInterfaceType calls the Network framework function nw_parameters_set_required_interface_type.
func NwParametersSetRequiresDnssecValidation ¶
NwParametersSetRequiresDnssecValidation calls the Network framework function nw_parameters_set_requires_dnssec_validation.
func NwParametersSetReuseLocalAddress ¶
NwParametersSetReuseLocalAddress calls the Network framework function nw_parameters_set_reuse_local_address.
func NwParametersSetServiceClass ¶
NwParametersSetServiceClass calls the Network framework function nw_parameters_set_service_class.
func NwPathCopyEffectiveLocalEndpoint ¶
NwPathCopyEffectiveLocalEndpoint calls the Network framework function nw_path_copy_effective_local_endpoint.
func NwPathCopyEffectiveRemoteEndpoint ¶
NwPathCopyEffectiveRemoteEndpoint calls the Network framework function nw_path_copy_effective_remote_endpoint.
func NwPathEnumerateGateways ¶
NwPathEnumerateGateways calls the Network framework function nw_path_enumerate_gateways.
func NwPathEnumerateInterfaces ¶
NwPathEnumerateInterfaces calls the Network framework function nw_path_enumerate_interfaces.
func NwPathGetLinkQuality ¶
NwPathGetLinkQuality calls the Network framework function nw_path_get_link_quality.
func NwPathGetStatus ¶
NwPathGetStatus calls the Network framework function nw_path_get_status.
func NwPathGetUnsatisfiedReason ¶
NwPathGetUnsatisfiedReason calls the Network framework function nw_path_get_unsatisfied_reason.
func NwPathHasDns ¶
NwPathHasDns calls the Network framework function nw_path_has_dns.
func NwPathHasIpv4 ¶
NwPathHasIpv4 calls the Network framework function nw_path_has_ipv4.
func NwPathHasIpv6 ¶
NwPathHasIpv6 calls the Network framework function nw_path_has_ipv6.
func NwPathIsConstrained ¶
NwPathIsConstrained calls the Network framework function nw_path_is_constrained.
func NwPathIsEqual ¶
NwPathIsEqual calls the Network framework function nw_path_is_equal.
func NwPathIsExpensive ¶
NwPathIsExpensive calls the Network framework function nw_path_is_expensive.
func NwPathIsUltraConstrained ¶
NwPathIsUltraConstrained calls the Network framework function nw_path_is_ultra_constrained.
func NwPathMonitorCancel ¶
NwPathMonitorCancel calls the Network framework function nw_path_monitor_cancel.
func NwPathMonitorCreate ¶
NwPathMonitorCreate calls the Network framework function nw_path_monitor_create.
func NwPathMonitorCreateForEthernetChannel ¶
NwPathMonitorCreateForEthernetChannel calls the Network framework function nw_path_monitor_create_for_ethernet_channel.
func NwPathMonitorCreateWithType ¶
NwPathMonitorCreateWithType calls the Network framework function nw_path_monitor_create_with_type.
func NwPathMonitorProhibitInterfaceType ¶
NwPathMonitorProhibitInterfaceType calls the Network framework function nw_path_monitor_prohibit_interface_type.
func NwPathMonitorSetCancelHandler ¶
NwPathMonitorSetCancelHandler calls the Network framework function nw_path_monitor_set_cancel_handler.
func NwPathMonitorSetQueue ¶
NwPathMonitorSetQueue calls the Network framework function nw_path_monitor_set_queue.
func NwPathMonitorSetUpdateHandler ¶
NwPathMonitorSetUpdateHandler calls the Network framework function nw_path_monitor_set_update_handler.
func NwPathMonitorStart ¶
NwPathMonitorStart calls the Network framework function nw_path_monitor_start.
func NwPathUsesInterfaceType ¶
NwPathUsesInterfaceType calls the Network framework function nw_path_uses_interface_type.
func NwPrivacyContextAddProxy ¶
NwPrivacyContextAddProxy calls the Network framework function nw_privacy_context_add_proxy.
func NwPrivacyContextClearProxies ¶
NwPrivacyContextClearProxies calls the Network framework function nw_privacy_context_clear_proxies.
func NwPrivacyContextCreate ¶
NwPrivacyContextCreate calls the Network framework function nw_privacy_context_create.
func NwPrivacyContextDisableLogging ¶
NwPrivacyContextDisableLogging calls the Network framework function nw_privacy_context_disable_logging.
func NwPrivacyContextFlushCache ¶
NwPrivacyContextFlushCache calls the Network framework function nw_privacy_context_flush_cache.
func NwPrivacyContextRequireEncryptedNameResolution ¶
func NwPrivacyContextRequireEncryptedNameResolution(privacyContext obj.Object, requireEncryptedNameResolution bool, fallbackResolverConfig obj.Object)
NwPrivacyContextRequireEncryptedNameResolution calls the Network framework function nw_privacy_context_require_encrypted_name_resolution.
func NwProtocolCopyIpDefinition ¶
NwProtocolCopyIpDefinition calls the Network framework function nw_protocol_copy_ip_definition.
func NwProtocolCopyQuicDefinition ¶
NwProtocolCopyQuicDefinition calls the Network framework function nw_protocol_copy_quic_definition.
func NwProtocolCopyTcpDefinition ¶
NwProtocolCopyTcpDefinition calls the Network framework function nw_protocol_copy_tcp_definition.
func NwProtocolCopyTlsDefinition ¶
NwProtocolCopyTlsDefinition calls the Network framework function nw_protocol_copy_tls_definition.
func NwProtocolCopyUdpDefinition ¶
NwProtocolCopyUdpDefinition calls the Network framework function nw_protocol_copy_udp_definition.
func NwProtocolCopyWsDefinition ¶
NwProtocolCopyWsDefinition calls the Network framework function nw_protocol_copy_ws_definition.
func NwProtocolDefinitionIsEqual ¶
NwProtocolDefinitionIsEqual calls the Network framework function nw_protocol_definition_is_equal.
func NwProtocolMetadataCopyDefinition ¶
NwProtocolMetadataCopyDefinition calls the Network framework function nw_protocol_metadata_copy_definition.
func NwProtocolMetadataIsFramerMessage ¶
NwProtocolMetadataIsFramerMessage calls the Network framework function nw_protocol_metadata_is_framer_message.
func NwProtocolMetadataIsIp ¶
NwProtocolMetadataIsIp calls the Network framework function nw_protocol_metadata_is_ip.
func NwProtocolMetadataIsQuic ¶
NwProtocolMetadataIsQuic calls the Network framework function nw_protocol_metadata_is_quic.
func NwProtocolMetadataIsTcp ¶
NwProtocolMetadataIsTcp calls the Network framework function nw_protocol_metadata_is_tcp.
func NwProtocolMetadataIsTls ¶
NwProtocolMetadataIsTls calls the Network framework function nw_protocol_metadata_is_tls.
func NwProtocolMetadataIsUdp ¶
NwProtocolMetadataIsUdp calls the Network framework function nw_protocol_metadata_is_udp.
func NwProtocolMetadataIsWs ¶
NwProtocolMetadataIsWs calls the Network framework function nw_protocol_metadata_is_ws.
func NwProtocolOptionsCopyDefinition ¶
NwProtocolOptionsCopyDefinition calls the Network framework function nw_protocol_options_copy_definition.
func NwProtocolOptionsIsQuic ¶
NwProtocolOptionsIsQuic calls the Network framework function nw_protocol_options_is_quic.
func NwProtocolStackClearApplicationProtocols ¶
NwProtocolStackClearApplicationProtocols calls the Network framework function nw_protocol_stack_clear_application_protocols.
func NwProtocolStackCopyInternetProtocol ¶
NwProtocolStackCopyInternetProtocol calls the Network framework function nw_protocol_stack_copy_internet_protocol.
func NwProtocolStackCopyTransportProtocol ¶
NwProtocolStackCopyTransportProtocol calls the Network framework function nw_protocol_stack_copy_transport_protocol.
func NwProtocolStackIterateApplicationProtocols ¶
NwProtocolStackIterateApplicationProtocols calls the Network framework function nw_protocol_stack_iterate_application_protocols.
func NwProtocolStackPrependApplicationProtocol ¶
NwProtocolStackPrependApplicationProtocol calls the Network framework function nw_protocol_stack_prepend_application_protocol.
func NwProtocolStackSetTransportProtocol ¶
NwProtocolStackSetTransportProtocol calls the Network framework function nw_protocol_stack_set_transport_protocol.
func NwProxyConfigAddExcludedDomain ¶
NwProxyConfigAddExcludedDomain calls the Network framework function nw_proxy_config_add_excluded_domain.
func NwProxyConfigAddMatchDomain ¶
NwProxyConfigAddMatchDomain calls the Network framework function nw_proxy_config_add_match_domain.
func NwProxyConfigClearExcludedDomains ¶
NwProxyConfigClearExcludedDomains calls the Network framework function nw_proxy_config_clear_excluded_domains.
func NwProxyConfigClearMatchDomains ¶
NwProxyConfigClearMatchDomains calls the Network framework function nw_proxy_config_clear_match_domains.
func NwProxyConfigCreateHttpConnect ¶
func NwProxyConfigCreateHttpConnect(proxyEndpoint obj.Object, proxyTlsOptions obj.Object) unsafe.Pointer
NwProxyConfigCreateHttpConnect calls the Network framework function nw_proxy_config_create_http_connect.
func NwProxyConfigCreateObliviousHttp ¶
func NwProxyConfigCreateObliviousHttp(relay obj.Object, relayResourcePath string, gatewayKeyConfig unsafe.Pointer, gatewayKeyConfigLength int) unsafe.Pointer
NwProxyConfigCreateObliviousHttp calls the Network framework function nw_proxy_config_create_oblivious_http.
func NwProxyConfigCreateRelay ¶
NwProxyConfigCreateRelay calls the Network framework function nw_proxy_config_create_relay.
func NwProxyConfigCreateSocksv5 ¶
NwProxyConfigCreateSocksv5 calls the Network framework function nw_proxy_config_create_socksv5.
func NwProxyConfigEnumerateExcludedDomains ¶
NwProxyConfigEnumerateExcludedDomains calls the Network framework function nw_proxy_config_enumerate_excluded_domains.
func NwProxyConfigEnumerateMatchDomains ¶
NwProxyConfigEnumerateMatchDomains calls the Network framework function nw_proxy_config_enumerate_match_domains.
func NwProxyConfigGetFailoverAllowed ¶
NwProxyConfigGetFailoverAllowed calls the Network framework function nw_proxy_config_get_failover_allowed.
func NwProxyConfigSetFailoverAllowed ¶
NwProxyConfigSetFailoverAllowed calls the Network framework function nw_proxy_config_set_failover_allowed.
func NwProxyConfigSetUsernameAndPassword ¶
NwProxyConfigSetUsernameAndPassword calls the Network framework function nw_proxy_config_set_username_and_password.
func NwQuicAddTlsApplicationProtocol ¶
NwQuicAddTlsApplicationProtocol calls the Network framework function nw_quic_add_tls_application_protocol.
func NwQuicCopySecProtocolMetadata ¶
NwQuicCopySecProtocolMetadata calls the Network framework function nw_quic_copy_sec_protocol_metadata.
func NwQuicCopySecProtocolOptions ¶
NwQuicCopySecProtocolOptions calls the Network framework function nw_quic_copy_sec_protocol_options.
func NwQuicCreateOptions ¶
NwQuicCreateOptions calls the Network framework function nw_quic_create_options.
func NwQuicGetApplicationError ¶
NwQuicGetApplicationError calls the Network framework function nw_quic_get_application_error.
func NwQuicGetApplicationErrorReason ¶
NwQuicGetApplicationErrorReason calls the Network framework function nw_quic_get_application_error_reason.
func NwQuicGetIdleTimeout ¶
NwQuicGetIdleTimeout calls the Network framework function nw_quic_get_idle_timeout.
func NwQuicGetInitialMaxData ¶
NwQuicGetInitialMaxData calls the Network framework function nw_quic_get_initial_max_data.
func NwQuicGetInitialMaxStreamDataBidirectionalLocal ¶
NwQuicGetInitialMaxStreamDataBidirectionalLocal calls the Network framework function nw_quic_get_initial_max_stream_data_bidirectional_local.
func NwQuicGetInitialMaxStreamDataBidirectionalRemote ¶
NwQuicGetInitialMaxStreamDataBidirectionalRemote calls the Network framework function nw_quic_get_initial_max_stream_data_bidirectional_remote.
func NwQuicGetInitialMaxStreamDataUnidirectional ¶
NwQuicGetInitialMaxStreamDataUnidirectional calls the Network framework function nw_quic_get_initial_max_stream_data_unidirectional.
func NwQuicGetInitialMaxStreamsBidirectional ¶
NwQuicGetInitialMaxStreamsBidirectional calls the Network framework function nw_quic_get_initial_max_streams_bidirectional.
func NwQuicGetInitialMaxStreamsUnidirectional ¶
NwQuicGetInitialMaxStreamsUnidirectional calls the Network framework function nw_quic_get_initial_max_streams_unidirectional.
func NwQuicGetKeepaliveInterval ¶
NwQuicGetKeepaliveInterval calls the Network framework function nw_quic_get_keepalive_interval.
func NwQuicGetLocalMaxStreamsBidirectional ¶
NwQuicGetLocalMaxStreamsBidirectional calls the Network framework function nw_quic_get_local_max_streams_bidirectional.
func NwQuicGetLocalMaxStreamsUnidirectional ¶
NwQuicGetLocalMaxStreamsUnidirectional calls the Network framework function nw_quic_get_local_max_streams_unidirectional.
func NwQuicGetMaxDatagramFrameSize ¶
NwQuicGetMaxDatagramFrameSize calls the Network framework function nw_quic_get_max_datagram_frame_size.
func NwQuicGetMaxUdpPayloadSize ¶
NwQuicGetMaxUdpPayloadSize calls the Network framework function nw_quic_get_max_udp_payload_size.
func NwQuicGetRemoteIdleTimeout ¶
NwQuicGetRemoteIdleTimeout calls the Network framework function nw_quic_get_remote_idle_timeout.
func NwQuicGetRemoteMaxStreamsBidirectional ¶
NwQuicGetRemoteMaxStreamsBidirectional calls the Network framework function nw_quic_get_remote_max_streams_bidirectional.
func NwQuicGetRemoteMaxStreamsUnidirectional ¶
NwQuicGetRemoteMaxStreamsUnidirectional calls the Network framework function nw_quic_get_remote_max_streams_unidirectional.
func NwQuicGetStreamApplicationError ¶
NwQuicGetStreamApplicationError calls the Network framework function nw_quic_get_stream_application_error.
func NwQuicGetStreamId ¶
NwQuicGetStreamId calls the Network framework function nw_quic_get_stream_id.
func NwQuicGetStreamIsDatagram ¶
NwQuicGetStreamIsDatagram calls the Network framework function nw_quic_get_stream_is_datagram.
func NwQuicGetStreamIsUnidirectional ¶
NwQuicGetStreamIsUnidirectional calls the Network framework function nw_quic_get_stream_is_unidirectional.
func NwQuicGetStreamType ¶
NwQuicGetStreamType calls the Network framework function nw_quic_get_stream_type.
func NwQuicGetStreamUsableDatagramFrameSize ¶
NwQuicGetStreamUsableDatagramFrameSize calls the Network framework function nw_quic_get_stream_usable_datagram_frame_size.
func NwQuicSetApplicationError ¶
NwQuicSetApplicationError calls the Network framework function nw_quic_set_application_error.
func NwQuicSetIdleTimeout ¶
NwQuicSetIdleTimeout calls the Network framework function nw_quic_set_idle_timeout.
func NwQuicSetInitialMaxData ¶
NwQuicSetInitialMaxData calls the Network framework function nw_quic_set_initial_max_data.
func NwQuicSetInitialMaxStreamDataBidirectionalLocal ¶
func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options obj.Object, initialMaxStreamDataBidirectionalLocal uint64)
NwQuicSetInitialMaxStreamDataBidirectionalLocal calls the Network framework function nw_quic_set_initial_max_stream_data_bidirectional_local.
func NwQuicSetInitialMaxStreamDataBidirectionalRemote ¶
func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options obj.Object, initialMaxStreamDataBidirectionalRemote uint64)
NwQuicSetInitialMaxStreamDataBidirectionalRemote calls the Network framework function nw_quic_set_initial_max_stream_data_bidirectional_remote.
func NwQuicSetInitialMaxStreamDataUnidirectional ¶
func NwQuicSetInitialMaxStreamDataUnidirectional(options obj.Object, initialMaxStreamDataUnidirectional uint64)
NwQuicSetInitialMaxStreamDataUnidirectional calls the Network framework function nw_quic_set_initial_max_stream_data_unidirectional.
func NwQuicSetInitialMaxStreamsBidirectional ¶
func NwQuicSetInitialMaxStreamsBidirectional(options obj.Object, initialMaxStreamsBidirectional uint64)
NwQuicSetInitialMaxStreamsBidirectional calls the Network framework function nw_quic_set_initial_max_streams_bidirectional.
func NwQuicSetInitialMaxStreamsUnidirectional ¶
func NwQuicSetInitialMaxStreamsUnidirectional(options obj.Object, initialMaxStreamsUnidirectional uint64)
NwQuicSetInitialMaxStreamsUnidirectional calls the Network framework function nw_quic_set_initial_max_streams_unidirectional.
func NwQuicSetKeepaliveInterval ¶
NwQuicSetKeepaliveInterval calls the Network framework function nw_quic_set_keepalive_interval.
func NwQuicSetLocalMaxStreamsBidirectional ¶
NwQuicSetLocalMaxStreamsBidirectional calls the Network framework function nw_quic_set_local_max_streams_bidirectional.
func NwQuicSetLocalMaxStreamsUnidirectional ¶
NwQuicSetLocalMaxStreamsUnidirectional calls the Network framework function nw_quic_set_local_max_streams_unidirectional.
func NwQuicSetMaxDatagramFrameSize ¶
NwQuicSetMaxDatagramFrameSize calls the Network framework function nw_quic_set_max_datagram_frame_size.
func NwQuicSetMaxUdpPayloadSize ¶
NwQuicSetMaxUdpPayloadSize calls the Network framework function nw_quic_set_max_udp_payload_size.
func NwQuicSetStreamApplicationError ¶
NwQuicSetStreamApplicationError calls the Network framework function nw_quic_set_stream_application_error.
func NwQuicSetStreamIsDatagram ¶
NwQuicSetStreamIsDatagram calls the Network framework function nw_quic_set_stream_is_datagram.
func NwQuicSetStreamIsUnidirectional ¶
NwQuicSetStreamIsUnidirectional calls the Network framework function nw_quic_set_stream_is_unidirectional.
func NwRelayHopAddAdditionalHttpHeaderField ¶
func NwRelayHopAddAdditionalHttpHeaderField(relayHop obj.Object, fieldName string, fieldValue string)
NwRelayHopAddAdditionalHttpHeaderField calls the Network framework function nw_relay_hop_add_additional_http_header_field.
func NwRelayHopCreate ¶
func NwRelayHopCreate(http3RelayEndpoint obj.Object, http2RelayEndpoint obj.Object, relayTlsOptions obj.Object) unsafe.Pointer
NwRelayHopCreate calls the Network framework function nw_relay_hop_create.
func NwResolutionReportCopyPreferredEndpoint ¶
NwResolutionReportCopyPreferredEndpoint calls the Network framework function nw_resolution_report_copy_preferred_endpoint.
func NwResolutionReportCopySuccessfulEndpoint ¶
NwResolutionReportCopySuccessfulEndpoint calls the Network framework function nw_resolution_report_copy_successful_endpoint.
func NwResolutionReportGetEndpointCount ¶
NwResolutionReportGetEndpointCount calls the Network framework function nw_resolution_report_get_endpoint_count.
func NwResolutionReportGetMilliseconds ¶
NwResolutionReportGetMilliseconds calls the Network framework function nw_resolution_report_get_milliseconds.
func NwResolutionReportGetProtocol ¶
NwResolutionReportGetProtocol calls the Network framework function nw_resolution_report_get_protocol.
func NwResolutionReportGetSource ¶
NwResolutionReportGetSource calls the Network framework function nw_resolution_report_get_source.
func NwResolverConfigAddServerAddress ¶
NwResolverConfigAddServerAddress calls the Network framework function nw_resolver_config_add_server_address.
func NwResolverConfigCreateHttps ¶
NwResolverConfigCreateHttps calls the Network framework function nw_resolver_config_create_https.
func NwResolverConfigCreateTls ¶
NwResolverConfigCreateTls calls the Network framework function nw_resolver_config_create_tls.
func NwTcpCreateOptions ¶
NwTcpCreateOptions calls the Network framework function nw_tcp_create_options.
func NwTcpGetAvailableReceiveBuffer ¶
NwTcpGetAvailableReceiveBuffer calls the Network framework function nw_tcp_get_available_receive_buffer.
func NwTcpGetAvailableSendBuffer ¶
NwTcpGetAvailableSendBuffer calls the Network framework function nw_tcp_get_available_send_buffer.
func NwTcpOptionsSetConnectionTimeout ¶
NwTcpOptionsSetConnectionTimeout calls the Network framework function nw_tcp_options_set_connection_timeout.
func NwTcpOptionsSetDisableAckStretching ¶
NwTcpOptionsSetDisableAckStretching calls the Network framework function nw_tcp_options_set_disable_ack_stretching.
func NwTcpOptionsSetDisableEcn ¶
NwTcpOptionsSetDisableEcn calls the Network framework function nw_tcp_options_set_disable_ecn.
func NwTcpOptionsSetEnableFastOpen ¶
NwTcpOptionsSetEnableFastOpen calls the Network framework function nw_tcp_options_set_enable_fast_open.
func NwTcpOptionsSetEnableKeepalive ¶
NwTcpOptionsSetEnableKeepalive calls the Network framework function nw_tcp_options_set_enable_keepalive.
func NwTcpOptionsSetKeepaliveCount ¶
NwTcpOptionsSetKeepaliveCount calls the Network framework function nw_tcp_options_set_keepalive_count.
func NwTcpOptionsSetKeepaliveIdleTime ¶
NwTcpOptionsSetKeepaliveIdleTime calls the Network framework function nw_tcp_options_set_keepalive_idle_time.
func NwTcpOptionsSetKeepaliveInterval ¶
NwTcpOptionsSetKeepaliveInterval calls the Network framework function nw_tcp_options_set_keepalive_interval.
func NwTcpOptionsSetMaximumSegmentSize ¶
NwTcpOptionsSetMaximumSegmentSize calls the Network framework function nw_tcp_options_set_maximum_segment_size.
func NwTcpOptionsSetMultipathForceVersion ¶
NwTcpOptionsSetMultipathForceVersion calls the Network framework function nw_tcp_options_set_multipath_force_version.
func NwTcpOptionsSetNoDelay ¶
NwTcpOptionsSetNoDelay calls the Network framework function nw_tcp_options_set_no_delay.
func NwTcpOptionsSetNoOptions ¶
NwTcpOptionsSetNoOptions calls the Network framework function nw_tcp_options_set_no_options.
func NwTcpOptionsSetNoPush ¶
NwTcpOptionsSetNoPush calls the Network framework function nw_tcp_options_set_no_push.
func NwTcpOptionsSetPersistTimeout ¶
NwTcpOptionsSetPersistTimeout calls the Network framework function nw_tcp_options_set_persist_timeout.
func NwTcpOptionsSetRetransmitConnectionDropTime ¶
func NwTcpOptionsSetRetransmitConnectionDropTime(options obj.Object, retransmitConnectionDropTime uint32)
NwTcpOptionsSetRetransmitConnectionDropTime calls the Network framework function nw_tcp_options_set_retransmit_connection_drop_time.
func NwTcpOptionsSetRetransmitFinDrop ¶
NwTcpOptionsSetRetransmitFinDrop calls the Network framework function nw_tcp_options_set_retransmit_fin_drop.
func NwTlsCopySecProtocolMetadata ¶
NwTlsCopySecProtocolMetadata calls the Network framework function nw_tls_copy_sec_protocol_metadata.
func NwTlsCopySecProtocolOptions ¶
NwTlsCopySecProtocolOptions calls the Network framework function nw_tls_copy_sec_protocol_options.
func NwTlsCreateOptions ¶
NwTlsCreateOptions calls the Network framework function nw_tls_create_options.
func NwTxtRecordAccessBytes ¶
NwTxtRecordAccessBytes calls the Network framework function nw_txt_record_access_bytes.
func NwTxtRecordAccessKey ¶
NwTxtRecordAccessKey calls the Network framework function nw_txt_record_access_key.
func NwTxtRecordApply ¶
NwTxtRecordApply calls the Network framework function nw_txt_record_apply.
func NwTxtRecordCopy ¶
NwTxtRecordCopy calls the Network framework function nw_txt_record_copy.
func NwTxtRecordCreateDictionary ¶
NwTxtRecordCreateDictionary calls the Network framework function nw_txt_record_create_dictionary.
func NwTxtRecordCreateWithBytes ¶
NwTxtRecordCreateWithBytes calls the Network framework function nw_txt_record_create_with_bytes.
func NwTxtRecordFindKey ¶
NwTxtRecordFindKey calls the Network framework function nw_txt_record_find_key.
func NwTxtRecordGetKeyCount ¶
NwTxtRecordGetKeyCount calls the Network framework function nw_txt_record_get_key_count.
func NwTxtRecordIsDictionary ¶
NwTxtRecordIsDictionary calls the Network framework function nw_txt_record_is_dictionary.
func NwTxtRecordIsEqual ¶
NwTxtRecordIsEqual calls the Network framework function nw_txt_record_is_equal.
func NwTxtRecordRemoveKey ¶
NwTxtRecordRemoveKey calls the Network framework function nw_txt_record_remove_key.
func NwTxtRecordSetKey ¶
NwTxtRecordSetKey calls the Network framework function nw_txt_record_set_key.
func NwUdpCreateMetadata ¶
NwUdpCreateMetadata calls the Network framework function nw_udp_create_metadata.
func NwUdpCreateOptions ¶
NwUdpCreateOptions calls the Network framework function nw_udp_create_options.
func NwUdpOptionsSetPreferNoChecksum ¶
NwUdpOptionsSetPreferNoChecksum calls the Network framework function nw_udp_options_set_prefer_no_checksum.
func NwWsCreateMetadata ¶
NwWsCreateMetadata calls the Network framework function nw_ws_create_metadata.
func NwWsCreateOptions ¶
NwWsCreateOptions calls the Network framework function nw_ws_create_options.
func NwWsMetadataCopyServerResponse ¶
NwWsMetadataCopyServerResponse calls the Network framework function nw_ws_metadata_copy_server_response.
func NwWsMetadataGetCloseCode ¶
NwWsMetadataGetCloseCode calls the Network framework function nw_ws_metadata_get_close_code.
func NwWsMetadataGetOpcode ¶
NwWsMetadataGetOpcode calls the Network framework function nw_ws_metadata_get_opcode.
func NwWsMetadataSetCloseCode ¶
NwWsMetadataSetCloseCode calls the Network framework function nw_ws_metadata_set_close_code.
func NwWsMetadataSetPongHandler ¶
func NwWsMetadataSetPongHandler(metadata obj.Object, clientQueue dispatch.Queue, pongHandler func(obj.Object))
NwWsMetadataSetPongHandler calls the Network framework function nw_ws_metadata_set_pong_handler.
func NwWsOptionsAddAdditionalHeader ¶
NwWsOptionsAddAdditionalHeader calls the Network framework function nw_ws_options_add_additional_header.
func NwWsOptionsAddSubprotocol ¶
NwWsOptionsAddSubprotocol calls the Network framework function nw_ws_options_add_subprotocol.
func NwWsOptionsSetAutoReplyPing ¶
NwWsOptionsSetAutoReplyPing calls the Network framework function nw_ws_options_set_auto_reply_ping.
func NwWsOptionsSetClientRequestHandler ¶
func NwWsOptionsSetClientRequestHandler(options obj.Object, clientQueue dispatch.Queue, handler func(obj.Object) int)
NwWsOptionsSetClientRequestHandler calls the Network framework function nw_ws_options_set_client_request_handler.
func NwWsOptionsSetMaximumMessageSize ¶
NwWsOptionsSetMaximumMessageSize calls the Network framework function nw_ws_options_set_maximum_message_size.
func NwWsOptionsSetSkipHandshake ¶
NwWsOptionsSetSkipHandshake calls the Network framework function nw_ws_options_set_skip_handshake.
func NwWsRequestEnumerateAdditionalHeaders ¶
func NwWsRequestEnumerateAdditionalHeaders(request obj.Object, enumerator func(string, string) bool) bool
NwWsRequestEnumerateAdditionalHeaders calls the Network framework function nw_ws_request_enumerate_additional_headers.
func NwWsRequestEnumerateSubprotocols ¶
NwWsRequestEnumerateSubprotocols calls the Network framework function nw_ws_request_enumerate_subprotocols.
func NwWsResponseAddAdditionalHeader ¶
NwWsResponseAddAdditionalHeader calls the Network framework function nw_ws_response_add_additional_header.
func NwWsResponseCreate ¶
NwWsResponseCreate calls the Network framework function nw_ws_response_create.
func NwWsResponseEnumerateAdditionalHeaders ¶
func NwWsResponseEnumerateAdditionalHeaders(response obj.Object, enumerator func(string, string) bool) bool
NwWsResponseEnumerateAdditionalHeaders calls the Network framework function nw_ws_response_enumerate_additional_headers.
func NwWsResponseGetSelectedSubprotocol ¶
NwWsResponseGetSelectedSubprotocol calls the Network framework function nw_ws_response_get_selected_subprotocol.
func NwWsResponseGetStatus ¶
NwWsResponseGetStatus calls the Network framework function nw_ws_response_get_status.
func Nw_connection_send_idempotent_content ¶
func Nw_connection_send_idempotent_content() uintptr
Nw_connection_send_idempotent_content returns the address of the symbol _nw_connection_send_idempotent_content.
func Nw_content_context_default_message ¶
func Nw_content_context_default_message() uintptr
Nw_content_context_default_message returns the address of the symbol _nw_content_context_default_message.
func Nw_content_context_default_stream ¶
func Nw_content_context_default_stream() uintptr
Nw_content_context_default_stream returns the address of the symbol _nw_content_context_default_stream.
func Nw_content_context_final_send ¶
func Nw_content_context_final_send() uintptr
Nw_content_context_final_send returns the address of the symbol _nw_content_context_final_send.
func Nw_data_transfer_report_all_paths ¶
func Nw_data_transfer_report_all_paths() uint
Nw_data_transfer_report_all_paths returns the value of the constant _nw_data_transfer_report_all_paths.
func Nw_parameters_configure_protocol_default_configuration ¶
func Nw_parameters_configure_protocol_default_configuration() uintptr
Nw_parameters_configure_protocol_default_configuration returns the address of the symbol _nw_parameters_configure_protocol_default_configuration.
func Nw_parameters_configure_protocol_disable ¶
func Nw_parameters_configure_protocol_disable() uintptr
Nw_parameters_configure_protocol_disable returns the address of the symbol _nw_parameters_configure_protocol_disable.
func Nw_privacy_context_default_context ¶
func Nw_privacy_context_default_context() uintptr
Nw_privacy_context_default_context returns the address of the symbol _nw_privacy_context_default_context.
Types ¶
type ACLEntryID ¶ added in v0.17.0
type ACLEntryID int32
const ( ACLEntryIDFirstEntry ACLEntryID = 0 ACLEntryIDNextEntry ACLEntryID = -1 ACLEntryIDLastEntry ACLEntryID = -2 )
func (ACLEntryID) String ¶ added in v0.17.0
func (e ACLEntryID) String() string
String returns the ACLEntryID constant's name, or its numeric form when the value is not a known constant.
type ACLPerm ¶ added in v0.17.0
type ACLPerm int32
const ( ACLPermReadData ACLPerm = 2 ACLPermListDirectory ACLPerm = 2 ACLPermWriteData ACLPerm = 4 ACLPermAddFile ACLPerm = 4 ACLPermExecute ACLPerm = 8 ACLPermSearch ACLPerm = 8 ACLPermDelete ACLPerm = 16 ACLPermAppendData ACLPerm = 32 ACLPermAddSubdirectory ACLPerm = 32 ACLPermDeleteChild ACLPerm = 64 ACLPermReadAttributes ACLPerm = 128 ACLPermWriteAttributes ACLPerm = 256 ACLPermReadExtattributes ACLPerm = 512 ACLPermWriteExtattributes ACLPerm = 1024 ACLPermReadSecurity ACLPerm = 2048 ACLPermWriteSecurity ACLPerm = 4096 ACLPermChangeOwner ACLPerm = 8192 ACLPermSynchronize ACLPerm = 1048576 )
type BrowserState ¶ added in v0.17.0
type BrowserState int32
States indicating whether a browser is able to discover services.
const ( Nw_browser_state_invalid BrowserState = 0 Nw_browser_state_ready BrowserState = 1 Nw_browser_state_failed BrowserState = 2 Nw_browser_state_cancelled BrowserState = 3 Nw_browser_state_waiting BrowserState = 4 )
func (BrowserState) String ¶ added in v0.17.0
func (e BrowserState) String() string
String returns the BrowserState constant's name, or its numeric form when the value is not a known constant.
type ConnectionGroupState ¶ added in v0.17.0
type ConnectionGroupState int32
States that indicate whether you can use a connection group to send and receive messages.
const ( Nw_connection_group_state_invalid ConnectionGroupState = 0 Nw_connection_group_state_waiting ConnectionGroupState = 1 Nw_connection_group_state_ready ConnectionGroupState = 2 Nw_connection_group_state_failed ConnectionGroupState = 3 Nw_connection_group_state_cancelled ConnectionGroupState = 4 )
func (ConnectionGroupState) String ¶ added in v0.17.0
func (e ConnectionGroupState) String() string
String returns the ConnectionGroupState constant's name, or its numeric form when the value is not a known constant.
type ConnectionState ¶ added in v0.17.0
type ConnectionState int32
States indicating whether a connection can be used to send and receive data.
const ( Nw_connection_state_invalid ConnectionState = 0 Nw_connection_state_waiting ConnectionState = 1 Nw_connection_state_preparing ConnectionState = 2 Nw_connection_state_ready ConnectionState = 3 Nw_connection_state_failed ConnectionState = 4 Nw_connection_state_cancelled ConnectionState = 5 )
func (ConnectionState) String ¶ added in v0.17.0
func (e ConnectionState) String() string
String returns the ConnectionState constant's name, or its numeric form when the value is not a known constant.
type DNSServiceAAAAPolicy ¶
type DNSServiceAAAAPolicy int32
const ( KDNSServiceAAAAPolicyNone DNSServiceAAAAPolicy = 0 KDNSServiceAAAAPolicyFallback DNSServiceAAAAPolicy = 1 )
func (DNSServiceAAAAPolicy) String ¶
func (e DNSServiceAAAAPolicy) String() string
String returns the DNSServiceAAAAPolicy constant's name, or its numeric form when the value is not a known constant.
type DataTransferReportState ¶ added in v0.17.0
type DataTransferReportState int32
States indicating whether a data transfer report is collected yet.
const ( Nw_data_transfer_report_state_collecting DataTransferReportState = 1 Nw_data_transfer_report_state_collected DataTransferReportState = 2 )
func (DataTransferReportState) String ¶ added in v0.17.0
func (e DataTransferReportState) String() string
String returns the DataTransferReportState constant's name, or its numeric form when the value is not a known constant.
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 EndpointType ¶ added in v0.17.0
type EndpointType int32
The type of a network endpoint, such as a host or a service.
const ( Nw_endpoint_type_invalid EndpointType = 0 Nw_endpoint_type_address EndpointType = 1 Nw_endpoint_type_host EndpointType = 2 Nw_endpoint_type_bonjour_service EndpointType = 3 Nw_endpoint_type_url EndpointType = 4 )
func (EndpointType) String ¶ added in v0.17.0
func (e EndpointType) String() string
String returns the EndpointType constant's name, or its numeric form when the value is not a known constant.
type ErrorDomain ¶ added in v0.17.0
type ErrorDomain int32
The error domain for errors used by the Network framework.
const ( Nw_error_domain_invalid ErrorDomain = 0 Nw_error_domain_posix ErrorDomain = 1 Nw_error_domain_dns ErrorDomain = 2 Nw_error_domain_tls ErrorDomain = 3 Nw_error_domain_wifi_aware ErrorDomain = 4 )
func (ErrorDomain) String ¶ added in v0.17.0
func (e ErrorDomain) String() string
String returns the ErrorDomain constant's name, or its numeric form when the value is not a known constant.
type EthernetChannelState ¶ added in v0.17.0
type EthernetChannelState int32
States indicating whether an Ethernet channel is able to send and receive frames.
const ( Nw_ethernet_channel_state_invalid EthernetChannelState = 0 Nw_ethernet_channel_state_waiting EthernetChannelState = 1 Nw_ethernet_channel_state_preparing EthernetChannelState = 2 Nw_ethernet_channel_state_ready EthernetChannelState = 3 Nw_ethernet_channel_state_failed EthernetChannelState = 4 Nw_ethernet_channel_state_cancelled EthernetChannelState = 5 )
func (EthernetChannelState) String ¶ added in v0.17.0
func (e EthernetChannelState) String() string
String returns the EthernetChannelState 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 FramerStartResult ¶ added in v0.17.0
type FramerStartResult int32
Results that you send to indicate the disposition of your protocol after the start handler is invoked.
const ( Nw_framer_start_result_ready FramerStartResult = 1 Nw_framer_start_result_will_mark_ready FramerStartResult = 2 )
func (FramerStartResult) String ¶ added in v0.17.0
func (e FramerStartResult) String() string
String returns the FramerStartResult constant's name, or its numeric form when the value is not a known constant.
type IPEcnFlag ¶ added in v0.17.0
type IPEcnFlag int32
Flag values for Explicit Congestion Notifications in IP packets.
type IPLocalAddressPreference ¶ added in v0.17.0
type IPLocalAddressPreference int32
Types of local addresses that can be selected, such as temporary or stable.
const ( Nw_ip_local_address_preference_default IPLocalAddressPreference = 0 Nw_ip_local_address_preference_temporary IPLocalAddressPreference = 1 Nw_ip_local_address_preference_stable IPLocalAddressPreference = 2 )
func (IPLocalAddressPreference) String ¶ added in v0.17.0
func (e IPLocalAddressPreference) String() string
String returns the IPLocalAddressPreference constant's name, or its numeric form when the value is not a known constant.
type IPVersion ¶ added in v0.17.0
type IPVersion int32
IP versions to require on connections and listeners.
type InterfaceRadioType ¶ added in v0.17.0
type InterfaceRadioType int32
Interface radio types represent the radio technology for a network link.
const ( Nw_interface_radio_type_unknown InterfaceRadioType = 0 Nw_interface_radio_type_wifi_b InterfaceRadioType = 1 Nw_interface_radio_type_wifi_a InterfaceRadioType = 2 Nw_interface_radio_type_wifi_g InterfaceRadioType = 3 Nw_interface_radio_type_wifi_n InterfaceRadioType = 4 Nw_interface_radio_type_wifi_ac InterfaceRadioType = 5 Nw_interface_radio_type_wifi_ax InterfaceRadioType = 6 Nw_interface_radio_type_cell_lte InterfaceRadioType = 128 Nw_interface_radio_type_cell_endc_sub6 InterfaceRadioType = 129 Nw_interface_radio_type_cell_endc_mmw InterfaceRadioType = 130 Nw_interface_radio_type_cell_nr_sa_sub6 InterfaceRadioType = 131 Nw_interface_radio_type_cell_nr_sa_mmw InterfaceRadioType = 132 Nw_interface_radio_type_cell_wcdma InterfaceRadioType = 133 Nw_interface_radio_type_cell_gsm InterfaceRadioType = 134 Nw_interface_radio_type_cell_cdma InterfaceRadioType = 135 Nw_interface_radio_type_cell_evdo InterfaceRadioType = 136 )
func (InterfaceRadioType) String ¶ added in v0.17.0
func (e InterfaceRadioType) String() string
String returns the InterfaceRadioType constant's name, or its numeric form when the value is not a known constant.
type InterfaceType ¶ added in v0.17.0
type InterfaceType int32
Types of network interfaces, based on their link layer media types.
const ( Nw_interface_type_other InterfaceType = 0 Nw_interface_type_wifi InterfaceType = 1 Nw_interface_type_cellular InterfaceType = 2 Nw_interface_type_wired InterfaceType = 3 Nw_interface_type_loopback InterfaceType = 4 )
func (InterfaceType) String ¶ added in v0.17.0
func (e InterfaceType) String() string
String returns the InterfaceType 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 LinkQuality ¶ added in v0.17.0
type LinkQuality int32
Link quality measurement is a representation of the expected capabilities of the link layer network attachment. Use this value to tune initial values for algorithms that can scale with the capabilities of the network. Do not use this value to gate connection attempts or to override adjustments that would be made based on actual network performance.
const ( Nw_link_quality_unknown LinkQuality = 0 Nw_link_quality_minimal LinkQuality = 10 Nw_link_quality_moderate LinkQuality = 20 Nw_link_quality_good LinkQuality = 30 )
func (LinkQuality) String ¶ added in v0.17.0
func (e LinkQuality) String() string
String returns the LinkQuality constant's name, or its numeric form when the value is not a known constant.
type ListenerState ¶ added in v0.17.0
type ListenerState int32
States indicating whether a listener is able to accept incoming connections.
const ( Nw_listener_state_invalid ListenerState = 0 Nw_listener_state_waiting ListenerState = 1 Nw_listener_state_ready ListenerState = 2 Nw_listener_state_failed ListenerState = 3 Nw_listener_state_cancelled ListenerState = 4 )
func (ListenerState) String ¶ added in v0.17.0
func (e ListenerState) String() string
String returns the ListenerState 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 MultipathService ¶ added in v0.17.0
type MultipathService int32
Modes in which a connection can support multipath protocols.
const ( Nw_multipath_service_disabled MultipathService = 0 Nw_multipath_service_handover MultipathService = 1 Nw_multipath_service_interactive MultipathService = 2 Nw_multipath_service_aggregate MultipathService = 3 )
func (MultipathService) String ¶ added in v0.17.0
func (e MultipathService) String() string
String returns the MultipathService constant's name, or its numeric form when the value is not a known constant.
type MultipathVersion ¶ added in v0.17.0
type MultipathVersion int32
Multipath versions represent the MPTCP standard versions
const ( Nw_multipath_version_unspecified MultipathVersion = -1 Nw_multipath_version_0 MultipathVersion = 0 Nw_multipath_version_1 MultipathVersion = 1 )
func (MultipathVersion) String ¶ added in v0.17.0
func (e MultipathVersion) String() string
String returns the MultipathVersion constant's name, or its numeric form when the value is not a known constant.
type OS_nw_advertise_descriptor ¶
type OS_nw_advertise_descriptor interface {
}
OS_nw_advertise_descriptor is the Go form of the Objective-C protocol OS_nw_advertise_descriptor.
type OS_nw_browse_descriptor ¶
type OS_nw_browse_descriptor interface {
}
OS_nw_browse_descriptor is the Go form of the Objective-C protocol OS_nw_browse_descriptor.
type OS_nw_browse_result ¶
type OS_nw_browse_result interface {
}
OS_nw_browse_result is the Go form of the Objective-C protocol OS_nw_browse_result.
type OS_nw_browser ¶
type OS_nw_browser interface {
}
OS_nw_browser is the Go form of the Objective-C protocol OS_nw_browser.
type OS_nw_connection ¶
type OS_nw_connection interface {
}
OS_nw_connection is the Go form of the Objective-C protocol OS_nw_connection.
type OS_nw_connection_group ¶
type OS_nw_connection_group interface {
}
OS_nw_connection_group is the Go form of the Objective-C protocol OS_nw_connection_group.
type OS_nw_content_context ¶
type OS_nw_content_context interface {
}
OS_nw_content_context is the Go form of the Objective-C protocol OS_nw_content_context.
type OS_nw_data_transfer_report ¶
type OS_nw_data_transfer_report interface {
}
OS_nw_data_transfer_report is the Go form of the Objective-C protocol OS_nw_data_transfer_report.
type OS_nw_endpoint ¶
type OS_nw_endpoint interface {
}
OS_nw_endpoint is the Go form of the Objective-C protocol OS_nw_endpoint.
type OS_nw_error ¶
type OS_nw_error interface {
}
OS_nw_error is the Go form of the Objective-C protocol OS_nw_error.
type OS_nw_establishment_report ¶
type OS_nw_establishment_report interface {
}
OS_nw_establishment_report is the Go form of the Objective-C protocol OS_nw_establishment_report.
type OS_nw_ethernet_channel ¶
type OS_nw_ethernet_channel interface {
}
OS_nw_ethernet_channel is the Go form of the Objective-C protocol OS_nw_ethernet_channel.
type OS_nw_framer ¶
type OS_nw_framer interface {
}
OS_nw_framer is the Go form of the Objective-C protocol OS_nw_framer.
type OS_nw_group_descriptor ¶
type OS_nw_group_descriptor interface {
}
OS_nw_group_descriptor is the Go form of the Objective-C protocol OS_nw_group_descriptor.
type OS_nw_interface ¶
type OS_nw_interface interface {
}
OS_nw_interface is the Go form of the Objective-C protocol OS_nw_interface.
type OS_nw_listener ¶
type OS_nw_listener interface {
}
OS_nw_listener is the Go form of the Objective-C protocol OS_nw_listener.
type OS_nw_object ¶
type OS_nw_object interface {
}
OS_nw_object is the Go form of the Objective-C protocol OS_nw_object.
type OS_nw_parameters ¶
type OS_nw_parameters interface {
}
OS_nw_parameters is the Go form of the Objective-C protocol OS_nw_parameters.
type OS_nw_path ¶
type OS_nw_path interface {
}
OS_nw_path is the Go form of the Objective-C protocol OS_nw_path.
type OS_nw_path_monitor ¶
type OS_nw_path_monitor interface {
}
OS_nw_path_monitor is the Go form of the Objective-C protocol OS_nw_path_monitor.
type OS_nw_privacy_context ¶
type OS_nw_privacy_context interface {
}
OS_nw_privacy_context is the Go form of the Objective-C protocol OS_nw_privacy_context.
type OS_nw_protocol_definition ¶
type OS_nw_protocol_definition interface {
}
OS_nw_protocol_definition is the Go form of the Objective-C protocol OS_nw_protocol_definition.
type OS_nw_protocol_metadata ¶
type OS_nw_protocol_metadata interface {
}
OS_nw_protocol_metadata is the Go form of the Objective-C protocol OS_nw_protocol_metadata.
type OS_nw_protocol_options ¶
type OS_nw_protocol_options interface {
}
OS_nw_protocol_options is the Go form of the Objective-C protocol OS_nw_protocol_options.
type OS_nw_protocol_stack ¶
type OS_nw_protocol_stack interface {
}
OS_nw_protocol_stack is the Go form of the Objective-C protocol OS_nw_protocol_stack.
type OS_nw_proxy_config ¶
type OS_nw_proxy_config interface {
}
OS_nw_proxy_config is the Go form of the Objective-C protocol OS_nw_proxy_config.
type OS_nw_relay_hop ¶
type OS_nw_relay_hop interface {
}
OS_nw_relay_hop is the Go form of the Objective-C protocol OS_nw_relay_hop.
type OS_nw_resolution_report ¶
type OS_nw_resolution_report interface {
}
OS_nw_resolution_report is the Go form of the Objective-C protocol OS_nw_resolution_report.
type OS_nw_resolver_config ¶
type OS_nw_resolver_config interface {
}
OS_nw_resolver_config is the Go form of the Objective-C protocol OS_nw_resolver_config.
type OS_nw_txt_record ¶
type OS_nw_txt_record interface {
}
OS_nw_txt_record is the Go form of the Objective-C protocol OS_nw_txt_record.
type OS_nw_ws_request ¶
type OS_nw_ws_request interface {
}
OS_nw_ws_request is the Go form of the Objective-C protocol OS_nw_ws_request.
type OS_nw_ws_response ¶
type OS_nw_ws_response interface {
}
OS_nw_ws_response is the Go form of the Objective-C protocol OS_nw_ws_response.
type ParametersAttribution ¶ added in v0.17.0
type ParametersAttribution uint8
The entities that can make a network request.
const ( // A developer-initiated network request. Nw_parameters_attribution_developer ParametersAttribution = 1 // The user explicitly directs the app to make a network request. Nw_parameters_attribution_user ParametersAttribution = 2 )
func NwParametersGetAttribution ¶
func NwParametersGetAttribution(parameters obj.Object) ParametersAttribution
NwParametersGetAttribution calls the Network framework function nw_parameters_get_attribution.
func (ParametersAttribution) String ¶ added in v0.17.0
func (e ParametersAttribution) String() string
String returns the ParametersAttribution constant's name, or its numeric form when the value is not a known constant.
type ParametersExpiredDNSBehavior ¶ added in v0.17.0
type ParametersExpiredDNSBehavior int32
Options for configuring how expired DNS answers should be used.
const ( Nw_parameters_expired_dns_behavior_default ParametersExpiredDNSBehavior = 0 Nw_parameters_expired_dns_behavior_allow ParametersExpiredDNSBehavior = 1 Nw_parameters_expired_dns_behavior_prohibit ParametersExpiredDNSBehavior = 2 Nw_parameters_expired_dns_behavior_persistent ParametersExpiredDNSBehavior = 3 )
func (ParametersExpiredDNSBehavior) String ¶ added in v0.17.0
func (e ParametersExpiredDNSBehavior) String() string
String returns the ParametersExpiredDNSBehavior constant's name, or its numeric form when the value is not a known constant.
type PathStatus ¶ added in v0.17.0
type PathStatus int32
Status values indicating whether a path can be used by connections.
const ( Nw_path_status_invalid PathStatus = 0 Nw_path_status_satisfied PathStatus = 1 Nw_path_status_unsatisfied PathStatus = 2 Nw_path_status_satisfiable PathStatus = 3 )
func (PathStatus) String ¶ added in v0.17.0
func (e PathStatus) String() string
String returns the PathStatus constant's name, or its numeric form when the value is not a known constant.
type PathUnsatisfiedReason ¶ added in v0.17.0
type PathUnsatisfiedReason int32
A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.
const ( Nw_path_unsatisfied_reason_not_available PathUnsatisfiedReason = 0 Nw_path_unsatisfied_reason_cellular_denied PathUnsatisfiedReason = 1 Nw_path_unsatisfied_reason_wifi_denied PathUnsatisfiedReason = 2 Nw_path_unsatisfied_reason_local_network_denied PathUnsatisfiedReason = 3 Nw_path_unsatisfied_reason_vpn_inactive PathUnsatisfiedReason = 4 )
func (PathUnsatisfiedReason) String ¶ added in v0.17.0
func (e PathUnsatisfiedReason) String() string
String returns the PathUnsatisfiedReason constant's name, or its numeric form when the value is not a known constant.
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 QuicStreamType ¶ added in v0.17.0
type QuicStreamType int32
Represents the type of a QUIC stream.
const ( Nw_quic_stream_type_unknown QuicStreamType = 0 Nw_quic_stream_type_bidirectional QuicStreamType = 1 Nw_quic_stream_type_unidirectional QuicStreamType = 2 Nw_quic_stream_type_datagram QuicStreamType = 3 )
func (QuicStreamType) String ¶ added in v0.17.0
func (e QuicStreamType) String() string
String returns the QuicStreamType constant's name, or its numeric form when the value is not a known constant.
type ReportResolutionProtocol ¶ added in v0.17.0
type ReportResolutionProtocol int32
A set of transport protocols connections use for DNS resolution.
const ( Nw_report_resolution_protocol_unknown ReportResolutionProtocol = 0 Nw_report_resolution_protocol_udp ReportResolutionProtocol = 1 Nw_report_resolution_protocol_tcp ReportResolutionProtocol = 2 Nw_report_resolution_protocol_tls ReportResolutionProtocol = 3 Nw_report_resolution_protocol_https ReportResolutionProtocol = 4 )
func (ReportResolutionProtocol) String ¶ added in v0.17.0
func (e ReportResolutionProtocol) String() string
String returns the ReportResolutionProtocol constant's name, or its numeric form when the value is not a known constant.
type ReportResolutionSource ¶ added in v0.17.0
type ReportResolutionSource int32
Sources that may provide DNS responses.
const ( Nw_report_resolution_source_query ReportResolutionSource = 1 Nw_report_resolution_source_cache ReportResolutionSource = 2 Nw_report_resolution_source_expired_cache ReportResolutionSource = 3 )
func (ReportResolutionSource) String ¶ added in v0.17.0
func (e ReportResolutionSource) String() string
String returns the ReportResolutionSource constant's name, or its numeric form when the value is not a known constant.
type ServiceClass ¶ added in v0.17.0
type ServiceClass int32
Levels of service quality that can be used with a connection.
const ( Nw_service_class_best_effort ServiceClass = 0 Nw_service_class_background ServiceClass = 1 Nw_service_class_interactive_video ServiceClass = 2 Nw_service_class_interactive_voice ServiceClass = 3 Nw_service_class_responsive_data ServiceClass = 4 Nw_service_class_signaling ServiceClass = 5 )
func (ServiceClass) String ¶ added in v0.17.0
func (e ServiceClass) String() string
String returns the ServiceClass constant's name, or its numeric form when the value is not a known constant.
type TxtRecordFindKey ¶ added in v0.17.0
type TxtRecordFindKey int32
Status values describing what kind of value is stored in a TXT record dictionary.
const ( Nw_txt_record_find_key_invalid TxtRecordFindKey = 0 Nw_txt_record_find_key_not_present TxtRecordFindKey = 1 Nw_txt_record_find_key_no_value TxtRecordFindKey = 2 Nw_txt_record_find_key_empty_value TxtRecordFindKey = 3 Nw_txt_record_find_key_non_empty_value TxtRecordFindKey = 4 )
func (TxtRecordFindKey) String ¶ added in v0.17.0
func (e TxtRecordFindKey) String() string
String returns the TxtRecordFindKey constant's name, or its numeric form when the value is not a known constant.
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 WsCloseCode ¶ added in v0.17.0
type WsCloseCode int32
Types of codes used upon closing a WebSocket connection.
const ( Nw_ws_close_code_normal_closure WsCloseCode = 1000 Nw_ws_close_code_going_away WsCloseCode = 1001 Nw_ws_close_code_protocol_error WsCloseCode = 1002 Nw_ws_close_code_unsupported_data WsCloseCode = 1003 Nw_ws_close_code_no_status_received WsCloseCode = 1005 Nw_ws_close_code_abnormal_closure WsCloseCode = 1006 Nw_ws_close_code_invalid_frame_payload_data WsCloseCode = 1007 Nw_ws_close_code_policy_violation WsCloseCode = 1008 Nw_ws_close_code_message_too_big WsCloseCode = 1009 Nw_ws_close_code_mandatory_extension WsCloseCode = 1010 Nw_ws_close_code_internal_server_error WsCloseCode = 1011 Nw_ws_close_code_tls_handshake WsCloseCode = 1015 )
func (WsCloseCode) String ¶ added in v0.17.0
func (e WsCloseCode) String() string
String returns the WsCloseCode constant's name, or its numeric form when the value is not a known constant.
type WsOpcode ¶ added in v0.17.0
type WsOpcode int32
Types of messages that you send and receive on a WebSocket connection.
type WsResponseStatus ¶ added in v0.17.0
type WsResponseStatus int32
Status values that are sent with a WebSocket server response.
const ( Nw_ws_response_status_invalid WsResponseStatus = 0 Nw_ws_response_status_accept WsResponseStatus = 1 Nw_ws_response_status_reject WsResponseStatus = 2 )
func (WsResponseStatus) String ¶ added in v0.17.0
func (e WsResponseStatus) String() string
String returns the WsResponseStatus constant's name, or its numeric form when the value is not a known constant.
type WsVersion ¶ added in v0.17.0
type WsVersion int32
Supported versions of the WebSocket protocol.
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.