Documentation
¶
Overview ¶
Package network provides purego-based Go bindings for the macOS Network framework.
Apple documentation: https://developer.apple.com/documentation/network
Index ¶
- Constants
- func KNWErrorDomainDNS() uintptr
- func KNWErrorDomainPOSIX() uintptr
- func KNWErrorDomainTLS() uintptr
- func KNWErrorDomainWiFiAware() uintptr
- func NwAdvertiseDescriptorCopyTxtRecordObject(advertiseDescriptor *foundation.NSObject) unsafe.Pointer
- func NwAdvertiseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer
- func NwAdvertiseDescriptorCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer
- func NwAdvertiseDescriptorGetApplicationServiceName(advertiseDescriptor *foundation.NSObject) string
- func NwAdvertiseDescriptorGetNoAutoRename(advertiseDescriptor *foundation.NSObject) bool
- func NwAdvertiseDescriptorSetNoAutoRename(advertiseDescriptor *foundation.NSObject, noAutoRename bool)
- func NwAdvertiseDescriptorSetTxtRecord(advertiseDescriptor *foundation.NSObject, txtRecord unsafe.Pointer, ...)
- func NwAdvertiseDescriptorSetTxtRecordObject(advertiseDescriptor *foundation.NSObject, txtRecord *foundation.NSObject)
- func NwBrowseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer
- func NwBrowseDescriptorCreateBonjourService(type_ string, domain string) unsafe.Pointer
- func NwBrowseDescriptorGetApplicationServiceName(descriptor *foundation.NSObject) string
- func NwBrowseDescriptorGetBonjourServiceDomain(descriptor *foundation.NSObject) string
- func NwBrowseDescriptorGetBonjourServiceType(descriptor *foundation.NSObject) string
- func NwBrowseDescriptorGetIncludeTxtRecord(descriptor *foundation.NSObject) bool
- func NwBrowseDescriptorSetIncludeTxtRecord(descriptor *foundation.NSObject, includeTxtRecord bool)
- func NwBrowseResultCopyEndpoint(result *foundation.NSObject) unsafe.Pointer
- func NwBrowseResultCopyTxtRecordObject(result *foundation.NSObject) unsafe.Pointer
- func NwBrowseResultEnumerateInterfaces(result *foundation.NSObject, enumerator func(*foundation.NSObject) bool)
- func NwBrowseResultGetChanges(oldResult *foundation.NSObject, newResult *foundation.NSObject) uint64
- func NwBrowseResultGetInterfacesCount(result *foundation.NSObject) uint
- func NwBrowserCancel(browser *foundation.NSObject)
- func NwBrowserCopyBrowseDescriptor(browser *foundation.NSObject) unsafe.Pointer
- func NwBrowserCopyParameters(browser *foundation.NSObject) unsafe.Pointer
- func NwBrowserCreate(descriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
- func NwBrowserSetBrowseResultsChangedHandler(browser *foundation.NSObject, ...)
- func NwBrowserSetQueue(browser *foundation.NSObject, queue *foundation.NSObject)
- func NwBrowserSetStateChangedHandler(browser *foundation.NSObject, ...)
- func NwBrowserStart(browser *foundation.NSObject)
- func NwConnectionAccessEstablishmentReport(connection *foundation.NSObject, queue *foundation.NSObject, ...)
- func NwConnectionBatch(connection *foundation.NSObject, batchBlock func())
- func NwConnectionCancel(connection *foundation.NSObject)
- func NwConnectionCancelCurrentEndpoint(connection *foundation.NSObject)
- func NwConnectionCopyCurrentPath(connection *foundation.NSObject) unsafe.Pointer
- func NwConnectionCopyDescription(connection *foundation.NSObject) string
- func NwConnectionCopyEndpoint(connection *foundation.NSObject) unsafe.Pointer
- func NwConnectionCopyParameters(connection *foundation.NSObject) unsafe.Pointer
- func NwConnectionCopyProtocolMetadata(connection *foundation.NSObject, definition *foundation.NSObject) unsafe.Pointer
- func NwConnectionCreate(endpoint *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
- func NwConnectionCreateNewDataTransferReport(connection *foundation.NSObject) unsafe.Pointer
- func NwConnectionForceCancel(connection *foundation.NSObject)
- func NwConnectionGetMaximumDatagramSize(connection *foundation.NSObject) uint32
- func NwConnectionGroupCancel(group *foundation.NSObject)
- func NwConnectionGroupCopyDescriptor(group *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupCopyLocalEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupCopyParameters(group *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupCopyPathForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupCopyProtocolMetadata(group *foundation.NSObject, definition *foundation.NSObject) *foundation.NSObject
- func NwConnectionGroupCopyProtocolMetadataForMessage(group *foundation.NSObject, context_ *foundation.NSObject, ...) *foundation.NSObject
- func NwConnectionGroupCopyRemoteEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupCreate(groupDescriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupExtractConnection(group *foundation.NSObject, endpoint *foundation.NSObject, ...) unsafe.Pointer
- func NwConnectionGroupExtractConnectionForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
- func NwConnectionGroupReinsertExtractedConnection(group *foundation.NSObject, connection *foundation.NSObject) bool
- func NwConnectionGroupReply(group *foundation.NSObject, inboundMessage *foundation.NSObject, ...)
- func NwConnectionGroupSendMessage(group *foundation.NSObject, content *foundation.NSObject, ...)
- func NwConnectionGroupSetNewConnectionHandler(group *foundation.NSObject, newConnectionHandler func(*foundation.NSObject))
- func NwConnectionGroupSetQueue(group *foundation.NSObject, queue *foundation.NSObject)
- func NwConnectionGroupSetReceiveHandler(group *foundation.NSObject, maximumMessageSize uint32, ...)
- func NwConnectionGroupSetStateChangedHandler(group *foundation.NSObject, ...)
- func NwConnectionGroupStart(group *foundation.NSObject)
- func NwConnectionReceive(connection *foundation.NSObject, minimumIncompleteLength uint32, ...)
- func NwConnectionReceiveMessage(connection *foundation.NSObject, ...)
- func NwConnectionRestart(connection *foundation.NSObject)
- func NwConnectionSend(connection *foundation.NSObject, content *foundation.NSObject, ...)
- func NwConnectionSetBetterPathAvailableHandler(connection *foundation.NSObject, handler func(bool))
- func NwConnectionSetPathChangedHandler(connection *foundation.NSObject, handler func(*foundation.NSObject))
- func NwConnectionSetQueue(connection *foundation.NSObject, queue *foundation.NSObject)
- func NwConnectionSetStateChangedHandler(connection *foundation.NSObject, ...)
- func NwConnectionSetViabilityChangedHandler(connection *foundation.NSObject, handler func(bool))
- func NwConnectionStart(connection *foundation.NSObject)
- func NwContentContextCopyAntecedent(context_ *foundation.NSObject) unsafe.Pointer
- func NwContentContextCopyProtocolMetadata(context_ *foundation.NSObject, protocol *foundation.NSObject) unsafe.Pointer
- func NwContentContextCreate(contextIdentifier string) unsafe.Pointer
- func NwContentContextForeachProtocolMetadata(context_ *foundation.NSObject, ...)
- func NwContentContextGetExpirationMilliseconds(context_ *foundation.NSObject) uint64
- func NwContentContextGetIdentifier(context_ *foundation.NSObject) string
- func NwContentContextGetIsFinal(context_ *foundation.NSObject) bool
- func NwContentContextGetRelativePriority(context_ *foundation.NSObject) float64
- func NwContentContextSetAntecedent(context_ *foundation.NSObject, antecedentContext *foundation.NSObject)
- func NwContentContextSetExpirationMilliseconds(context_ *foundation.NSObject, expirationMilliseconds uint64)
- func NwContentContextSetIsFinal(context_ *foundation.NSObject, isFinal bool)
- func NwContentContextSetMetadataForProtocol(context_ *foundation.NSObject, protocolMetadata *foundation.NSObject)
- func NwContentContextSetRelativePriority(context_ *foundation.NSObject, relativePriority float64)
- func NwDataTransferReportCollect(report *foundation.NSObject, queue *foundation.NSObject, ...)
- func NwDataTransferReportCopyPathInterface(report *foundation.NSObject, pathIndex uint32) unsafe.Pointer
- func NwDataTransferReportGetDurationMilliseconds(report *foundation.NSObject) uint64
- func NwDataTransferReportGetPathCount(report *foundation.NSObject) uint32
- func NwDataTransferReportGetPathRadioType(report *foundation.NSObject, pathIndex uint32) avrouting.Nw_interface_radio_type_t
- func NwDataTransferReportGetReceivedApplicationByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedIpPacketCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetSentApplicationByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetSentIpPacketCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetSentTransportByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetSentTransportRetransmittedByteCount(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetState(report *foundation.NSObject) avrouting.Nw_data_transfer_report_state_t
- func NwDataTransferReportGetTransportMinimumRttMilliseconds(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetTransportRttVariance(report *foundation.NSObject, pathIndex uint32) uint64
- func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report *foundation.NSObject, pathIndex uint32) uint64
- func NwEndpointCopyAddressString(endpoint *foundation.NSObject) string
- func NwEndpointCopyPortString(endpoint *foundation.NSObject) string
- func NwEndpointCopyTxtRecord(endpoint *foundation.NSObject) 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 *foundation.NSObject) unsafe.Pointer
- func NwEndpointGetBonjourServiceDomain(endpoint *foundation.NSObject) string
- func NwEndpointGetBonjourServiceName(endpoint *foundation.NSObject) string
- func NwEndpointGetBonjourServiceType(endpoint *foundation.NSObject) string
- func NwEndpointGetHostname(endpoint *foundation.NSObject) string
- func NwEndpointGetPort(endpoint *foundation.NSObject) uint16
- func NwEndpointGetSignature(endpoint *foundation.NSObject, outSignatureLength *uint) unsafe.Pointer
- func NwEndpointGetType(endpoint *foundation.NSObject) avrouting.Nw_endpoint_type_t
- func NwEndpointGetUrl(endpoint *foundation.NSObject) string
- func NwErrorCopyCfError(error_ *foundation.NSObject) unsafe.Pointer
- func NwErrorGetErrorCode(error_ *foundation.NSObject) int
- func NwErrorGetErrorDomain(error_ *foundation.NSObject) avrouting.Nw_error_domain_t
- func NwEstablishmentReportCopyProxyEndpoint(report *foundation.NSObject) unsafe.Pointer
- func NwEstablishmentReportEnumerateProtocols(report *foundation.NSObject, ...)
- func NwEstablishmentReportEnumerateResolutionReports(report *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
- func NwEstablishmentReportEnumerateResolutions(report *foundation.NSObject, ...)
- func NwEstablishmentReportGetAttemptStartedAfterMilliseconds(report *foundation.NSObject) uint64
- func NwEstablishmentReportGetDurationMilliseconds(report *foundation.NSObject) uint64
- func NwEstablishmentReportGetPreviousAttemptCount(report *foundation.NSObject) uint32
- func NwEstablishmentReportGetProxyConfigured(report *foundation.NSObject) bool
- func NwEstablishmentReportGetUsedProxy(report *foundation.NSObject) bool
- func NwEthernetChannelCancel(ethernetChannel *foundation.NSObject)
- func NwEthernetChannelCreate(etherType uint16, interface_ *foundation.NSObject) unsafe.Pointer
- func NwEthernetChannelCreateWithParameters(etherType uint16, interface_ *foundation.NSObject, ...) unsafe.Pointer
- func NwEthernetChannelGetMaximumPayloadSize(ethernetChannel *foundation.NSObject) uint32
- func NwEthernetChannelSend(ethernetChannel *foundation.NSObject, content *foundation.NSObject, ...)
- func NwEthernetChannelSetQueue(ethernetChannel *foundation.NSObject, queue *foundation.NSObject)
- func NwEthernetChannelSetReceiveHandler(ethernetChannel *foundation.NSObject, ...)
- func NwEthernetChannelSetStateChangedHandler(ethernetChannel *foundation.NSObject, ...)
- func NwEthernetChannelStart(ethernetChannel *foundation.NSObject)
- func NwFramerAsync(framer *foundation.NSObject, asyncBlock func())
- func NwFramerCopyLocalEndpoint(framer *foundation.NSObject) unsafe.Pointer
- func NwFramerCopyOptions(framer *foundation.NSObject) unsafe.Pointer
- func NwFramerCopyParameters(framer *foundation.NSObject) unsafe.Pointer
- func NwFramerCopyRemoteEndpoint(framer *foundation.NSObject) unsafe.Pointer
- func NwFramerCreateDefinition(identifier string, flags uint32, ...) unsafe.Pointer
- func NwFramerCreateOptions(framerDefinition *foundation.NSObject) unsafe.Pointer
- func NwFramerDeliverInput(framer *foundation.NSObject, inputBuffer *uint8, inputLength uint, ...)
- func NwFramerDeliverInputNoCopy(framer *foundation.NSObject, inputLength uint, message *foundation.NSObject, ...) bool
- func NwFramerMarkFailedWithError(framer *foundation.NSObject, errorCode int)
- func NwFramerMarkReady(framer *foundation.NSObject)
- func NwFramerMessageAccessValue(message *foundation.NSObject, key string, ...) bool
- func NwFramerMessageCopyObjectValue(message *foundation.NSObject, key string) unsafe.Pointer
- func NwFramerMessageCreate(framer *foundation.NSObject) unsafe.Pointer
- func NwFramerMessageSetObjectValue(message *foundation.NSObject, key string, value objc.ID)
- func NwFramerMessageSetValue(message *foundation.NSObject, key string, value unsafe.Pointer, ...)
- func NwFramerOptionsCopyObjectValue(options *foundation.NSObject, key string) unsafe.Pointer
- func NwFramerOptionsSetObjectValue(options *foundation.NSObject, key string, value objc.ID)
- func NwFramerParseInput(framer *foundation.NSObject, minimumIncompleteLength uint, maximumLength uint, ...) bool
- func NwFramerParseOutput(framer *foundation.NSObject, minimumIncompleteLength uint, maximumLength uint, ...) bool
- func NwFramerPassThroughInput(framer *foundation.NSObject)
- func NwFramerPassThroughOutput(framer *foundation.NSObject)
- func NwFramerPrependApplicationProtocol(framer *foundation.NSObject, protocolOptions *foundation.NSObject) bool
- func NwFramerProtocolCreateMessage(definition *foundation.NSObject) unsafe.Pointer
- func NwFramerScheduleWakeup(framer *foundation.NSObject, milliseconds uint64)
- func NwFramerSetCleanupHandler(framer *foundation.NSObject, cleanupHandler func(*foundation.NSObject))
- func NwFramerSetInputHandler(framer *foundation.NSObject, inputHandler func(*foundation.NSObject) uint)
- func NwFramerSetOutputHandler(framer *foundation.NSObject, ...)
- func NwFramerSetStopHandler(framer *foundation.NSObject, stopHandler func(*foundation.NSObject) bool)
- func NwFramerSetWakeupHandler(framer *foundation.NSObject, wakeupHandler func(*foundation.NSObject))
- func NwFramerWriteOutput(framer *foundation.NSObject, outputBuffer *uint8, outputLength uint)
- func NwFramerWriteOutputData(framer *foundation.NSObject, outputData *foundation.NSObject)
- func NwFramerWriteOutputNoCopy(framer *foundation.NSObject, outputLength uint) bool
- func NwGroupDescriptorAddEndpoint(descriptor *foundation.NSObject, endpoint *foundation.NSObject) bool
- func NwGroupDescriptorCreateMulticast(multicastGroup *foundation.NSObject) unsafe.Pointer
- func NwGroupDescriptorCreateMultiplex(remoteEndpoint *foundation.NSObject) unsafe.Pointer
- func NwGroupDescriptorEnumerateEndpoints(descriptor *foundation.NSObject, ...)
- func NwInterfaceGetIndex(interface_ *foundation.NSObject) uint32
- func NwInterfaceGetName(interface_ *foundation.NSObject) string
- func NwInterfaceGetType(interface_ *foundation.NSObject) avrouting.Nw_interface_type_t
- func NwIpCreateMetadata() unsafe.Pointer
- func NwIpMetadataGetEcnFlag(metadata *foundation.NSObject) avrouting.Nw_ip_ecn_flag_t
- func NwIpMetadataGetReceiveTime(metadata *foundation.NSObject) uint64
- func NwIpMetadataGetServiceClass(metadata *foundation.NSObject) avrouting.Nw_service_class_t
- func NwIpMetadataSetEcnFlag(metadata *foundation.NSObject, ecnFlag avrouting.Nw_ip_ecn_flag_t)
- func NwIpMetadataSetServiceClass(metadata *foundation.NSObject, serviceClass avrouting.Nw_service_class_t)
- func NwIpOptionsSetCalculateReceiveTime(options *foundation.NSObject, calculateReceiveTime bool)
- func NwIpOptionsSetDisableFragmentation(options *foundation.NSObject, disableFragmentation bool)
- func NwIpOptionsSetDisableMulticastLoopback(options *foundation.NSObject, disableMulticastLoopback bool)
- func NwIpOptionsSetHopLimit(options *foundation.NSObject, hopLimit uint8)
- func NwIpOptionsSetLocalAddressPreference(options *foundation.NSObject, ...)
- func NwIpOptionsSetUseMinimumMtu(options *foundation.NSObject, useMinimumMtu bool)
- func NwIpOptionsSetVersion(options *foundation.NSObject, version avrouting.Nw_ip_version_t)
- func NwListenerCancel(listener *foundation.NSObject)
- func NwListenerCreate(parameters *foundation.NSObject) unsafe.Pointer
- func NwListenerCreateWithConnection(connection *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
- func NwListenerCreateWithLaunchdKey(parameters *foundation.NSObject, launchdKey string) unsafe.Pointer
- func NwListenerCreateWithPort(port string, parameters *foundation.NSObject) unsafe.Pointer
- func NwListenerGetNewConnectionLimit(listener *foundation.NSObject) uint32
- func NwListenerGetPort(listener *foundation.NSObject) uint16
- func NwListenerSetAdvertiseDescriptor(listener *foundation.NSObject, advertiseDescriptor *foundation.NSObject)
- func NwListenerSetAdvertisedEndpointChangedHandler(listener *foundation.NSObject, handler func(*foundation.NSObject, bool))
- func NwListenerSetNewConnectionGroupHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))
- func NwListenerSetNewConnectionHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))
- func NwListenerSetNewConnectionLimit(listener *foundation.NSObject, newConnectionLimit uint32)
- func NwListenerSetQueue(listener *foundation.NSObject, queue *foundation.NSObject)
- func NwListenerSetStateChangedHandler(listener *foundation.NSObject, ...)
- func NwListenerStart(listener *foundation.NSObject)
- func NwMulticastGroupDescriptorGetDisableUnicastTraffic(multicastDescriptor *foundation.NSObject) bool
- func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicastDescriptor *foundation.NSObject, disableUnicastTraffic bool)
- func NwMulticastGroupDescriptorSetSpecificSource(multicastDescriptor *foundation.NSObject, source *foundation.NSObject)
- func NwParametersClearProhibitedInterfaceTypes(parameters *foundation.NSObject)
- func NwParametersClearProhibitedInterfaces(parameters *foundation.NSObject)
- func NwParametersCopy(parameters *foundation.NSObject) unsafe.Pointer
- func NwParametersCopyDefaultProtocolStack(parameters *foundation.NSObject) unsafe.Pointer
- func NwParametersCopyLocalEndpoint(parameters *foundation.NSObject) unsafe.Pointer
- func NwParametersCopyRequiredInterface(parameters *foundation.NSObject) unsafe.Pointer
- func NwParametersCreate() unsafe.Pointer
- func NwParametersCreateApplicationService() unsafe.Pointer
- func NwParametersCreateCustomIp(customIpProtocolNumber uint8, configureIp func(*foundation.NSObject)) unsafe.Pointer
- func NwParametersCreateQuic(configureQuic func(*foundation.NSObject)) unsafe.Pointer
- func NwParametersCreateSecureTcp(configureTls func(*foundation.NSObject), ...) unsafe.Pointer
- func NwParametersCreateSecureUdp(configureDtls func(*foundation.NSObject), ...) unsafe.Pointer
- func NwParametersGetAllowUltraConstrained(parameters *foundation.NSObject) bool
- func NwParametersGetExpiredDnsBehavior(parameters *foundation.NSObject) avrouting.Nw_parameters_expired_dns_behavior_t
- func NwParametersGetFastOpenEnabled(parameters *foundation.NSObject) bool
- func NwParametersGetIncludePeerToPeer(parameters *foundation.NSObject) bool
- func NwParametersGetLocalOnly(parameters *foundation.NSObject) bool
- func NwParametersGetMultipathService(parameters *foundation.NSObject) avrouting.Nw_multipath_service_t
- func NwParametersGetPreferNoProxy(parameters *foundation.NSObject) bool
- func NwParametersGetProhibitConstrained(parameters *foundation.NSObject) bool
- func NwParametersGetProhibitExpensive(parameters *foundation.NSObject) bool
- func NwParametersGetRequiredInterfaceType(parameters *foundation.NSObject) avrouting.Nw_interface_type_t
- func NwParametersGetReuseLocalAddress(parameters *foundation.NSObject) bool
- func NwParametersGetServiceClass(parameters *foundation.NSObject) avrouting.Nw_service_class_t
- func NwParametersIterateProhibitedInterfaceTypes(parameters *foundation.NSObject, ...)
- func NwParametersIterateProhibitedInterfaces(parameters *foundation.NSObject, iterateBlock func(*foundation.NSObject) bool)
- func NwParametersProhibitInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)
- func NwParametersProhibitInterfaceType(parameters *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
- func NwParametersRequireInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)
- func NwParametersRequiresDnssecValidation(parameters *foundation.NSObject) bool
- func NwParametersSetAllowUltraConstrained(parameters *foundation.NSObject, allowUltraConstrained bool)
- func NwParametersSetAttribution(parameters *foundation.NSObject, attribution Nw_parameters_attribution_t)
- func NwParametersSetExpiredDnsBehavior(parameters *foundation.NSObject, ...)
- func NwParametersSetFastOpenEnabled(parameters *foundation.NSObject, fastOpenEnabled bool)
- func NwParametersSetIncludePeerToPeer(parameters *foundation.NSObject, includePeerToPeer bool)
- func NwParametersSetLocalEndpoint(parameters *foundation.NSObject, localEndpoint *foundation.NSObject)
- func NwParametersSetLocalOnly(parameters *foundation.NSObject, localOnly bool)
- func NwParametersSetMultipathService(parameters *foundation.NSObject, ...)
- func NwParametersSetPreferNoProxy(parameters *foundation.NSObject, preferNoProxy bool)
- func NwParametersSetPrivacyContext(parameters *foundation.NSObject, privacyContext *foundation.NSObject)
- func NwParametersSetProhibitConstrained(parameters *foundation.NSObject, prohibitConstrained bool)
- func NwParametersSetProhibitExpensive(parameters *foundation.NSObject, prohibitExpensive bool)
- func NwParametersSetRequiredInterfaceType(parameters *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
- func NwParametersSetRequiresDnssecValidation(parameters *foundation.NSObject, requiresDnssecValidation bool)
- func NwParametersSetReuseLocalAddress(parameters *foundation.NSObject, reuseLocalAddress bool)
- func NwParametersSetServiceClass(parameters *foundation.NSObject, serviceClass avrouting.Nw_service_class_t)
- func NwPathCopyEffectiveLocalEndpoint(path *foundation.NSObject) unsafe.Pointer
- func NwPathCopyEffectiveRemoteEndpoint(path *foundation.NSObject) unsafe.Pointer
- func NwPathEnumerateGateways(path *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
- func NwPathEnumerateInterfaces(path *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
- func NwPathGetLinkQuality(path *foundation.NSObject) avrouting.Nw_link_quality_t
- func NwPathGetStatus(path *foundation.NSObject) avrouting.Nw_path_status_t
- func NwPathGetUnsatisfiedReason(path *foundation.NSObject) avrouting.Nw_path_unsatisfied_reason_t
- func NwPathHasDns(path *foundation.NSObject) bool
- func NwPathHasIpv4(path *foundation.NSObject) bool
- func NwPathHasIpv6(path *foundation.NSObject) bool
- func NwPathIsConstrained(path *foundation.NSObject) bool
- func NwPathIsEqual(path *foundation.NSObject, otherPath *foundation.NSObject) bool
- func NwPathIsExpensive(path *foundation.NSObject) bool
- func NwPathIsUltraConstrained(path *foundation.NSObject) bool
- func NwPathMonitorCancel(monitor *foundation.NSObject)
- func NwPathMonitorCreate() unsafe.Pointer
- func NwPathMonitorCreateForEthernetChannel() unsafe.Pointer
- func NwPathMonitorCreateWithType(requiredInterfaceType avrouting.Nw_interface_type_t) unsafe.Pointer
- func NwPathMonitorProhibitInterfaceType(monitor *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
- func NwPathMonitorSetCancelHandler(monitor *foundation.NSObject, cancelHandler func())
- func NwPathMonitorSetQueue(monitor *foundation.NSObject, queue *foundation.NSObject)
- func NwPathMonitorSetUpdateHandler(monitor *foundation.NSObject, updateHandler func(*foundation.NSObject))
- func NwPathMonitorStart(monitor *foundation.NSObject)
- func NwPathUsesInterfaceType(path *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t) bool
- func NwPrivacyContextAddProxy(privacyContext *foundation.NSObject, proxyConfig *foundation.NSObject)
- func NwPrivacyContextClearProxies(privacyContext *foundation.NSObject)
- func NwPrivacyContextCreate(description string) unsafe.Pointer
- func NwPrivacyContextDisableLogging(privacyContext *foundation.NSObject)
- func NwPrivacyContextFlushCache(privacyContext *foundation.NSObject)
- func NwPrivacyContextRequireEncryptedNameResolution(privacyContext *foundation.NSObject, 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 *foundation.NSObject, definition2 *foundation.NSObject) bool
- func NwProtocolMetadataCopyDefinition(metadata *foundation.NSObject) unsafe.Pointer
- func NwProtocolMetadataIsFramerMessage(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsIp(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsQuic(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsTcp(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsTls(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsUdp(metadata *foundation.NSObject) bool
- func NwProtocolMetadataIsWs(metadata *foundation.NSObject) bool
- func NwProtocolOptionsCopyDefinition(options *foundation.NSObject) unsafe.Pointer
- func NwProtocolOptionsIsQuic(options *foundation.NSObject) bool
- func NwProtocolStackClearApplicationProtocols(stack *foundation.NSObject)
- func NwProtocolStackCopyInternetProtocol(stack *foundation.NSObject) unsafe.Pointer
- func NwProtocolStackCopyTransportProtocol(stack *foundation.NSObject) unsafe.Pointer
- func NwProtocolStackIterateApplicationProtocols(stack *foundation.NSObject, iterateBlock func(*foundation.NSObject))
- func NwProtocolStackPrependApplicationProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)
- func NwProtocolStackSetTransportProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)
- func NwProxyConfigAddExcludedDomain(config *foundation.NSObject, excludedDomain string)
- func NwProxyConfigAddMatchDomain(config *foundation.NSObject, matchDomain string)
- func NwProxyConfigClearExcludedDomains(config *foundation.NSObject)
- func NwProxyConfigClearMatchDomains(config *foundation.NSObject)
- func NwProxyConfigCreateHttpConnect(proxyEndpoint *foundation.NSObject, proxyTlsOptions *foundation.NSObject) unsafe.Pointer
- func NwProxyConfigCreateObliviousHttp(relay *foundation.NSObject, relayResourcePath string, gatewayKeyConfig *uint8, ...) unsafe.Pointer
- func NwProxyConfigCreateRelay(firstHop *foundation.NSObject, secondHop *foundation.NSObject) unsafe.Pointer
- func NwProxyConfigCreateSocksv5(proxyEndpoint *foundation.NSObject) unsafe.Pointer
- func NwProxyConfigEnumerateExcludedDomains(config *foundation.NSObject, enumerator func(string))
- func NwProxyConfigEnumerateMatchDomains(config *foundation.NSObject, enumerator func(string))
- func NwProxyConfigGetFailoverAllowed(proxyConfig *foundation.NSObject) bool
- func NwProxyConfigSetFailoverAllowed(proxyConfig *foundation.NSObject, failoverAllowed bool)
- func NwProxyConfigSetUsernameAndPassword(proxyConfig *foundation.NSObject, username string, password string)
- func NwQuicAddTlsApplicationProtocol(options *foundation.NSObject, applicationProtocol string)
- func NwQuicCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer
- func NwQuicCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer
- func NwQuicCreateOptions() unsafe.Pointer
- func NwQuicGetApplicationError(metadata *foundation.NSObject) uint64
- func NwQuicGetApplicationErrorReason(metadata *foundation.NSObject) string
- func NwQuicGetIdleTimeout(options *foundation.NSObject) uint32
- func NwQuicGetInitialMaxData(options *foundation.NSObject) uint64
- func NwQuicGetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject) uint64
- func NwQuicGetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject) uint64
- func NwQuicGetInitialMaxStreamDataUnidirectional(options *foundation.NSObject) uint64
- func NwQuicGetInitialMaxStreamsBidirectional(options *foundation.NSObject) uint64
- func NwQuicGetInitialMaxStreamsUnidirectional(options *foundation.NSObject) uint64
- func NwQuicGetKeepaliveInterval(metadata *foundation.NSObject) uint16
- func NwQuicGetLocalMaxStreamsBidirectional(metadata *foundation.NSObject) uint64
- func NwQuicGetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64
- func NwQuicGetMaxDatagramFrameSize(options *foundation.NSObject) uint16
- func NwQuicGetMaxUdpPayloadSize(options *foundation.NSObject) uint16
- func NwQuicGetRemoteIdleTimeout(metadata *foundation.NSObject) uint64
- func NwQuicGetRemoteMaxStreamsBidirectional(metadata *foundation.NSObject) uint64
- func NwQuicGetRemoteMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64
- func NwQuicGetStreamApplicationError(metadata *foundation.NSObject) uint64
- func NwQuicGetStreamId(metadata *foundation.NSObject) uint64
- func NwQuicGetStreamIsDatagram(options *foundation.NSObject) bool
- func NwQuicGetStreamIsUnidirectional(options *foundation.NSObject) bool
- func NwQuicGetStreamType(streamMetadata *foundation.NSObject) uint8
- func NwQuicGetStreamUsableDatagramFrameSize(metadata *foundation.NSObject) uint16
- func NwQuicSetApplicationError(metadata *foundation.NSObject, applicationError uint64, reason string)
- func NwQuicSetIdleTimeout(options *foundation.NSObject, idleTimeout uint32)
- func NwQuicSetInitialMaxData(options *foundation.NSObject, initialMaxData uint64)
- func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject, initialMaxStreamDataBidirectionalLocal uint64)
- func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject, initialMaxStreamDataBidirectionalRemote uint64)
- func NwQuicSetInitialMaxStreamDataUnidirectional(options *foundation.NSObject, initialMaxStreamDataUnidirectional uint64)
- func NwQuicSetInitialMaxStreamsBidirectional(options *foundation.NSObject, initialMaxStreamsBidirectional uint64)
- func NwQuicSetInitialMaxStreamsUnidirectional(options *foundation.NSObject, initialMaxStreamsUnidirectional uint64)
- func NwQuicSetKeepaliveInterval(metadata *foundation.NSObject, keepaliveInterval uint16)
- func NwQuicSetLocalMaxStreamsBidirectional(metadata *foundation.NSObject, maxStreamsBidirectional uint64)
- func NwQuicSetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject, maxStreamsUnidirectional uint64)
- func NwQuicSetMaxDatagramFrameSize(options *foundation.NSObject, maxDatagramFrameSize uint16)
- func NwQuicSetMaxUdpPayloadSize(options *foundation.NSObject, maxUdpPayloadSize uint16)
- func NwQuicSetStreamApplicationError(metadata *foundation.NSObject, applicationError uint64)
- func NwQuicSetStreamIsDatagram(options *foundation.NSObject, isDatagram bool)
- func NwQuicSetStreamIsUnidirectional(options *foundation.NSObject, isUnidirectional bool)
- func NwRelayHopAddAdditionalHttpHeaderField(relayHop *foundation.NSObject, fieldName string, fieldValue string)
- func NwRelayHopCreate(http3RelayEndpoint *foundation.NSObject, ...) unsafe.Pointer
- func NwRelease(obj unsafe.Pointer)
- func NwResolutionReportCopyPreferredEndpoint(resolutionReport *foundation.NSObject) unsafe.Pointer
- func NwResolutionReportCopySuccessfulEndpoint(resolutionReport *foundation.NSObject) unsafe.Pointer
- func NwResolutionReportGetEndpointCount(resolutionReport *foundation.NSObject) uint32
- func NwResolutionReportGetMilliseconds(resolutionReport *foundation.NSObject) uint64
- func NwResolutionReportGetProtocol(resolutionReport *foundation.NSObject) avrouting.Nw_report_resolution_protocol_t
- func NwResolutionReportGetSource(resolutionReport *foundation.NSObject) avrouting.Nw_report_resolution_source_t
- func NwResolverConfigAddServerAddress(config *foundation.NSObject, serverAddress *foundation.NSObject)
- func NwResolverConfigCreateHttps(urlEndpoint *foundation.NSObject) unsafe.Pointer
- func NwResolverConfigCreateTls(serverEndpoint *foundation.NSObject) unsafe.Pointer
- func NwRetain(obj unsafe.Pointer) unsafe.Pointer
- func NwTcpCreateOptions() unsafe.Pointer
- func NwTcpGetAvailableReceiveBuffer(metadata *foundation.NSObject) uint32
- func NwTcpGetAvailableSendBuffer(metadata *foundation.NSObject) uint32
- func NwTcpOptionsSetConnectionTimeout(options *foundation.NSObject, connectionTimeout uint32)
- func NwTcpOptionsSetDisableAckStretching(options *foundation.NSObject, disableAckStretching bool)
- func NwTcpOptionsSetDisableEcn(options *foundation.NSObject, disableEcn bool)
- func NwTcpOptionsSetEnableFastOpen(options *foundation.NSObject, enableFastOpen bool)
- func NwTcpOptionsSetEnableKeepalive(options *foundation.NSObject, enableKeepalive bool)
- func NwTcpOptionsSetKeepaliveCount(options *foundation.NSObject, keepaliveCount uint32)
- func NwTcpOptionsSetKeepaliveIdleTime(options *foundation.NSObject, keepaliveIdleTime uint32)
- func NwTcpOptionsSetKeepaliveInterval(options *foundation.NSObject, keepaliveInterval uint32)
- func NwTcpOptionsSetMaximumSegmentSize(options *foundation.NSObject, maximumSegmentSize uint32)
- func NwTcpOptionsSetMultipathForceVersion(options *foundation.NSObject, ...)
- func NwTcpOptionsSetNoDelay(options *foundation.NSObject, noDelay bool)
- func NwTcpOptionsSetNoOptions(options *foundation.NSObject, noOptions bool)
- func NwTcpOptionsSetNoPush(options *foundation.NSObject, noPush bool)
- func NwTcpOptionsSetPersistTimeout(options *foundation.NSObject, persistTimeout uint32)
- func NwTcpOptionsSetRetransmitConnectionDropTime(options *foundation.NSObject, retransmitConnectionDropTime uint32)
- func NwTcpOptionsSetRetransmitFinDrop(options *foundation.NSObject, retransmitFinDrop bool)
- func NwTlsCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer
- func NwTlsCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer
- func NwTlsCreateOptions() unsafe.Pointer
- func NwTxtRecordAccessBytes(txtRecord *foundation.NSObject, accessBytes func(*uint8, uint) bool) bool
- func NwTxtRecordAccessKey(txtRecord *foundation.NSObject, key string, ...) bool
- func NwTxtRecordApply(txtRecord *foundation.NSObject, ...) bool
- func NwTxtRecordCopy(txtRecord *foundation.NSObject) unsafe.Pointer
- func NwTxtRecordCreateDictionary() unsafe.Pointer
- func NwTxtRecordCreateWithBytes(txtBytes *uint8, txtLen uint) unsafe.Pointer
- func NwTxtRecordFindKey(txtRecord *foundation.NSObject, key string) avrouting.Nw_txt_record_find_key_t
- func NwTxtRecordGetKeyCount(txtRecord *foundation.NSObject) uint
- func NwTxtRecordIsDictionary(txtRecord *foundation.NSObject) bool
- func NwTxtRecordIsEqual(left *foundation.NSObject, right *foundation.NSObject) bool
- func NwTxtRecordRemoveKey(txtRecord *foundation.NSObject, key string) bool
- func NwTxtRecordSetKey(txtRecord *foundation.NSObject, key string, value *uint8, valueLen uint) bool
- func NwUdpCreateMetadata() unsafe.Pointer
- func NwUdpCreateOptions() unsafe.Pointer
- func NwUdpOptionsSetPreferNoChecksum(options *foundation.NSObject, preferNoChecksum bool)
- func NwWsCreateMetadata(opcode avrouting.Nw_ws_opcode_t) unsafe.Pointer
- func NwWsCreateOptions(version avrouting.Nw_ws_version_t) unsafe.Pointer
- func NwWsMetadataCopyServerResponse(metadata *foundation.NSObject) unsafe.Pointer
- func NwWsMetadataGetCloseCode(metadata *foundation.NSObject) avrouting.Nw_ws_close_code_t
- func NwWsMetadataGetOpcode(metadata *foundation.NSObject) avrouting.Nw_ws_opcode_t
- func NwWsMetadataSetCloseCode(metadata *foundation.NSObject, closeCode avrouting.Nw_ws_close_code_t)
- func NwWsMetadataSetPongHandler(metadata *foundation.NSObject, clientQueue *foundation.NSObject, ...)
- func NwWsOptionsAddAdditionalHeader(options *foundation.NSObject, name string, value string)
- func NwWsOptionsAddSubprotocol(options *foundation.NSObject, subprotocol string)
- func NwWsOptionsSetAutoReplyPing(options *foundation.NSObject, autoReplyPing bool)
- func NwWsOptionsSetClientRequestHandler(options *foundation.NSObject, clientQueue *foundation.NSObject, ...)
- func NwWsOptionsSetMaximumMessageSize(options *foundation.NSObject, maximumMessageSize uint)
- func NwWsOptionsSetSkipHandshake(options *foundation.NSObject, skipHandshake bool)
- func NwWsRequestEnumerateAdditionalHeaders(request *foundation.NSObject, enumerator func(string, string) bool) bool
- func NwWsRequestEnumerateSubprotocols(request *foundation.NSObject, enumerator func(string) bool) bool
- func NwWsResponseAddAdditionalHeader(response *foundation.NSObject, name string, value string)
- func NwWsResponseCreate(status avrouting.Nw_ws_response_status_t, selectedSubprotocol string) unsafe.Pointer
- func NwWsResponseEnumerateAdditionalHeaders(response *foundation.NSObject, enumerator func(string, string) bool) bool
- func NwWsResponseGetSelectedSubprotocol(response *foundation.NSObject) string
- func NwWsResponseGetStatus(response *foundation.NSObject) avrouting.Nw_ws_response_status_t
- func Nw_connection_send_idempotent_content() func(*foundation.NSObject)
- func Nw_content_context_default_message() *foundation.NSObject
- func Nw_content_context_default_stream() *foundation.NSObject
- func Nw_content_context_final_send() *foundation.NSObject
- func Nw_data_transfer_report_all_paths() uint
- func Nw_parameters_configure_protocol_default_configuration() func(*foundation.NSObject)
- func Nw_parameters_configure_protocol_disable() func(*foundation.NSObject)
- func Nw_privacy_context_default_context() *foundation.NSObject
- func SymbolAvailable(symbol string) bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type Clockid_t
- type DNSServiceAAAAPolicy
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type Nw_browser_state_t
- type Nw_connection_group_state_t
- type Nw_connection_state_t
- type Nw_data_transfer_report_state_t
- type Nw_endpoint_type_t
- type Nw_error_domain_t
- type Nw_ethernet_channel_state_t
- type Nw_framer_start_result_t
- type Nw_interface_radio_type_t
- type Nw_interface_type_t
- type Nw_ip_ecn_flag_t
- type Nw_ip_local_address_preference_t
- type Nw_ip_version_t
- type Nw_link_quality_t
- type Nw_listener_state_t
- type Nw_multipath_service_t
- type Nw_multipath_version_t
- type Nw_parameters_attribution_t
- type Nw_parameters_expired_dns_behavior_t
- type Nw_path_status_t
- type Nw_path_unsatisfied_reason_t
- type Nw_quic_stream_type_t
- type Nw_report_resolution_protocol_t
- type Nw_report_resolution_source_t
- type Nw_service_class_t
- type Nw_txt_record_find_key_t
- type Nw_ws_close_code_t
- type Nw_ws_opcode_t
- type Nw_ws_response_status_t
- type Nw_ws_version_t
- 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 Os_clockid_t
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
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 ¶
func KNWErrorDomainDNS() uintptr
func KNWErrorDomainPOSIX ¶
func KNWErrorDomainPOSIX() uintptr
func KNWErrorDomainTLS ¶
func KNWErrorDomainTLS() uintptr
func KNWErrorDomainWiFiAware ¶
func KNWErrorDomainWiFiAware() uintptr
func NwAdvertiseDescriptorCopyTxtRecordObject ¶
func NwAdvertiseDescriptorCopyTxtRecordObject(advertiseDescriptor *foundation.NSObject) unsafe.Pointer
C function: nw_advertise_descriptor_copy_txt_record_object
func NwAdvertiseDescriptorCreateApplicationService ¶
C function: nw_advertise_descriptor_create_application_service
func NwAdvertiseDescriptorCreateBonjourService ¶
func NwAdvertiseDescriptorCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer
C function: nw_advertise_descriptor_create_bonjour_service
func NwAdvertiseDescriptorGetApplicationServiceName ¶
func NwAdvertiseDescriptorGetApplicationServiceName(advertiseDescriptor *foundation.NSObject) string
C function: nw_advertise_descriptor_get_application_service_name
func NwAdvertiseDescriptorGetNoAutoRename ¶
func NwAdvertiseDescriptorGetNoAutoRename(advertiseDescriptor *foundation.NSObject) bool
C function: nw_advertise_descriptor_get_no_auto_rename
func NwAdvertiseDescriptorSetNoAutoRename ¶
func NwAdvertiseDescriptorSetNoAutoRename(advertiseDescriptor *foundation.NSObject, noAutoRename bool)
C function: nw_advertise_descriptor_set_no_auto_rename
func NwAdvertiseDescriptorSetTxtRecord ¶
func NwAdvertiseDescriptorSetTxtRecord(advertiseDescriptor *foundation.NSObject, txtRecord unsafe.Pointer, txtLength uint)
C function: nw_advertise_descriptor_set_txt_record
func NwAdvertiseDescriptorSetTxtRecordObject ¶
func NwAdvertiseDescriptorSetTxtRecordObject(advertiseDescriptor *foundation.NSObject, txtRecord *foundation.NSObject)
C function: nw_advertise_descriptor_set_txt_record_object
func NwBrowseDescriptorCreateApplicationService ¶
C function: nw_browse_descriptor_create_application_service
func NwBrowseDescriptorCreateBonjourService ¶
C function: nw_browse_descriptor_create_bonjour_service
func NwBrowseDescriptorGetApplicationServiceName ¶
func NwBrowseDescriptorGetApplicationServiceName(descriptor *foundation.NSObject) string
C function: nw_browse_descriptor_get_application_service_name
func NwBrowseDescriptorGetBonjourServiceDomain ¶
func NwBrowseDescriptorGetBonjourServiceDomain(descriptor *foundation.NSObject) string
C function: nw_browse_descriptor_get_bonjour_service_domain
func NwBrowseDescriptorGetBonjourServiceType ¶
func NwBrowseDescriptorGetBonjourServiceType(descriptor *foundation.NSObject) string
C function: nw_browse_descriptor_get_bonjour_service_type
func NwBrowseDescriptorGetIncludeTxtRecord ¶
func NwBrowseDescriptorGetIncludeTxtRecord(descriptor *foundation.NSObject) bool
C function: nw_browse_descriptor_get_include_txt_record
func NwBrowseDescriptorSetIncludeTxtRecord ¶
func NwBrowseDescriptorSetIncludeTxtRecord(descriptor *foundation.NSObject, includeTxtRecord bool)
C function: nw_browse_descriptor_set_include_txt_record
func NwBrowseResultCopyEndpoint ¶
func NwBrowseResultCopyEndpoint(result *foundation.NSObject) unsafe.Pointer
C function: nw_browse_result_copy_endpoint
func NwBrowseResultCopyTxtRecordObject ¶
func NwBrowseResultCopyTxtRecordObject(result *foundation.NSObject) unsafe.Pointer
C function: nw_browse_result_copy_txt_record_object
func NwBrowseResultEnumerateInterfaces ¶
func NwBrowseResultEnumerateInterfaces(result *foundation.NSObject, enumerator func(*foundation.NSObject) bool)
C function: nw_browse_result_enumerate_interfaces
func NwBrowseResultGetChanges ¶
func NwBrowseResultGetChanges(oldResult *foundation.NSObject, newResult *foundation.NSObject) uint64
C function: nw_browse_result_get_changes
func NwBrowseResultGetInterfacesCount ¶
func NwBrowseResultGetInterfacesCount(result *foundation.NSObject) uint
C function: nw_browse_result_get_interfaces_count
func NwBrowserCancel ¶
func NwBrowserCancel(browser *foundation.NSObject)
C function: nw_browser_cancel
func NwBrowserCopyBrowseDescriptor ¶
func NwBrowserCopyBrowseDescriptor(browser *foundation.NSObject) unsafe.Pointer
C function: nw_browser_copy_browse_descriptor
func NwBrowserCopyParameters ¶
func NwBrowserCopyParameters(browser *foundation.NSObject) unsafe.Pointer
C function: nw_browser_copy_parameters
func NwBrowserCreate ¶
func NwBrowserCreate(descriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_browser_create
func NwBrowserSetBrowseResultsChangedHandler ¶
func NwBrowserSetBrowseResultsChangedHandler(browser *foundation.NSObject, handler func(*foundation.NSObject, *foundation.NSObject, bool))
C function: nw_browser_set_browse_results_changed_handler
func NwBrowserSetQueue ¶
func NwBrowserSetQueue(browser *foundation.NSObject, queue *foundation.NSObject)
C function: nw_browser_set_queue
func NwBrowserSetStateChangedHandler ¶
func NwBrowserSetStateChangedHandler(browser *foundation.NSObject, stateChangedHandler func(avrouting.Nw_browser_state_t, *foundation.NSObject))
C function: nw_browser_set_state_changed_handler
func NwBrowserStart ¶
func NwBrowserStart(browser *foundation.NSObject)
C function: nw_browser_start
func NwConnectionAccessEstablishmentReport ¶
func NwConnectionAccessEstablishmentReport(connection *foundation.NSObject, queue *foundation.NSObject, accessBlock func(*foundation.NSObject))
C function: nw_connection_access_establishment_report
func NwConnectionBatch ¶
func NwConnectionBatch(connection *foundation.NSObject, batchBlock func())
C function: nw_connection_batch
func NwConnectionCancel ¶
func NwConnectionCancel(connection *foundation.NSObject)
C function: nw_connection_cancel
func NwConnectionCancelCurrentEndpoint ¶
func NwConnectionCancelCurrentEndpoint(connection *foundation.NSObject)
C function: nw_connection_cancel_current_endpoint
func NwConnectionCopyCurrentPath ¶
func NwConnectionCopyCurrentPath(connection *foundation.NSObject) unsafe.Pointer
C function: nw_connection_copy_current_path
func NwConnectionCopyDescription ¶
func NwConnectionCopyDescription(connection *foundation.NSObject) string
C function: nw_connection_copy_description
func NwConnectionCopyEndpoint ¶
func NwConnectionCopyEndpoint(connection *foundation.NSObject) unsafe.Pointer
C function: nw_connection_copy_endpoint
func NwConnectionCopyParameters ¶
func NwConnectionCopyParameters(connection *foundation.NSObject) unsafe.Pointer
C function: nw_connection_copy_parameters
func NwConnectionCopyProtocolMetadata ¶
func NwConnectionCopyProtocolMetadata(connection *foundation.NSObject, definition *foundation.NSObject) unsafe.Pointer
C function: nw_connection_copy_protocol_metadata
func NwConnectionCreate ¶
func NwConnectionCreate(endpoint *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_connection_create
func NwConnectionCreateNewDataTransferReport ¶
func NwConnectionCreateNewDataTransferReport(connection *foundation.NSObject) unsafe.Pointer
C function: nw_connection_create_new_data_transfer_report
func NwConnectionForceCancel ¶
func NwConnectionForceCancel(connection *foundation.NSObject)
C function: nw_connection_force_cancel
func NwConnectionGetMaximumDatagramSize ¶
func NwConnectionGetMaximumDatagramSize(connection *foundation.NSObject) uint32
C function: nw_connection_get_maximum_datagram_size
func NwConnectionGroupCancel ¶
func NwConnectionGroupCancel(group *foundation.NSObject)
C function: nw_connection_group_cancel
func NwConnectionGroupCopyDescriptor ¶
func NwConnectionGroupCopyDescriptor(group *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_copy_descriptor
func NwConnectionGroupCopyLocalEndpointForMessage ¶
func NwConnectionGroupCopyLocalEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_copy_local_endpoint_for_message
func NwConnectionGroupCopyParameters ¶
func NwConnectionGroupCopyParameters(group *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_copy_parameters
func NwConnectionGroupCopyPathForMessage ¶
func NwConnectionGroupCopyPathForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_copy_path_for_message
func NwConnectionGroupCopyProtocolMetadata ¶
func NwConnectionGroupCopyProtocolMetadata(group *foundation.NSObject, definition *foundation.NSObject) *foundation.NSObject
C function: nw_connection_group_copy_protocol_metadata
func NwConnectionGroupCopyProtocolMetadataForMessage ¶
func NwConnectionGroupCopyProtocolMetadataForMessage(group *foundation.NSObject, context_ *foundation.NSObject, definition *foundation.NSObject) *foundation.NSObject
C function: nw_connection_group_copy_protocol_metadata_for_message
func NwConnectionGroupCopyRemoteEndpointForMessage ¶
func NwConnectionGroupCopyRemoteEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_copy_remote_endpoint_for_message
func NwConnectionGroupCreate ¶
func NwConnectionGroupCreate(groupDescriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_create
func NwConnectionGroupExtractConnection ¶
func NwConnectionGroupExtractConnection(group *foundation.NSObject, endpoint *foundation.NSObject, protocolOptions *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_extract_connection
func NwConnectionGroupExtractConnectionForMessage ¶
func NwConnectionGroupExtractConnectionForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer
C function: nw_connection_group_extract_connection_for_message
func NwConnectionGroupReinsertExtractedConnection ¶
func NwConnectionGroupReinsertExtractedConnection(group *foundation.NSObject, connection *foundation.NSObject) bool
C function: nw_connection_group_reinsert_extracted_connection
func NwConnectionGroupReply ¶
func NwConnectionGroupReply(group *foundation.NSObject, inboundMessage *foundation.NSObject, outboundMessage *foundation.NSObject, content *foundation.NSObject)
C function: nw_connection_group_reply
func NwConnectionGroupSendMessage ¶
func NwConnectionGroupSendMessage(group *foundation.NSObject, content *foundation.NSObject, endpoint *foundation.NSObject, context_ *foundation.NSObject, completion func(*foundation.NSObject))
C function: nw_connection_group_send_message
func NwConnectionGroupSetNewConnectionHandler ¶
func NwConnectionGroupSetNewConnectionHandler(group *foundation.NSObject, newConnectionHandler func(*foundation.NSObject))
C function: nw_connection_group_set_new_connection_handler
func NwConnectionGroupSetQueue ¶
func NwConnectionGroupSetQueue(group *foundation.NSObject, queue *foundation.NSObject)
C function: nw_connection_group_set_queue
func NwConnectionGroupSetReceiveHandler ¶
func NwConnectionGroupSetReceiveHandler(group *foundation.NSObject, maximumMessageSize uint32, rejectOversizedMessages bool, receiveHandler func(*foundation.NSObject, *foundation.NSObject, bool))
C function: nw_connection_group_set_receive_handler
func NwConnectionGroupSetStateChangedHandler ¶
func NwConnectionGroupSetStateChangedHandler(group *foundation.NSObject, stateChangedHandler func(avrouting.Nw_connection_group_state_t, *foundation.NSObject))
C function: nw_connection_group_set_state_changed_handler
func NwConnectionGroupStart ¶
func NwConnectionGroupStart(group *foundation.NSObject)
C function: nw_connection_group_start
func NwConnectionReceive ¶
func NwConnectionReceive(connection *foundation.NSObject, minimumIncompleteLength uint32, maximumLength uint32, completion func(*foundation.NSObject, *foundation.NSObject, bool, *foundation.NSObject))
C function: nw_connection_receive
func NwConnectionReceiveMessage ¶
func NwConnectionReceiveMessage(connection *foundation.NSObject, completion func(*foundation.NSObject, *foundation.NSObject, bool, *foundation.NSObject))
C function: nw_connection_receive_message
func NwConnectionRestart ¶
func NwConnectionRestart(connection *foundation.NSObject)
C function: nw_connection_restart
func NwConnectionSend ¶
func NwConnectionSend(connection *foundation.NSObject, content *foundation.NSObject, context_ *foundation.NSObject, isComplete bool, completion func(*foundation.NSObject))
C function: nw_connection_send
func NwConnectionSetBetterPathAvailableHandler ¶
func NwConnectionSetBetterPathAvailableHandler(connection *foundation.NSObject, handler func(bool))
C function: nw_connection_set_better_path_available_handler
func NwConnectionSetPathChangedHandler ¶
func NwConnectionSetPathChangedHandler(connection *foundation.NSObject, handler func(*foundation.NSObject))
C function: nw_connection_set_path_changed_handler
func NwConnectionSetQueue ¶
func NwConnectionSetQueue(connection *foundation.NSObject, queue *foundation.NSObject)
C function: nw_connection_set_queue
func NwConnectionSetStateChangedHandler ¶
func NwConnectionSetStateChangedHandler(connection *foundation.NSObject, handler func(avrouting.Nw_connection_state_t, *foundation.NSObject))
C function: nw_connection_set_state_changed_handler
func NwConnectionSetViabilityChangedHandler ¶
func NwConnectionSetViabilityChangedHandler(connection *foundation.NSObject, handler func(bool))
C function: nw_connection_set_viability_changed_handler
func NwConnectionStart ¶
func NwConnectionStart(connection *foundation.NSObject)
C function: nw_connection_start
func NwContentContextCopyAntecedent ¶
func NwContentContextCopyAntecedent(context_ *foundation.NSObject) unsafe.Pointer
C function: nw_content_context_copy_antecedent
func NwContentContextCopyProtocolMetadata ¶
func NwContentContextCopyProtocolMetadata(context_ *foundation.NSObject, protocol *foundation.NSObject) unsafe.Pointer
C function: nw_content_context_copy_protocol_metadata
func NwContentContextCreate ¶
C function: nw_content_context_create
func NwContentContextForeachProtocolMetadata ¶
func NwContentContextForeachProtocolMetadata(context_ *foundation.NSObject, foreachBlock func(*foundation.NSObject, *foundation.NSObject))
C function: nw_content_context_foreach_protocol_metadata
func NwContentContextGetExpirationMilliseconds ¶
func NwContentContextGetExpirationMilliseconds(context_ *foundation.NSObject) uint64
C function: nw_content_context_get_expiration_milliseconds
func NwContentContextGetIdentifier ¶
func NwContentContextGetIdentifier(context_ *foundation.NSObject) string
C function: nw_content_context_get_identifier
func NwContentContextGetIsFinal ¶
func NwContentContextGetIsFinal(context_ *foundation.NSObject) bool
C function: nw_content_context_get_is_final
func NwContentContextGetRelativePriority ¶
func NwContentContextGetRelativePriority(context_ *foundation.NSObject) float64
C function: nw_content_context_get_relative_priority
func NwContentContextSetAntecedent ¶
func NwContentContextSetAntecedent(context_ *foundation.NSObject, antecedentContext *foundation.NSObject)
C function: nw_content_context_set_antecedent
func NwContentContextSetExpirationMilliseconds ¶
func NwContentContextSetExpirationMilliseconds(context_ *foundation.NSObject, expirationMilliseconds uint64)
C function: nw_content_context_set_expiration_milliseconds
func NwContentContextSetIsFinal ¶
func NwContentContextSetIsFinal(context_ *foundation.NSObject, isFinal bool)
C function: nw_content_context_set_is_final
func NwContentContextSetMetadataForProtocol ¶
func NwContentContextSetMetadataForProtocol(context_ *foundation.NSObject, protocolMetadata *foundation.NSObject)
C function: nw_content_context_set_metadata_for_protocol
func NwContentContextSetRelativePriority ¶
func NwContentContextSetRelativePriority(context_ *foundation.NSObject, relativePriority float64)
C function: nw_content_context_set_relative_priority
func NwDataTransferReportCollect ¶
func NwDataTransferReportCollect(report *foundation.NSObject, queue *foundation.NSObject, collectBlock func(*foundation.NSObject))
C function: nw_data_transfer_report_collect
func NwDataTransferReportCopyPathInterface ¶
func NwDataTransferReportCopyPathInterface(report *foundation.NSObject, pathIndex uint32) unsafe.Pointer
C function: nw_data_transfer_report_copy_path_interface
func NwDataTransferReportGetDurationMilliseconds ¶
func NwDataTransferReportGetDurationMilliseconds(report *foundation.NSObject) uint64
C function: nw_data_transfer_report_get_duration_milliseconds
func NwDataTransferReportGetPathCount ¶
func NwDataTransferReportGetPathCount(report *foundation.NSObject) uint32
C function: nw_data_transfer_report_get_path_count
func NwDataTransferReportGetPathRadioType ¶
func NwDataTransferReportGetPathRadioType(report *foundation.NSObject, pathIndex uint32) avrouting.Nw_interface_radio_type_t
C function: nw_data_transfer_report_get_path_radio_type
func NwDataTransferReportGetReceivedApplicationByteCount ¶
func NwDataTransferReportGetReceivedApplicationByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_received_application_byte_count
func NwDataTransferReportGetReceivedIpPacketCount ¶
func NwDataTransferReportGetReceivedIpPacketCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_received_ip_packet_count
func NwDataTransferReportGetReceivedTransportByteCount ¶
func NwDataTransferReportGetReceivedTransportByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_received_transport_byte_count
func NwDataTransferReportGetReceivedTransportDuplicateByteCount ¶
func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_received_transport_duplicate_byte_count
func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount ¶
func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_received_transport_out_of_order_byte_count
func NwDataTransferReportGetSentApplicationByteCount ¶
func NwDataTransferReportGetSentApplicationByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_sent_application_byte_count
func NwDataTransferReportGetSentIpPacketCount ¶
func NwDataTransferReportGetSentIpPacketCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_sent_ip_packet_count
func NwDataTransferReportGetSentTransportByteCount ¶
func NwDataTransferReportGetSentTransportByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_sent_transport_byte_count
func NwDataTransferReportGetSentTransportRetransmittedByteCount ¶
func NwDataTransferReportGetSentTransportRetransmittedByteCount(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_sent_transport_retransmitted_byte_count
func NwDataTransferReportGetState ¶
func NwDataTransferReportGetState(report *foundation.NSObject) avrouting.Nw_data_transfer_report_state_t
C function: nw_data_transfer_report_get_state
func NwDataTransferReportGetTransportMinimumRttMilliseconds ¶
func NwDataTransferReportGetTransportMinimumRttMilliseconds(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_transport_minimum_rtt_milliseconds
func NwDataTransferReportGetTransportRttVariance ¶
func NwDataTransferReportGetTransportRttVariance(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_transport_rtt_variance
func NwDataTransferReportGetTransportSmoothedRttMilliseconds ¶
func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report *foundation.NSObject, pathIndex uint32) uint64
C function: nw_data_transfer_report_get_transport_smoothed_rtt_milliseconds
func NwEndpointCopyAddressString ¶
func NwEndpointCopyAddressString(endpoint *foundation.NSObject) string
C function: nw_endpoint_copy_address_string
func NwEndpointCopyPortString ¶
func NwEndpointCopyPortString(endpoint *foundation.NSObject) string
C function: nw_endpoint_copy_port_string
func NwEndpointCopyTxtRecord ¶
func NwEndpointCopyTxtRecord(endpoint *foundation.NSObject) unsafe.Pointer
C function: nw_endpoint_copy_txt_record
func NwEndpointCreateAddress ¶
C function: nw_endpoint_create_address
func NwEndpointCreateBonjourService ¶
C function: nw_endpoint_create_bonjour_service
func NwEndpointCreateHost ¶
C function: nw_endpoint_create_host
func NwEndpointCreateUrl ¶
C function: nw_endpoint_create_url
func NwEndpointGetAddress ¶
func NwEndpointGetAddress(endpoint *foundation.NSObject) unsafe.Pointer
C function: nw_endpoint_get_address
func NwEndpointGetBonjourServiceDomain ¶
func NwEndpointGetBonjourServiceDomain(endpoint *foundation.NSObject) string
C function: nw_endpoint_get_bonjour_service_domain
func NwEndpointGetBonjourServiceName ¶
func NwEndpointGetBonjourServiceName(endpoint *foundation.NSObject) string
C function: nw_endpoint_get_bonjour_service_name
func NwEndpointGetBonjourServiceType ¶
func NwEndpointGetBonjourServiceType(endpoint *foundation.NSObject) string
C function: nw_endpoint_get_bonjour_service_type
func NwEndpointGetHostname ¶
func NwEndpointGetHostname(endpoint *foundation.NSObject) string
C function: nw_endpoint_get_hostname
func NwEndpointGetPort ¶
func NwEndpointGetPort(endpoint *foundation.NSObject) uint16
C function: nw_endpoint_get_port
func NwEndpointGetSignature ¶
func NwEndpointGetSignature(endpoint *foundation.NSObject, outSignatureLength *uint) unsafe.Pointer
C function: nw_endpoint_get_signature
func NwEndpointGetType ¶
func NwEndpointGetType(endpoint *foundation.NSObject) avrouting.Nw_endpoint_type_t
C function: nw_endpoint_get_type
func NwEndpointGetUrl ¶
func NwEndpointGetUrl(endpoint *foundation.NSObject) string
C function: nw_endpoint_get_url
func NwErrorCopyCfError ¶
func NwErrorCopyCfError(error_ *foundation.NSObject) unsafe.Pointer
C function: nw_error_copy_cf_error
func NwErrorGetErrorCode ¶
func NwErrorGetErrorCode(error_ *foundation.NSObject) int
C function: nw_error_get_error_code
func NwErrorGetErrorDomain ¶
func NwErrorGetErrorDomain(error_ *foundation.NSObject) avrouting.Nw_error_domain_t
C function: nw_error_get_error_domain
func NwEstablishmentReportCopyProxyEndpoint ¶
func NwEstablishmentReportCopyProxyEndpoint(report *foundation.NSObject) unsafe.Pointer
C function: nw_establishment_report_copy_proxy_endpoint
func NwEstablishmentReportEnumerateProtocols ¶
func NwEstablishmentReportEnumerateProtocols(report *foundation.NSObject, enumerateBlock func(*foundation.NSObject, uint64, uint64) bool)
C function: nw_establishment_report_enumerate_protocols
func NwEstablishmentReportEnumerateResolutionReports ¶
func NwEstablishmentReportEnumerateResolutionReports(report *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
C function: nw_establishment_report_enumerate_resolution_reports
func NwEstablishmentReportEnumerateResolutions ¶
func NwEstablishmentReportEnumerateResolutions(report *foundation.NSObject, enumerateBlock func(avrouting.Nw_report_resolution_source_t, uint64, uint32, *foundation.NSObject, *foundation.NSObject) bool)
C function: nw_establishment_report_enumerate_resolutions
func NwEstablishmentReportGetAttemptStartedAfterMilliseconds ¶
func NwEstablishmentReportGetAttemptStartedAfterMilliseconds(report *foundation.NSObject) uint64
C function: nw_establishment_report_get_attempt_started_after_milliseconds
func NwEstablishmentReportGetDurationMilliseconds ¶
func NwEstablishmentReportGetDurationMilliseconds(report *foundation.NSObject) uint64
C function: nw_establishment_report_get_duration_milliseconds
func NwEstablishmentReportGetPreviousAttemptCount ¶
func NwEstablishmentReportGetPreviousAttemptCount(report *foundation.NSObject) uint32
C function: nw_establishment_report_get_previous_attempt_count
func NwEstablishmentReportGetProxyConfigured ¶
func NwEstablishmentReportGetProxyConfigured(report *foundation.NSObject) bool
C function: nw_establishment_report_get_proxy_configured
func NwEstablishmentReportGetUsedProxy ¶
func NwEstablishmentReportGetUsedProxy(report *foundation.NSObject) bool
C function: nw_establishment_report_get_used_proxy
func NwEthernetChannelCancel ¶
func NwEthernetChannelCancel(ethernetChannel *foundation.NSObject)
C function: nw_ethernet_channel_cancel
func NwEthernetChannelCreate ¶
func NwEthernetChannelCreate(etherType uint16, interface_ *foundation.NSObject) unsafe.Pointer
C function: nw_ethernet_channel_create
func NwEthernetChannelCreateWithParameters ¶
func NwEthernetChannelCreateWithParameters(etherType uint16, interface_ *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_ethernet_channel_create_with_parameters
func NwEthernetChannelGetMaximumPayloadSize ¶
func NwEthernetChannelGetMaximumPayloadSize(ethernetChannel *foundation.NSObject) uint32
C function: nw_ethernet_channel_get_maximum_payload_size
func NwEthernetChannelSend ¶
func NwEthernetChannelSend(ethernetChannel *foundation.NSObject, content *foundation.NSObject, vlanTag uint16, remoteAddress *uint8, completion func(*foundation.NSObject))
C function: nw_ethernet_channel_send
func NwEthernetChannelSetQueue ¶
func NwEthernetChannelSetQueue(ethernetChannel *foundation.NSObject, queue *foundation.NSObject)
C function: nw_ethernet_channel_set_queue
func NwEthernetChannelSetReceiveHandler ¶
func NwEthernetChannelSetReceiveHandler(ethernetChannel *foundation.NSObject, handler func(*foundation.NSObject, uint16, *uint8, *uint8))
C function: nw_ethernet_channel_set_receive_handler
func NwEthernetChannelSetStateChangedHandler ¶
func NwEthernetChannelSetStateChangedHandler(ethernetChannel *foundation.NSObject, handler func(avrouting.Nw_ethernet_channel_state_t, *foundation.NSObject))
C function: nw_ethernet_channel_set_state_changed_handler
func NwEthernetChannelStart ¶
func NwEthernetChannelStart(ethernetChannel *foundation.NSObject)
C function: nw_ethernet_channel_start
func NwFramerAsync ¶
func NwFramerAsync(framer *foundation.NSObject, asyncBlock func())
C function: nw_framer_async
func NwFramerCopyLocalEndpoint ¶
func NwFramerCopyLocalEndpoint(framer *foundation.NSObject) unsafe.Pointer
C function: nw_framer_copy_local_endpoint
func NwFramerCopyOptions ¶
func NwFramerCopyOptions(framer *foundation.NSObject) unsafe.Pointer
C function: nw_framer_copy_options
func NwFramerCopyParameters ¶
func NwFramerCopyParameters(framer *foundation.NSObject) unsafe.Pointer
C function: nw_framer_copy_parameters
func NwFramerCopyRemoteEndpoint ¶
func NwFramerCopyRemoteEndpoint(framer *foundation.NSObject) unsafe.Pointer
C function: nw_framer_copy_remote_endpoint
func NwFramerCreateDefinition ¶
func NwFramerCreateDefinition(identifier string, flags uint32, startHandler func(*foundation.NSObject) avrouting.Nw_framer_start_result_t) unsafe.Pointer
C function: nw_framer_create_definition
func NwFramerCreateOptions ¶
func NwFramerCreateOptions(framerDefinition *foundation.NSObject) unsafe.Pointer
C function: nw_framer_create_options
func NwFramerDeliverInput ¶
func NwFramerDeliverInput(framer *foundation.NSObject, inputBuffer *uint8, inputLength uint, message *foundation.NSObject, isComplete bool)
C function: nw_framer_deliver_input
func NwFramerDeliverInputNoCopy ¶
func NwFramerDeliverInputNoCopy(framer *foundation.NSObject, inputLength uint, message *foundation.NSObject, isComplete bool) bool
C function: nw_framer_deliver_input_no_copy
func NwFramerMarkFailedWithError ¶
func NwFramerMarkFailedWithError(framer *foundation.NSObject, errorCode int)
C function: nw_framer_mark_failed_with_error
func NwFramerMarkReady ¶
func NwFramerMarkReady(framer *foundation.NSObject)
C function: nw_framer_mark_ready
func NwFramerMessageAccessValue ¶
func NwFramerMessageAccessValue(message *foundation.NSObject, key string, accessValue func(unsafe.Pointer) bool) bool
C function: nw_framer_message_access_value
func NwFramerMessageCopyObjectValue ¶
func NwFramerMessageCopyObjectValue(message *foundation.NSObject, key string) unsafe.Pointer
C function: nw_framer_message_copy_object_value
func NwFramerMessageCreate ¶
func NwFramerMessageCreate(framer *foundation.NSObject) unsafe.Pointer
C function: nw_framer_message_create
func NwFramerMessageSetObjectValue ¶
func NwFramerMessageSetObjectValue(message *foundation.NSObject, key string, value objc.ID)
C function: nw_framer_message_set_object_value
func NwFramerMessageSetValue ¶
func NwFramerMessageSetValue(message *foundation.NSObject, key string, value unsafe.Pointer, disposeValue func(unsafe.Pointer))
C function: nw_framer_message_set_value
func NwFramerOptionsCopyObjectValue ¶
func NwFramerOptionsCopyObjectValue(options *foundation.NSObject, key string) unsafe.Pointer
C function: nw_framer_options_copy_object_value
func NwFramerOptionsSetObjectValue ¶
func NwFramerOptionsSetObjectValue(options *foundation.NSObject, key string, value objc.ID)
C function: nw_framer_options_set_object_value
func NwFramerParseInput ¶
func NwFramerParseInput(framer *foundation.NSObject, minimumIncompleteLength uint, maximumLength uint, tempBuffer *uint8, parse func(*uint8, uint, bool) uint) bool
C function: nw_framer_parse_input
func NwFramerParseOutput ¶
func NwFramerParseOutput(framer *foundation.NSObject, minimumIncompleteLength uint, maximumLength uint, tempBuffer *uint8, parse func(*uint8, uint, bool) uint) bool
C function: nw_framer_parse_output
func NwFramerPassThroughInput ¶
func NwFramerPassThroughInput(framer *foundation.NSObject)
C function: nw_framer_pass_through_input
func NwFramerPassThroughOutput ¶
func NwFramerPassThroughOutput(framer *foundation.NSObject)
C function: nw_framer_pass_through_output
func NwFramerPrependApplicationProtocol ¶
func NwFramerPrependApplicationProtocol(framer *foundation.NSObject, protocolOptions *foundation.NSObject) bool
C function: nw_framer_prepend_application_protocol
func NwFramerProtocolCreateMessage ¶
func NwFramerProtocolCreateMessage(definition *foundation.NSObject) unsafe.Pointer
C function: nw_framer_protocol_create_message
func NwFramerScheduleWakeup ¶
func NwFramerScheduleWakeup(framer *foundation.NSObject, milliseconds uint64)
C function: nw_framer_schedule_wakeup
func NwFramerSetCleanupHandler ¶
func NwFramerSetCleanupHandler(framer *foundation.NSObject, cleanupHandler func(*foundation.NSObject))
C function: nw_framer_set_cleanup_handler
func NwFramerSetInputHandler ¶
func NwFramerSetInputHandler(framer *foundation.NSObject, inputHandler func(*foundation.NSObject) uint)
C function: nw_framer_set_input_handler
func NwFramerSetOutputHandler ¶
func NwFramerSetOutputHandler(framer *foundation.NSObject, outputHandler func(*foundation.NSObject, *foundation.NSObject, uint, bool))
C function: nw_framer_set_output_handler
func NwFramerSetStopHandler ¶
func NwFramerSetStopHandler(framer *foundation.NSObject, stopHandler func(*foundation.NSObject) bool)
C function: nw_framer_set_stop_handler
func NwFramerSetWakeupHandler ¶
func NwFramerSetWakeupHandler(framer *foundation.NSObject, wakeupHandler func(*foundation.NSObject))
C function: nw_framer_set_wakeup_handler
func NwFramerWriteOutput ¶
func NwFramerWriteOutput(framer *foundation.NSObject, outputBuffer *uint8, outputLength uint)
C function: nw_framer_write_output
func NwFramerWriteOutputData ¶
func NwFramerWriteOutputData(framer *foundation.NSObject, outputData *foundation.NSObject)
C function: nw_framer_write_output_data
func NwFramerWriteOutputNoCopy ¶
func NwFramerWriteOutputNoCopy(framer *foundation.NSObject, outputLength uint) bool
C function: nw_framer_write_output_no_copy
func NwGroupDescriptorAddEndpoint ¶
func NwGroupDescriptorAddEndpoint(descriptor *foundation.NSObject, endpoint *foundation.NSObject) bool
C function: nw_group_descriptor_add_endpoint
func NwGroupDescriptorCreateMulticast ¶
func NwGroupDescriptorCreateMulticast(multicastGroup *foundation.NSObject) unsafe.Pointer
C function: nw_group_descriptor_create_multicast
func NwGroupDescriptorCreateMultiplex ¶
func NwGroupDescriptorCreateMultiplex(remoteEndpoint *foundation.NSObject) unsafe.Pointer
C function: nw_group_descriptor_create_multiplex
func NwGroupDescriptorEnumerateEndpoints ¶
func NwGroupDescriptorEnumerateEndpoints(descriptor *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
C function: nw_group_descriptor_enumerate_endpoints
func NwInterfaceGetIndex ¶
func NwInterfaceGetIndex(interface_ *foundation.NSObject) uint32
C function: nw_interface_get_index
func NwInterfaceGetName ¶
func NwInterfaceGetName(interface_ *foundation.NSObject) string
C function: nw_interface_get_name
func NwInterfaceGetType ¶
func NwInterfaceGetType(interface_ *foundation.NSObject) avrouting.Nw_interface_type_t
C function: nw_interface_get_type
func NwIpCreateMetadata ¶
C function: nw_ip_create_metadata
func NwIpMetadataGetEcnFlag ¶
func NwIpMetadataGetEcnFlag(metadata *foundation.NSObject) avrouting.Nw_ip_ecn_flag_t
C function: nw_ip_metadata_get_ecn_flag
func NwIpMetadataGetReceiveTime ¶
func NwIpMetadataGetReceiveTime(metadata *foundation.NSObject) uint64
C function: nw_ip_metadata_get_receive_time
func NwIpMetadataGetServiceClass ¶
func NwIpMetadataGetServiceClass(metadata *foundation.NSObject) avrouting.Nw_service_class_t
C function: nw_ip_metadata_get_service_class
func NwIpMetadataSetEcnFlag ¶
func NwIpMetadataSetEcnFlag(metadata *foundation.NSObject, ecnFlag avrouting.Nw_ip_ecn_flag_t)
C function: nw_ip_metadata_set_ecn_flag
func NwIpMetadataSetServiceClass ¶
func NwIpMetadataSetServiceClass(metadata *foundation.NSObject, serviceClass avrouting.Nw_service_class_t)
C function: nw_ip_metadata_set_service_class
func NwIpOptionsSetCalculateReceiveTime ¶
func NwIpOptionsSetCalculateReceiveTime(options *foundation.NSObject, calculateReceiveTime bool)
C function: nw_ip_options_set_calculate_receive_time
func NwIpOptionsSetDisableFragmentation ¶
func NwIpOptionsSetDisableFragmentation(options *foundation.NSObject, disableFragmentation bool)
C function: nw_ip_options_set_disable_fragmentation
func NwIpOptionsSetDisableMulticastLoopback ¶
func NwIpOptionsSetDisableMulticastLoopback(options *foundation.NSObject, disableMulticastLoopback bool)
C function: nw_ip_options_set_disable_multicast_loopback
func NwIpOptionsSetHopLimit ¶
func NwIpOptionsSetHopLimit(options *foundation.NSObject, hopLimit uint8)
C function: nw_ip_options_set_hop_limit
func NwIpOptionsSetLocalAddressPreference ¶
func NwIpOptionsSetLocalAddressPreference(options *foundation.NSObject, preference avrouting.Nw_ip_local_address_preference_t)
C function: nw_ip_options_set_local_address_preference
func NwIpOptionsSetUseMinimumMtu ¶
func NwIpOptionsSetUseMinimumMtu(options *foundation.NSObject, useMinimumMtu bool)
C function: nw_ip_options_set_use_minimum_mtu
func NwIpOptionsSetVersion ¶
func NwIpOptionsSetVersion(options *foundation.NSObject, version avrouting.Nw_ip_version_t)
C function: nw_ip_options_set_version
func NwListenerCancel ¶
func NwListenerCancel(listener *foundation.NSObject)
C function: nw_listener_cancel
func NwListenerCreate ¶
func NwListenerCreate(parameters *foundation.NSObject) unsafe.Pointer
C function: nw_listener_create
func NwListenerCreateWithConnection ¶
func NwListenerCreateWithConnection(connection *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_listener_create_with_connection
func NwListenerCreateWithLaunchdKey ¶
func NwListenerCreateWithLaunchdKey(parameters *foundation.NSObject, launchdKey string) unsafe.Pointer
C function: nw_listener_create_with_launchd_key
func NwListenerCreateWithPort ¶
func NwListenerCreateWithPort(port string, parameters *foundation.NSObject) unsafe.Pointer
C function: nw_listener_create_with_port
func NwListenerGetNewConnectionLimit ¶
func NwListenerGetNewConnectionLimit(listener *foundation.NSObject) uint32
C function: nw_listener_get_new_connection_limit
func NwListenerGetPort ¶
func NwListenerGetPort(listener *foundation.NSObject) uint16
C function: nw_listener_get_port
func NwListenerSetAdvertiseDescriptor ¶
func NwListenerSetAdvertiseDescriptor(listener *foundation.NSObject, advertiseDescriptor *foundation.NSObject)
C function: nw_listener_set_advertise_descriptor
func NwListenerSetAdvertisedEndpointChangedHandler ¶
func NwListenerSetAdvertisedEndpointChangedHandler(listener *foundation.NSObject, handler func(*foundation.NSObject, bool))
C function: nw_listener_set_advertised_endpoint_changed_handler
func NwListenerSetNewConnectionGroupHandler ¶
func NwListenerSetNewConnectionGroupHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))
C function: nw_listener_set_new_connection_group_handler
func NwListenerSetNewConnectionHandler ¶
func NwListenerSetNewConnectionHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))
C function: nw_listener_set_new_connection_handler
func NwListenerSetNewConnectionLimit ¶
func NwListenerSetNewConnectionLimit(listener *foundation.NSObject, newConnectionLimit uint32)
C function: nw_listener_set_new_connection_limit
func NwListenerSetQueue ¶
func NwListenerSetQueue(listener *foundation.NSObject, queue *foundation.NSObject)
C function: nw_listener_set_queue
func NwListenerSetStateChangedHandler ¶
func NwListenerSetStateChangedHandler(listener *foundation.NSObject, handler func(avrouting.Nw_listener_state_t, *foundation.NSObject))
C function: nw_listener_set_state_changed_handler
func NwListenerStart ¶
func NwListenerStart(listener *foundation.NSObject)
C function: nw_listener_start
func NwMulticastGroupDescriptorGetDisableUnicastTraffic ¶
func NwMulticastGroupDescriptorGetDisableUnicastTraffic(multicastDescriptor *foundation.NSObject) bool
C function: nw_multicast_group_descriptor_get_disable_unicast_traffic
func NwMulticastGroupDescriptorSetDisableUnicastTraffic ¶
func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicastDescriptor *foundation.NSObject, disableUnicastTraffic bool)
C function: nw_multicast_group_descriptor_set_disable_unicast_traffic
func NwMulticastGroupDescriptorSetSpecificSource ¶
func NwMulticastGroupDescriptorSetSpecificSource(multicastDescriptor *foundation.NSObject, source *foundation.NSObject)
C function: nw_multicast_group_descriptor_set_specific_source
func NwParametersClearProhibitedInterfaceTypes ¶
func NwParametersClearProhibitedInterfaceTypes(parameters *foundation.NSObject)
C function: nw_parameters_clear_prohibited_interface_types
func NwParametersClearProhibitedInterfaces ¶
func NwParametersClearProhibitedInterfaces(parameters *foundation.NSObject)
C function: nw_parameters_clear_prohibited_interfaces
func NwParametersCopy ¶
func NwParametersCopy(parameters *foundation.NSObject) unsafe.Pointer
C function: nw_parameters_copy
func NwParametersCopyDefaultProtocolStack ¶
func NwParametersCopyDefaultProtocolStack(parameters *foundation.NSObject) unsafe.Pointer
C function: nw_parameters_copy_default_protocol_stack
func NwParametersCopyLocalEndpoint ¶
func NwParametersCopyLocalEndpoint(parameters *foundation.NSObject) unsafe.Pointer
C function: nw_parameters_copy_local_endpoint
func NwParametersCopyRequiredInterface ¶
func NwParametersCopyRequiredInterface(parameters *foundation.NSObject) unsafe.Pointer
C function: nw_parameters_copy_required_interface
func NwParametersCreateApplicationService ¶
C function: nw_parameters_create_application_service
func NwParametersCreateCustomIp ¶
func NwParametersCreateCustomIp(customIpProtocolNumber uint8, configureIp func(*foundation.NSObject)) unsafe.Pointer
C function: nw_parameters_create_custom_ip
func NwParametersCreateQuic ¶
func NwParametersCreateQuic(configureQuic func(*foundation.NSObject)) unsafe.Pointer
C function: nw_parameters_create_quic
func NwParametersCreateSecureTcp ¶
func NwParametersCreateSecureTcp(configureTls func(*foundation.NSObject), configureTcp func(*foundation.NSObject)) unsafe.Pointer
C function: nw_parameters_create_secure_tcp
func NwParametersCreateSecureUdp ¶
func NwParametersCreateSecureUdp(configureDtls func(*foundation.NSObject), configureUdp func(*foundation.NSObject)) unsafe.Pointer
C function: nw_parameters_create_secure_udp
func NwParametersGetAllowUltraConstrained ¶
func NwParametersGetAllowUltraConstrained(parameters *foundation.NSObject) bool
C function: nw_parameters_get_allow_ultra_constrained
func NwParametersGetExpiredDnsBehavior ¶
func NwParametersGetExpiredDnsBehavior(parameters *foundation.NSObject) avrouting.Nw_parameters_expired_dns_behavior_t
C function: nw_parameters_get_expired_dns_behavior
func NwParametersGetFastOpenEnabled ¶
func NwParametersGetFastOpenEnabled(parameters *foundation.NSObject) bool
C function: nw_parameters_get_fast_open_enabled
func NwParametersGetIncludePeerToPeer ¶
func NwParametersGetIncludePeerToPeer(parameters *foundation.NSObject) bool
C function: nw_parameters_get_include_peer_to_peer
func NwParametersGetLocalOnly ¶
func NwParametersGetLocalOnly(parameters *foundation.NSObject) bool
C function: nw_parameters_get_local_only
func NwParametersGetMultipathService ¶
func NwParametersGetMultipathService(parameters *foundation.NSObject) avrouting.Nw_multipath_service_t
C function: nw_parameters_get_multipath_service
func NwParametersGetPreferNoProxy ¶
func NwParametersGetPreferNoProxy(parameters *foundation.NSObject) bool
C function: nw_parameters_get_prefer_no_proxy
func NwParametersGetProhibitConstrained ¶
func NwParametersGetProhibitConstrained(parameters *foundation.NSObject) bool
C function: nw_parameters_get_prohibit_constrained
func NwParametersGetProhibitExpensive ¶
func NwParametersGetProhibitExpensive(parameters *foundation.NSObject) bool
C function: nw_parameters_get_prohibit_expensive
func NwParametersGetRequiredInterfaceType ¶
func NwParametersGetRequiredInterfaceType(parameters *foundation.NSObject) avrouting.Nw_interface_type_t
C function: nw_parameters_get_required_interface_type
func NwParametersGetReuseLocalAddress ¶
func NwParametersGetReuseLocalAddress(parameters *foundation.NSObject) bool
C function: nw_parameters_get_reuse_local_address
func NwParametersGetServiceClass ¶
func NwParametersGetServiceClass(parameters *foundation.NSObject) avrouting.Nw_service_class_t
C function: nw_parameters_get_service_class
func NwParametersIterateProhibitedInterfaceTypes ¶
func NwParametersIterateProhibitedInterfaceTypes(parameters *foundation.NSObject, iterateBlock func(avrouting.Nw_interface_type_t) bool)
C function: nw_parameters_iterate_prohibited_interface_types
func NwParametersIterateProhibitedInterfaces ¶
func NwParametersIterateProhibitedInterfaces(parameters *foundation.NSObject, iterateBlock func(*foundation.NSObject) bool)
C function: nw_parameters_iterate_prohibited_interfaces
func NwParametersProhibitInterface ¶
func NwParametersProhibitInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)
C function: nw_parameters_prohibit_interface
func NwParametersProhibitInterfaceType ¶
func NwParametersProhibitInterfaceType(parameters *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
C function: nw_parameters_prohibit_interface_type
func NwParametersRequireInterface ¶
func NwParametersRequireInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)
C function: nw_parameters_require_interface
func NwParametersRequiresDnssecValidation ¶
func NwParametersRequiresDnssecValidation(parameters *foundation.NSObject) bool
C function: nw_parameters_requires_dnssec_validation
func NwParametersSetAllowUltraConstrained ¶
func NwParametersSetAllowUltraConstrained(parameters *foundation.NSObject, allowUltraConstrained bool)
C function: nw_parameters_set_allow_ultra_constrained
func NwParametersSetAttribution ¶
func NwParametersSetAttribution(parameters *foundation.NSObject, attribution Nw_parameters_attribution_t)
C function: nw_parameters_set_attribution
func NwParametersSetExpiredDnsBehavior ¶
func NwParametersSetExpiredDnsBehavior(parameters *foundation.NSObject, expiredDnsBehavior avrouting.Nw_parameters_expired_dns_behavior_t)
C function: nw_parameters_set_expired_dns_behavior
func NwParametersSetFastOpenEnabled ¶
func NwParametersSetFastOpenEnabled(parameters *foundation.NSObject, fastOpenEnabled bool)
C function: nw_parameters_set_fast_open_enabled
func NwParametersSetIncludePeerToPeer ¶
func NwParametersSetIncludePeerToPeer(parameters *foundation.NSObject, includePeerToPeer bool)
C function: nw_parameters_set_include_peer_to_peer
func NwParametersSetLocalEndpoint ¶
func NwParametersSetLocalEndpoint(parameters *foundation.NSObject, localEndpoint *foundation.NSObject)
C function: nw_parameters_set_local_endpoint
func NwParametersSetLocalOnly ¶
func NwParametersSetLocalOnly(parameters *foundation.NSObject, localOnly bool)
C function: nw_parameters_set_local_only
func NwParametersSetMultipathService ¶
func NwParametersSetMultipathService(parameters *foundation.NSObject, multipathService avrouting.Nw_multipath_service_t)
C function: nw_parameters_set_multipath_service
func NwParametersSetPreferNoProxy ¶
func NwParametersSetPreferNoProxy(parameters *foundation.NSObject, preferNoProxy bool)
C function: nw_parameters_set_prefer_no_proxy
func NwParametersSetPrivacyContext ¶
func NwParametersSetPrivacyContext(parameters *foundation.NSObject, privacyContext *foundation.NSObject)
C function: nw_parameters_set_privacy_context
func NwParametersSetProhibitConstrained ¶
func NwParametersSetProhibitConstrained(parameters *foundation.NSObject, prohibitConstrained bool)
C function: nw_parameters_set_prohibit_constrained
func NwParametersSetProhibitExpensive ¶
func NwParametersSetProhibitExpensive(parameters *foundation.NSObject, prohibitExpensive bool)
C function: nw_parameters_set_prohibit_expensive
func NwParametersSetRequiredInterfaceType ¶
func NwParametersSetRequiredInterfaceType(parameters *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
C function: nw_parameters_set_required_interface_type
func NwParametersSetRequiresDnssecValidation ¶
func NwParametersSetRequiresDnssecValidation(parameters *foundation.NSObject, requiresDnssecValidation bool)
C function: nw_parameters_set_requires_dnssec_validation
func NwParametersSetReuseLocalAddress ¶
func NwParametersSetReuseLocalAddress(parameters *foundation.NSObject, reuseLocalAddress bool)
C function: nw_parameters_set_reuse_local_address
func NwParametersSetServiceClass ¶
func NwParametersSetServiceClass(parameters *foundation.NSObject, serviceClass avrouting.Nw_service_class_t)
C function: nw_parameters_set_service_class
func NwPathCopyEffectiveLocalEndpoint ¶
func NwPathCopyEffectiveLocalEndpoint(path *foundation.NSObject) unsafe.Pointer
C function: nw_path_copy_effective_local_endpoint
func NwPathCopyEffectiveRemoteEndpoint ¶
func NwPathCopyEffectiveRemoteEndpoint(path *foundation.NSObject) unsafe.Pointer
C function: nw_path_copy_effective_remote_endpoint
func NwPathEnumerateGateways ¶
func NwPathEnumerateGateways(path *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
C function: nw_path_enumerate_gateways
func NwPathEnumerateInterfaces ¶
func NwPathEnumerateInterfaces(path *foundation.NSObject, enumerateBlock func(*foundation.NSObject) bool)
C function: nw_path_enumerate_interfaces
func NwPathGetLinkQuality ¶
func NwPathGetLinkQuality(path *foundation.NSObject) avrouting.Nw_link_quality_t
C function: nw_path_get_link_quality
func NwPathGetStatus ¶
func NwPathGetStatus(path *foundation.NSObject) avrouting.Nw_path_status_t
C function: nw_path_get_status
func NwPathGetUnsatisfiedReason ¶
func NwPathGetUnsatisfiedReason(path *foundation.NSObject) avrouting.Nw_path_unsatisfied_reason_t
C function: nw_path_get_unsatisfied_reason
func NwPathHasIpv4 ¶
func NwPathHasIpv4(path *foundation.NSObject) bool
C function: nw_path_has_ipv4
func NwPathHasIpv6 ¶
func NwPathHasIpv6(path *foundation.NSObject) bool
C function: nw_path_has_ipv6
func NwPathIsConstrained ¶
func NwPathIsConstrained(path *foundation.NSObject) bool
C function: nw_path_is_constrained
func NwPathIsEqual ¶
func NwPathIsEqual(path *foundation.NSObject, otherPath *foundation.NSObject) bool
C function: nw_path_is_equal
func NwPathIsExpensive ¶
func NwPathIsExpensive(path *foundation.NSObject) bool
C function: nw_path_is_expensive
func NwPathIsUltraConstrained ¶
func NwPathIsUltraConstrained(path *foundation.NSObject) bool
C function: nw_path_is_ultra_constrained
func NwPathMonitorCancel ¶
func NwPathMonitorCancel(monitor *foundation.NSObject)
C function: nw_path_monitor_cancel
func NwPathMonitorCreate ¶
C function: nw_path_monitor_create
func NwPathMonitorCreateForEthernetChannel ¶
C function: nw_path_monitor_create_for_ethernet_channel
func NwPathMonitorCreateWithType ¶
func NwPathMonitorCreateWithType(requiredInterfaceType avrouting.Nw_interface_type_t) unsafe.Pointer
C function: nw_path_monitor_create_with_type
func NwPathMonitorProhibitInterfaceType ¶
func NwPathMonitorProhibitInterfaceType(monitor *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t)
C function: nw_path_monitor_prohibit_interface_type
func NwPathMonitorSetCancelHandler ¶
func NwPathMonitorSetCancelHandler(monitor *foundation.NSObject, cancelHandler func())
C function: nw_path_monitor_set_cancel_handler
func NwPathMonitorSetQueue ¶
func NwPathMonitorSetQueue(monitor *foundation.NSObject, queue *foundation.NSObject)
C function: nw_path_monitor_set_queue
func NwPathMonitorSetUpdateHandler ¶
func NwPathMonitorSetUpdateHandler(monitor *foundation.NSObject, updateHandler func(*foundation.NSObject))
C function: nw_path_monitor_set_update_handler
func NwPathMonitorStart ¶
func NwPathMonitorStart(monitor *foundation.NSObject)
C function: nw_path_monitor_start
func NwPathUsesInterfaceType ¶
func NwPathUsesInterfaceType(path *foundation.NSObject, interfaceType avrouting.Nw_interface_type_t) bool
C function: nw_path_uses_interface_type
func NwPrivacyContextAddProxy ¶
func NwPrivacyContextAddProxy(privacyContext *foundation.NSObject, proxyConfig *foundation.NSObject)
C function: nw_privacy_context_add_proxy
func NwPrivacyContextClearProxies ¶
func NwPrivacyContextClearProxies(privacyContext *foundation.NSObject)
C function: nw_privacy_context_clear_proxies
func NwPrivacyContextCreate ¶
C function: nw_privacy_context_create
func NwPrivacyContextDisableLogging ¶
func NwPrivacyContextDisableLogging(privacyContext *foundation.NSObject)
C function: nw_privacy_context_disable_logging
func NwPrivacyContextFlushCache ¶
func NwPrivacyContextFlushCache(privacyContext *foundation.NSObject)
C function: nw_privacy_context_flush_cache
func NwPrivacyContextRequireEncryptedNameResolution ¶
func NwPrivacyContextRequireEncryptedNameResolution(privacyContext *foundation.NSObject, requireEncryptedNameResolution bool, fallbackResolverConfig *foundation.NSObject)
C function: nw_privacy_context_require_encrypted_name_resolution
func NwProtocolCopyIpDefinition ¶
C function: nw_protocol_copy_ip_definition
func NwProtocolCopyQuicDefinition ¶
C function: nw_protocol_copy_quic_definition
func NwProtocolCopyTcpDefinition ¶
C function: nw_protocol_copy_tcp_definition
func NwProtocolCopyTlsDefinition ¶
C function: nw_protocol_copy_tls_definition
func NwProtocolCopyUdpDefinition ¶
C function: nw_protocol_copy_udp_definition
func NwProtocolCopyWsDefinition ¶
C function: nw_protocol_copy_ws_definition
func NwProtocolDefinitionIsEqual ¶
func NwProtocolDefinitionIsEqual(definition1 *foundation.NSObject, definition2 *foundation.NSObject) bool
C function: nw_protocol_definition_is_equal
func NwProtocolMetadataCopyDefinition ¶
func NwProtocolMetadataCopyDefinition(metadata *foundation.NSObject) unsafe.Pointer
C function: nw_protocol_metadata_copy_definition
func NwProtocolMetadataIsFramerMessage ¶
func NwProtocolMetadataIsFramerMessage(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_framer_message
func NwProtocolMetadataIsIp ¶
func NwProtocolMetadataIsIp(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_ip
func NwProtocolMetadataIsQuic ¶
func NwProtocolMetadataIsQuic(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_quic
func NwProtocolMetadataIsTcp ¶
func NwProtocolMetadataIsTcp(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_tcp
func NwProtocolMetadataIsTls ¶
func NwProtocolMetadataIsTls(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_tls
func NwProtocolMetadataIsUdp ¶
func NwProtocolMetadataIsUdp(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_udp
func NwProtocolMetadataIsWs ¶
func NwProtocolMetadataIsWs(metadata *foundation.NSObject) bool
C function: nw_protocol_metadata_is_ws
func NwProtocolOptionsCopyDefinition ¶
func NwProtocolOptionsCopyDefinition(options *foundation.NSObject) unsafe.Pointer
C function: nw_protocol_options_copy_definition
func NwProtocolOptionsIsQuic ¶
func NwProtocolOptionsIsQuic(options *foundation.NSObject) bool
C function: nw_protocol_options_is_quic
func NwProtocolStackClearApplicationProtocols ¶
func NwProtocolStackClearApplicationProtocols(stack *foundation.NSObject)
C function: nw_protocol_stack_clear_application_protocols
func NwProtocolStackCopyInternetProtocol ¶
func NwProtocolStackCopyInternetProtocol(stack *foundation.NSObject) unsafe.Pointer
C function: nw_protocol_stack_copy_internet_protocol
func NwProtocolStackCopyTransportProtocol ¶
func NwProtocolStackCopyTransportProtocol(stack *foundation.NSObject) unsafe.Pointer
C function: nw_protocol_stack_copy_transport_protocol
func NwProtocolStackIterateApplicationProtocols ¶
func NwProtocolStackIterateApplicationProtocols(stack *foundation.NSObject, iterateBlock func(*foundation.NSObject))
C function: nw_protocol_stack_iterate_application_protocols
func NwProtocolStackPrependApplicationProtocol ¶
func NwProtocolStackPrependApplicationProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)
C function: nw_protocol_stack_prepend_application_protocol
func NwProtocolStackSetTransportProtocol ¶
func NwProtocolStackSetTransportProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)
C function: nw_protocol_stack_set_transport_protocol
func NwProxyConfigAddExcludedDomain ¶
func NwProxyConfigAddExcludedDomain(config *foundation.NSObject, excludedDomain string)
C function: nw_proxy_config_add_excluded_domain
func NwProxyConfigAddMatchDomain ¶
func NwProxyConfigAddMatchDomain(config *foundation.NSObject, matchDomain string)
C function: nw_proxy_config_add_match_domain
func NwProxyConfigClearExcludedDomains ¶
func NwProxyConfigClearExcludedDomains(config *foundation.NSObject)
C function: nw_proxy_config_clear_excluded_domains
func NwProxyConfigClearMatchDomains ¶
func NwProxyConfigClearMatchDomains(config *foundation.NSObject)
C function: nw_proxy_config_clear_match_domains
func NwProxyConfigCreateHttpConnect ¶
func NwProxyConfigCreateHttpConnect(proxyEndpoint *foundation.NSObject, proxyTlsOptions *foundation.NSObject) unsafe.Pointer
C function: nw_proxy_config_create_http_connect
func NwProxyConfigCreateObliviousHttp ¶
func NwProxyConfigCreateObliviousHttp(relay *foundation.NSObject, relayResourcePath string, gatewayKeyConfig *uint8, gatewayKeyConfigLength uint) unsafe.Pointer
C function: nw_proxy_config_create_oblivious_http
func NwProxyConfigCreateRelay ¶
func NwProxyConfigCreateRelay(firstHop *foundation.NSObject, secondHop *foundation.NSObject) unsafe.Pointer
C function: nw_proxy_config_create_relay
func NwProxyConfigCreateSocksv5 ¶
func NwProxyConfigCreateSocksv5(proxyEndpoint *foundation.NSObject) unsafe.Pointer
C function: nw_proxy_config_create_socksv5
func NwProxyConfigEnumerateExcludedDomains ¶
func NwProxyConfigEnumerateExcludedDomains(config *foundation.NSObject, enumerator func(string))
C function: nw_proxy_config_enumerate_excluded_domains
func NwProxyConfigEnumerateMatchDomains ¶
func NwProxyConfigEnumerateMatchDomains(config *foundation.NSObject, enumerator func(string))
C function: nw_proxy_config_enumerate_match_domains
func NwProxyConfigGetFailoverAllowed ¶
func NwProxyConfigGetFailoverAllowed(proxyConfig *foundation.NSObject) bool
C function: nw_proxy_config_get_failover_allowed
func NwProxyConfigSetFailoverAllowed ¶
func NwProxyConfigSetFailoverAllowed(proxyConfig *foundation.NSObject, failoverAllowed bool)
C function: nw_proxy_config_set_failover_allowed
func NwProxyConfigSetUsernameAndPassword ¶
func NwProxyConfigSetUsernameAndPassword(proxyConfig *foundation.NSObject, username string, password string)
C function: nw_proxy_config_set_username_and_password
func NwQuicAddTlsApplicationProtocol ¶
func NwQuicAddTlsApplicationProtocol(options *foundation.NSObject, applicationProtocol string)
C function: nw_quic_add_tls_application_protocol
func NwQuicCopySecProtocolMetadata ¶
func NwQuicCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer
C function: nw_quic_copy_sec_protocol_metadata
func NwQuicCopySecProtocolOptions ¶
func NwQuicCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer
C function: nw_quic_copy_sec_protocol_options
func NwQuicCreateOptions ¶
C function: nw_quic_create_options
func NwQuicGetApplicationError ¶
func NwQuicGetApplicationError(metadata *foundation.NSObject) uint64
C function: nw_quic_get_application_error
func NwQuicGetApplicationErrorReason ¶
func NwQuicGetApplicationErrorReason(metadata *foundation.NSObject) string
C function: nw_quic_get_application_error_reason
func NwQuicGetIdleTimeout ¶
func NwQuicGetIdleTimeout(options *foundation.NSObject) uint32
C function: nw_quic_get_idle_timeout
func NwQuicGetInitialMaxData ¶
func NwQuicGetInitialMaxData(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_data
func NwQuicGetInitialMaxStreamDataBidirectionalLocal ¶
func NwQuicGetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_stream_data_bidirectional_local
func NwQuicGetInitialMaxStreamDataBidirectionalRemote ¶
func NwQuicGetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_stream_data_bidirectional_remote
func NwQuicGetInitialMaxStreamDataUnidirectional ¶
func NwQuicGetInitialMaxStreamDataUnidirectional(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_stream_data_unidirectional
func NwQuicGetInitialMaxStreamsBidirectional ¶
func NwQuicGetInitialMaxStreamsBidirectional(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_streams_bidirectional
func NwQuicGetInitialMaxStreamsUnidirectional ¶
func NwQuicGetInitialMaxStreamsUnidirectional(options *foundation.NSObject) uint64
C function: nw_quic_get_initial_max_streams_unidirectional
func NwQuicGetKeepaliveInterval ¶
func NwQuicGetKeepaliveInterval(metadata *foundation.NSObject) uint16
C function: nw_quic_get_keepalive_interval
func NwQuicGetLocalMaxStreamsBidirectional ¶
func NwQuicGetLocalMaxStreamsBidirectional(metadata *foundation.NSObject) uint64
C function: nw_quic_get_local_max_streams_bidirectional
func NwQuicGetLocalMaxStreamsUnidirectional ¶
func NwQuicGetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64
C function: nw_quic_get_local_max_streams_unidirectional
func NwQuicGetMaxDatagramFrameSize ¶
func NwQuicGetMaxDatagramFrameSize(options *foundation.NSObject) uint16
C function: nw_quic_get_max_datagram_frame_size
func NwQuicGetMaxUdpPayloadSize ¶
func NwQuicGetMaxUdpPayloadSize(options *foundation.NSObject) uint16
C function: nw_quic_get_max_udp_payload_size
func NwQuicGetRemoteIdleTimeout ¶
func NwQuicGetRemoteIdleTimeout(metadata *foundation.NSObject) uint64
C function: nw_quic_get_remote_idle_timeout
func NwQuicGetRemoteMaxStreamsBidirectional ¶
func NwQuicGetRemoteMaxStreamsBidirectional(metadata *foundation.NSObject) uint64
C function: nw_quic_get_remote_max_streams_bidirectional
func NwQuicGetRemoteMaxStreamsUnidirectional ¶
func NwQuicGetRemoteMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64
C function: nw_quic_get_remote_max_streams_unidirectional
func NwQuicGetStreamApplicationError ¶
func NwQuicGetStreamApplicationError(metadata *foundation.NSObject) uint64
C function: nw_quic_get_stream_application_error
func NwQuicGetStreamId ¶
func NwQuicGetStreamId(metadata *foundation.NSObject) uint64
C function: nw_quic_get_stream_id
func NwQuicGetStreamIsDatagram ¶
func NwQuicGetStreamIsDatagram(options *foundation.NSObject) bool
C function: nw_quic_get_stream_is_datagram
func NwQuicGetStreamIsUnidirectional ¶
func NwQuicGetStreamIsUnidirectional(options *foundation.NSObject) bool
C function: nw_quic_get_stream_is_unidirectional
func NwQuicGetStreamType ¶
func NwQuicGetStreamType(streamMetadata *foundation.NSObject) uint8
C function: nw_quic_get_stream_type
func NwQuicGetStreamUsableDatagramFrameSize ¶
func NwQuicGetStreamUsableDatagramFrameSize(metadata *foundation.NSObject) uint16
C function: nw_quic_get_stream_usable_datagram_frame_size
func NwQuicSetApplicationError ¶
func NwQuicSetApplicationError(metadata *foundation.NSObject, applicationError uint64, reason string)
C function: nw_quic_set_application_error
func NwQuicSetIdleTimeout ¶
func NwQuicSetIdleTimeout(options *foundation.NSObject, idleTimeout uint32)
C function: nw_quic_set_idle_timeout
func NwQuicSetInitialMaxData ¶
func NwQuicSetInitialMaxData(options *foundation.NSObject, initialMaxData uint64)
C function: nw_quic_set_initial_max_data
func NwQuicSetInitialMaxStreamDataBidirectionalLocal ¶
func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject, initialMaxStreamDataBidirectionalLocal uint64)
C function: nw_quic_set_initial_max_stream_data_bidirectional_local
func NwQuicSetInitialMaxStreamDataBidirectionalRemote ¶
func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject, initialMaxStreamDataBidirectionalRemote uint64)
C function: nw_quic_set_initial_max_stream_data_bidirectional_remote
func NwQuicSetInitialMaxStreamDataUnidirectional ¶
func NwQuicSetInitialMaxStreamDataUnidirectional(options *foundation.NSObject, initialMaxStreamDataUnidirectional uint64)
C function: nw_quic_set_initial_max_stream_data_unidirectional
func NwQuicSetInitialMaxStreamsBidirectional ¶
func NwQuicSetInitialMaxStreamsBidirectional(options *foundation.NSObject, initialMaxStreamsBidirectional uint64)
C function: nw_quic_set_initial_max_streams_bidirectional
func NwQuicSetInitialMaxStreamsUnidirectional ¶
func NwQuicSetInitialMaxStreamsUnidirectional(options *foundation.NSObject, initialMaxStreamsUnidirectional uint64)
C function: nw_quic_set_initial_max_streams_unidirectional
func NwQuicSetKeepaliveInterval ¶
func NwQuicSetKeepaliveInterval(metadata *foundation.NSObject, keepaliveInterval uint16)
C function: nw_quic_set_keepalive_interval
func NwQuicSetLocalMaxStreamsBidirectional ¶
func NwQuicSetLocalMaxStreamsBidirectional(metadata *foundation.NSObject, maxStreamsBidirectional uint64)
C function: nw_quic_set_local_max_streams_bidirectional
func NwQuicSetLocalMaxStreamsUnidirectional ¶
func NwQuicSetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject, maxStreamsUnidirectional uint64)
C function: nw_quic_set_local_max_streams_unidirectional
func NwQuicSetMaxDatagramFrameSize ¶
func NwQuicSetMaxDatagramFrameSize(options *foundation.NSObject, maxDatagramFrameSize uint16)
C function: nw_quic_set_max_datagram_frame_size
func NwQuicSetMaxUdpPayloadSize ¶
func NwQuicSetMaxUdpPayloadSize(options *foundation.NSObject, maxUdpPayloadSize uint16)
C function: nw_quic_set_max_udp_payload_size
func NwQuicSetStreamApplicationError ¶
func NwQuicSetStreamApplicationError(metadata *foundation.NSObject, applicationError uint64)
C function: nw_quic_set_stream_application_error
func NwQuicSetStreamIsDatagram ¶
func NwQuicSetStreamIsDatagram(options *foundation.NSObject, isDatagram bool)
C function: nw_quic_set_stream_is_datagram
func NwQuicSetStreamIsUnidirectional ¶
func NwQuicSetStreamIsUnidirectional(options *foundation.NSObject, isUnidirectional bool)
C function: nw_quic_set_stream_is_unidirectional
func NwRelayHopAddAdditionalHttpHeaderField ¶
func NwRelayHopAddAdditionalHttpHeaderField(relayHop *foundation.NSObject, fieldName string, fieldValue string)
C function: nw_relay_hop_add_additional_http_header_field
func NwRelayHopCreate ¶
func NwRelayHopCreate(http3RelayEndpoint *foundation.NSObject, http2RelayEndpoint *foundation.NSObject, relayTlsOptions *foundation.NSObject) unsafe.Pointer
C function: nw_relay_hop_create
func NwResolutionReportCopyPreferredEndpoint ¶
func NwResolutionReportCopyPreferredEndpoint(resolutionReport *foundation.NSObject) unsafe.Pointer
C function: nw_resolution_report_copy_preferred_endpoint
func NwResolutionReportCopySuccessfulEndpoint ¶
func NwResolutionReportCopySuccessfulEndpoint(resolutionReport *foundation.NSObject) unsafe.Pointer
C function: nw_resolution_report_copy_successful_endpoint
func NwResolutionReportGetEndpointCount ¶
func NwResolutionReportGetEndpointCount(resolutionReport *foundation.NSObject) uint32
C function: nw_resolution_report_get_endpoint_count
func NwResolutionReportGetMilliseconds ¶
func NwResolutionReportGetMilliseconds(resolutionReport *foundation.NSObject) uint64
C function: nw_resolution_report_get_milliseconds
func NwResolutionReportGetProtocol ¶
func NwResolutionReportGetProtocol(resolutionReport *foundation.NSObject) avrouting.Nw_report_resolution_protocol_t
C function: nw_resolution_report_get_protocol
func NwResolutionReportGetSource ¶
func NwResolutionReportGetSource(resolutionReport *foundation.NSObject) avrouting.Nw_report_resolution_source_t
C function: nw_resolution_report_get_source
func NwResolverConfigAddServerAddress ¶
func NwResolverConfigAddServerAddress(config *foundation.NSObject, serverAddress *foundation.NSObject)
C function: nw_resolver_config_add_server_address
func NwResolverConfigCreateHttps ¶
func NwResolverConfigCreateHttps(urlEndpoint *foundation.NSObject) unsafe.Pointer
C function: nw_resolver_config_create_https
func NwResolverConfigCreateTls ¶
func NwResolverConfigCreateTls(serverEndpoint *foundation.NSObject) unsafe.Pointer
C function: nw_resolver_config_create_tls
func NwTcpCreateOptions ¶
C function: nw_tcp_create_options
func NwTcpGetAvailableReceiveBuffer ¶
func NwTcpGetAvailableReceiveBuffer(metadata *foundation.NSObject) uint32
C function: nw_tcp_get_available_receive_buffer
func NwTcpGetAvailableSendBuffer ¶
func NwTcpGetAvailableSendBuffer(metadata *foundation.NSObject) uint32
C function: nw_tcp_get_available_send_buffer
func NwTcpOptionsSetConnectionTimeout ¶
func NwTcpOptionsSetConnectionTimeout(options *foundation.NSObject, connectionTimeout uint32)
C function: nw_tcp_options_set_connection_timeout
func NwTcpOptionsSetDisableAckStretching ¶
func NwTcpOptionsSetDisableAckStretching(options *foundation.NSObject, disableAckStretching bool)
C function: nw_tcp_options_set_disable_ack_stretching
func NwTcpOptionsSetDisableEcn ¶
func NwTcpOptionsSetDisableEcn(options *foundation.NSObject, disableEcn bool)
C function: nw_tcp_options_set_disable_ecn
func NwTcpOptionsSetEnableFastOpen ¶
func NwTcpOptionsSetEnableFastOpen(options *foundation.NSObject, enableFastOpen bool)
C function: nw_tcp_options_set_enable_fast_open
func NwTcpOptionsSetEnableKeepalive ¶
func NwTcpOptionsSetEnableKeepalive(options *foundation.NSObject, enableKeepalive bool)
C function: nw_tcp_options_set_enable_keepalive
func NwTcpOptionsSetKeepaliveCount ¶
func NwTcpOptionsSetKeepaliveCount(options *foundation.NSObject, keepaliveCount uint32)
C function: nw_tcp_options_set_keepalive_count
func NwTcpOptionsSetKeepaliveIdleTime ¶
func NwTcpOptionsSetKeepaliveIdleTime(options *foundation.NSObject, keepaliveIdleTime uint32)
C function: nw_tcp_options_set_keepalive_idle_time
func NwTcpOptionsSetKeepaliveInterval ¶
func NwTcpOptionsSetKeepaliveInterval(options *foundation.NSObject, keepaliveInterval uint32)
C function: nw_tcp_options_set_keepalive_interval
func NwTcpOptionsSetMaximumSegmentSize ¶
func NwTcpOptionsSetMaximumSegmentSize(options *foundation.NSObject, maximumSegmentSize uint32)
C function: nw_tcp_options_set_maximum_segment_size
func NwTcpOptionsSetMultipathForceVersion ¶
func NwTcpOptionsSetMultipathForceVersion(options *foundation.NSObject, multipathForceVersion avrouting.Nw_multipath_version_t)
C function: nw_tcp_options_set_multipath_force_version
func NwTcpOptionsSetNoDelay ¶
func NwTcpOptionsSetNoDelay(options *foundation.NSObject, noDelay bool)
C function: nw_tcp_options_set_no_delay
func NwTcpOptionsSetNoOptions ¶
func NwTcpOptionsSetNoOptions(options *foundation.NSObject, noOptions bool)
C function: nw_tcp_options_set_no_options
func NwTcpOptionsSetNoPush ¶
func NwTcpOptionsSetNoPush(options *foundation.NSObject, noPush bool)
C function: nw_tcp_options_set_no_push
func NwTcpOptionsSetPersistTimeout ¶
func NwTcpOptionsSetPersistTimeout(options *foundation.NSObject, persistTimeout uint32)
C function: nw_tcp_options_set_persist_timeout
func NwTcpOptionsSetRetransmitConnectionDropTime ¶
func NwTcpOptionsSetRetransmitConnectionDropTime(options *foundation.NSObject, retransmitConnectionDropTime uint32)
C function: nw_tcp_options_set_retransmit_connection_drop_time
func NwTcpOptionsSetRetransmitFinDrop ¶
func NwTcpOptionsSetRetransmitFinDrop(options *foundation.NSObject, retransmitFinDrop bool)
C function: nw_tcp_options_set_retransmit_fin_drop
func NwTlsCopySecProtocolMetadata ¶
func NwTlsCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer
C function: nw_tls_copy_sec_protocol_metadata
func NwTlsCopySecProtocolOptions ¶
func NwTlsCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer
C function: nw_tls_copy_sec_protocol_options
func NwTlsCreateOptions ¶
C function: nw_tls_create_options
func NwTxtRecordAccessBytes ¶
func NwTxtRecordAccessBytes(txtRecord *foundation.NSObject, accessBytes func(*uint8, uint) bool) bool
C function: nw_txt_record_access_bytes
func NwTxtRecordAccessKey ¶
func NwTxtRecordAccessKey(txtRecord *foundation.NSObject, key string, accessValue func(string, unsafe.Pointer, *uint8, unsafe.Pointer) bool) bool
C function: nw_txt_record_access_key
func NwTxtRecordApply ¶
func NwTxtRecordApply(txtRecord *foundation.NSObject, applier func(string, unsafe.Pointer, *uint8, unsafe.Pointer) bool) bool
C function: nw_txt_record_apply
func NwTxtRecordCopy ¶
func NwTxtRecordCopy(txtRecord *foundation.NSObject) unsafe.Pointer
C function: nw_txt_record_copy
func NwTxtRecordCreateDictionary ¶
C function: nw_txt_record_create_dictionary
func NwTxtRecordCreateWithBytes ¶
C function: nw_txt_record_create_with_bytes
func NwTxtRecordFindKey ¶
func NwTxtRecordFindKey(txtRecord *foundation.NSObject, key string) avrouting.Nw_txt_record_find_key_t
C function: nw_txt_record_find_key
func NwTxtRecordGetKeyCount ¶
func NwTxtRecordGetKeyCount(txtRecord *foundation.NSObject) uint
C function: nw_txt_record_get_key_count
func NwTxtRecordIsDictionary ¶
func NwTxtRecordIsDictionary(txtRecord *foundation.NSObject) bool
C function: nw_txt_record_is_dictionary
func NwTxtRecordIsEqual ¶
func NwTxtRecordIsEqual(left *foundation.NSObject, right *foundation.NSObject) bool
C function: nw_txt_record_is_equal
func NwTxtRecordRemoveKey ¶
func NwTxtRecordRemoveKey(txtRecord *foundation.NSObject, key string) bool
C function: nw_txt_record_remove_key
func NwTxtRecordSetKey ¶
func NwTxtRecordSetKey(txtRecord *foundation.NSObject, key string, value *uint8, valueLen uint) bool
C function: nw_txt_record_set_key
func NwUdpCreateMetadata ¶
C function: nw_udp_create_metadata
func NwUdpCreateOptions ¶
C function: nw_udp_create_options
func NwUdpOptionsSetPreferNoChecksum ¶
func NwUdpOptionsSetPreferNoChecksum(options *foundation.NSObject, preferNoChecksum bool)
C function: nw_udp_options_set_prefer_no_checksum
func NwWsCreateMetadata ¶
func NwWsCreateMetadata(opcode avrouting.Nw_ws_opcode_t) unsafe.Pointer
C function: nw_ws_create_metadata
func NwWsCreateOptions ¶
func NwWsCreateOptions(version avrouting.Nw_ws_version_t) unsafe.Pointer
C function: nw_ws_create_options
func NwWsMetadataCopyServerResponse ¶
func NwWsMetadataCopyServerResponse(metadata *foundation.NSObject) unsafe.Pointer
C function: nw_ws_metadata_copy_server_response
func NwWsMetadataGetCloseCode ¶
func NwWsMetadataGetCloseCode(metadata *foundation.NSObject) avrouting.Nw_ws_close_code_t
C function: nw_ws_metadata_get_close_code
func NwWsMetadataGetOpcode ¶
func NwWsMetadataGetOpcode(metadata *foundation.NSObject) avrouting.Nw_ws_opcode_t
C function: nw_ws_metadata_get_opcode
func NwWsMetadataSetCloseCode ¶
func NwWsMetadataSetCloseCode(metadata *foundation.NSObject, closeCode avrouting.Nw_ws_close_code_t)
C function: nw_ws_metadata_set_close_code
func NwWsMetadataSetPongHandler ¶
func NwWsMetadataSetPongHandler(metadata *foundation.NSObject, clientQueue *foundation.NSObject, pongHandler func(*foundation.NSObject))
C function: nw_ws_metadata_set_pong_handler
func NwWsOptionsAddAdditionalHeader ¶
func NwWsOptionsAddAdditionalHeader(options *foundation.NSObject, name string, value string)
C function: nw_ws_options_add_additional_header
func NwWsOptionsAddSubprotocol ¶
func NwWsOptionsAddSubprotocol(options *foundation.NSObject, subprotocol string)
C function: nw_ws_options_add_subprotocol
func NwWsOptionsSetAutoReplyPing ¶
func NwWsOptionsSetAutoReplyPing(options *foundation.NSObject, autoReplyPing bool)
C function: nw_ws_options_set_auto_reply_ping
func NwWsOptionsSetClientRequestHandler ¶
func NwWsOptionsSetClientRequestHandler(options *foundation.NSObject, clientQueue *foundation.NSObject, handler objc.Block)
C function: nw_ws_options_set_client_request_handler
func NwWsOptionsSetMaximumMessageSize ¶
func NwWsOptionsSetMaximumMessageSize(options *foundation.NSObject, maximumMessageSize uint)
C function: nw_ws_options_set_maximum_message_size
func NwWsOptionsSetSkipHandshake ¶
func NwWsOptionsSetSkipHandshake(options *foundation.NSObject, skipHandshake bool)
C function: nw_ws_options_set_skip_handshake
func NwWsRequestEnumerateAdditionalHeaders ¶
func NwWsRequestEnumerateAdditionalHeaders(request *foundation.NSObject, enumerator func(string, string) bool) bool
C function: nw_ws_request_enumerate_additional_headers
func NwWsRequestEnumerateSubprotocols ¶
func NwWsRequestEnumerateSubprotocols(request *foundation.NSObject, enumerator func(string) bool) bool
C function: nw_ws_request_enumerate_subprotocols
func NwWsResponseAddAdditionalHeader ¶
func NwWsResponseAddAdditionalHeader(response *foundation.NSObject, name string, value string)
C function: nw_ws_response_add_additional_header
func NwWsResponseCreate ¶
func NwWsResponseCreate(status avrouting.Nw_ws_response_status_t, selectedSubprotocol string) unsafe.Pointer
C function: nw_ws_response_create
func NwWsResponseEnumerateAdditionalHeaders ¶
func NwWsResponseEnumerateAdditionalHeaders(response *foundation.NSObject, enumerator func(string, string) bool) bool
C function: nw_ws_response_enumerate_additional_headers
func NwWsResponseGetSelectedSubprotocol ¶
func NwWsResponseGetSelectedSubprotocol(response *foundation.NSObject) string
C function: nw_ws_response_get_selected_subprotocol
func NwWsResponseGetStatus ¶
func NwWsResponseGetStatus(response *foundation.NSObject) avrouting.Nw_ws_response_status_t
C function: nw_ws_response_get_status
func Nw_connection_send_idempotent_content ¶
func Nw_connection_send_idempotent_content() func(*foundation.NSObject)
func Nw_content_context_default_message ¶
func Nw_content_context_default_message() *foundation.NSObject
func Nw_content_context_default_stream ¶
func Nw_content_context_default_stream() *foundation.NSObject
func Nw_content_context_final_send ¶
func Nw_content_context_final_send() *foundation.NSObject
func Nw_data_transfer_report_all_paths ¶
func Nw_data_transfer_report_all_paths() uint
func Nw_parameters_configure_protocol_default_configuration ¶
func Nw_parameters_configure_protocol_default_configuration() func(*foundation.NSObject)
func Nw_parameters_configure_protocol_disable ¶
func Nw_parameters_configure_protocol_disable() func(*foundation.NSObject)
func Nw_privacy_context_default_context ¶
func Nw_privacy_context_default_context() *foundation.NSObject
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type DNSServiceAAAAPolicy ¶
type DNSServiceAAAAPolicy int64
const ( KDNSServiceAAAAPolicyNone DNSServiceAAAAPolicy = 0 KDNSServiceAAAAPolicyFallback DNSServiceAAAAPolicy = 1 )
func (DNSServiceAAAAPolicy) String ¶
func (e DNSServiceAAAAPolicy) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type Nw_browser_state_t ¶
type Nw_browser_state_t int64
States indicating whether a browser is able to discover services.
const ( // @const nw_browser_state_invalid The state of the browser is not valid. This state will never be delivered in the browser's state update handler and can be treated as an unexpected value. Nw_browser_state_invalid Nw_browser_state_t = 0 // @const nw_browser_state_ready The browser is ready and able to receive endpoint updates. All callbacks from the browse_results_changed_handler occur when the browser is in this state. Nw_browser_state_ready Nw_browser_state_t = 1 // @const nw_browser_state_failed The browser has irrecoverably failed. You should not try to call nw_browser_start() on the browser to restart it. Instead, cancel the browser and create a new browser object. Nw_browser_state_failed Nw_browser_state_t = 2 // @const nw_browser_state_cancelled The browser has been cancelled by the caller. You should not try to call nw_browser_start() on the browser to restart it. Instead, create a new browser object. Nw_browser_state_cancelled Nw_browser_state_t = 3 // @const nw_browser_state_waiting The browser is waiting for connectivity. Results will not be delivered until the browser moves into the ready state. A browser can move from the ready state into the waiting state. The associated error indicates why the browser is unable to browse. Nw_browser_state_waiting Nw_browser_state_t = 4 )
func (Nw_browser_state_t) String ¶
func (e Nw_browser_state_t) String() string
type Nw_connection_group_state_t ¶
type Nw_connection_group_state_t int64
States that indicate whether you can use a connection group to send and receive messages.
const ( // @const nw_connection_group_state_invalid The state of the connection group is not valid. This state will never be delivered in the connection group's state update handler and can be treated as an unexpected value. Nw_connection_group_state_invalid Nw_connection_group_state_t = 0 // @const nw_connection_group_state_waiting The connection group is waiting for a usable network before being able to receive and process incoming messages. Nw_connection_group_state_waiting Nw_connection_group_state_t = 1 // @const nw_connection_group_state_ready The connection group is ready and able to receive and process incoming messages. Nw_connection_group_state_ready Nw_connection_group_state_t = 2 // @const nw_connection_group_state_failed The connection group has irrecoverably failed. You should cancel the connection group and create a new connection group object if you wish to continue processing incoming messages. Nw_connection_group_state_failed Nw_connection_group_state_t = 3 // @const nw_connection_group_state_cancelled The connection group has been cancelled by the user. You should create a new connection group object if you wish to continue processing incoming messages. Nw_connection_group_state_cancelled Nw_connection_group_state_t = 4 )
func (Nw_connection_group_state_t) String ¶
func (e Nw_connection_group_state_t) String() string
type Nw_connection_state_t ¶
type Nw_connection_state_t int64
States indicating whether a connection can be used to send and receive data.
const ( // @const nw_connection_state_invalid The state of the connection is not valid. This state will never be delivered in the connection's state update handler, and can be treated as an unexpected value. Nw_connection_state_invalid Nw_connection_state_t = 0 // @const nw_connection_state_waiting The connection is waiting for a usable network before re-attempting Nw_connection_state_waiting Nw_connection_state_t = 1 // @const nw_connection_state_preparing The connection is in the process of establishing Nw_connection_state_preparing Nw_connection_state_t = 2 // @const nw_connection_state_ready The connection is established and ready to send and receive data upon Nw_connection_state_ready Nw_connection_state_t = 3 // @const nw_connection_state_failed The connection has irrecoverably closed or failed Nw_connection_state_failed Nw_connection_state_t = 4 // @const nw_connection_state_cancelled The connection has been cancelled by the caller Nw_connection_state_cancelled Nw_connection_state_t = 5 )
func (Nw_connection_state_t) String ¶
func (e Nw_connection_state_t) String() string
type Nw_data_transfer_report_state_t ¶
type Nw_data_transfer_report_state_t int64
States indicating whether a data transfer report is collected yet.
const ( // @const nw_data_transfer_report_state_collecting The report is outstanding; values cannot be accessed. Nw_data_transfer_report_state_collecting Nw_data_transfer_report_state_t = 1 // @const nw_data_transfer_report_state_collected The report is complete; values can now be accessed. Nw_data_transfer_report_state_collected Nw_data_transfer_report_state_t = 2 )
func (Nw_data_transfer_report_state_t) String ¶
func (e Nw_data_transfer_report_state_t) String() string
type Nw_endpoint_type_t ¶
type Nw_endpoint_type_t int64
The type of a network endpoint, such as a host or a service.
const ( // @const nw_endpoint_type_invalid An invalid endpoint Nw_endpoint_type_invalid Nw_endpoint_type_t = 0 // @const nw_endpoint_type_address An IP Address + Port Nw_endpoint_type_address Nw_endpoint_type_t = 1 // @const nw_endpoint_type_host A Hostname + Port Nw_endpoint_type_host Nw_endpoint_type_t = 2 // @const nw_endpoint_type_bonjour_service A Bonjour Service Name + Type + Domain Nw_endpoint_type_bonjour_service Nw_endpoint_type_t = 3 // @const nw_endpoint_type_url A URL endpoint Nw_endpoint_type_url Nw_endpoint_type_t = 4 )
func (Nw_endpoint_type_t) String ¶
func (e Nw_endpoint_type_t) String() string
type Nw_error_domain_t ¶
type Nw_error_domain_t int64
The error domain for errors used by the Network framework.
const ( // @const nw_error_domain_invalid Nw_error_domain_invalid Nw_error_domain_t = 0 // @const nw_error_domain_posix The error code will be a POSIX error as defined in <sys/errno.h> Nw_error_domain_posix Nw_error_domain_t = 1 // @const nw_error_domain_dns The error code will be a DNSServiceErrorType error as defined in <dns_sd.h> Nw_error_domain_dns Nw_error_domain_t = 2 // @const nw_error_domain_tls The error code will be a TLS error as defined in <Security/SecBase.h> Nw_error_domain_tls Nw_error_domain_t = 3 // @const nw_error_domain_wifi_aware The error code will be a Wi-Fi Aware error as defined in <WifiAware/errors.swift> Nw_error_domain_wifi_aware Nw_error_domain_t = 4 )
func (Nw_error_domain_t) String ¶
func (e Nw_error_domain_t) String() string
type Nw_ethernet_channel_state_t ¶
type Nw_ethernet_channel_state_t int64
States indicating whether an Ethernet channel is able to send and receive frames.
const ( // @const nw_ethernet_channel_state_invalid The state of the channel is not valid. This state will never be delivered in the channel's state update handler, and can be treated as an unexpected value. Nw_ethernet_channel_state_invalid Nw_ethernet_channel_state_t = 0 // @const nw_ethernet_channel_state_waiting The channel is waiting for a usable network before re-attempting Nw_ethernet_channel_state_waiting Nw_ethernet_channel_state_t = 1 // @const nw_ethernet_channel_state_preparing The channel is in the process of establishing Nw_ethernet_channel_state_preparing Nw_ethernet_channel_state_t = 2 // @const nw_ethernet_channel_state_ready The channel is established and ready to send and receive data Nw_ethernet_channel_state_ready Nw_ethernet_channel_state_t = 3 // @const nw_ethernet_channel_state_failed The channel has irrecoverably closed or failed Nw_ethernet_channel_state_failed Nw_ethernet_channel_state_t = 4 // @const nw_ethernet_channel_state_cancelled The channel has been cancelled by the caller Nw_ethernet_channel_state_cancelled Nw_ethernet_channel_state_t = 5 )
func (Nw_ethernet_channel_state_t) String ¶
func (e Nw_ethernet_channel_state_t) String() string
type Nw_framer_start_result_t ¶
type Nw_framer_start_result_t int64
Results that you send to indicate the disposition of your protocol after the start handler is invoked.
const ( Nw_framer_start_result_ready Nw_framer_start_result_t = 1 Nw_framer_start_result_will_mark_ready Nw_framer_start_result_t = 2 )
func (Nw_framer_start_result_t) String ¶
func (e Nw_framer_start_result_t) String() string
type Nw_interface_radio_type_t ¶
type Nw_interface_radio_type_t int64
@typedef nw_interface_radio_type_t @abstract Interface radio types represent the radio technology for a network link.
const ( Nw_interface_radio_type_unknown Nw_interface_radio_type_t = 0 Nw_interface_radio_type_wifi_b Nw_interface_radio_type_t = 1 Nw_interface_radio_type_wifi_a Nw_interface_radio_type_t = 2 Nw_interface_radio_type_wifi_g Nw_interface_radio_type_t = 3 Nw_interface_radio_type_wifi_n Nw_interface_radio_type_t = 4 Nw_interface_radio_type_wifi_ac Nw_interface_radio_type_t = 5 Nw_interface_radio_type_wifi_ax Nw_interface_radio_type_t = 6 Nw_interface_radio_type_cell_lte Nw_interface_radio_type_t = 128 Nw_interface_radio_type_cell_endc_sub6 Nw_interface_radio_type_t = 129 Nw_interface_radio_type_cell_endc_mmw Nw_interface_radio_type_t = 130 Nw_interface_radio_type_cell_nr_sa_sub6 Nw_interface_radio_type_t = 131 Nw_interface_radio_type_cell_nr_sa_mmw Nw_interface_radio_type_t = 132 Nw_interface_radio_type_cell_wcdma Nw_interface_radio_type_t = 133 Nw_interface_radio_type_cell_gsm Nw_interface_radio_type_t = 134 Nw_interface_radio_type_cell_cdma Nw_interface_radio_type_t = 135 Nw_interface_radio_type_cell_evdo Nw_interface_radio_type_t = 136 )
func (Nw_interface_radio_type_t) String ¶
func (e Nw_interface_radio_type_t) String() string
type Nw_interface_type_t ¶
type Nw_interface_type_t int64
Types of network interfaces, based on their link layer media types.
const ( // @const nw_interface_type_other A virtual or otherwise unknown interface type Nw_interface_type_other Nw_interface_type_t = 0 // @const nw_interface_type_wifi A Wi-Fi link Nw_interface_type_wifi Nw_interface_type_t = 1 // @const nw_interface_type_wifi A Cellular link Nw_interface_type_cellular Nw_interface_type_t = 2 // @const nw_interface_type_wired A Wired Ethernet link Nw_interface_type_wired Nw_interface_type_t = 3 // @const nw_interface_type_loopback The loopback interface Nw_interface_type_loopback Nw_interface_type_t = 4 )
func (Nw_interface_type_t) String ¶
func (e Nw_interface_type_t) String() string
type Nw_ip_ecn_flag_t ¶
type Nw_ip_ecn_flag_t int64
Flag values for Explicit Congestion Notifications in IP packets.
const ( // @const nw_ip_ecn_flag_non_ect Non ECN-Capable Transport, value 0b00 Nw_ip_ecn_flag_non_ect Nw_ip_ecn_flag_t = 0 // @const nw_ip_ecn_flag_ect_0 ECN Capable Transport (0), value 0b10 Nw_ip_ecn_flag_ect_0 Nw_ip_ecn_flag_t = 2 // @const nw_ip_ecn_flag_ect_1 ECN Capable Transport (1), value 0b01 Nw_ip_ecn_flag_ect_1 Nw_ip_ecn_flag_t = 1 // @const nw_ip_ecn_flag_ce Congestion Experienced, value 0b11 Nw_ip_ecn_flag_ce Nw_ip_ecn_flag_t = 3 )
func (Nw_ip_ecn_flag_t) String ¶
func (e Nw_ip_ecn_flag_t) String() string
type Nw_ip_local_address_preference_t ¶
type Nw_ip_local_address_preference_t int64
Types of local addresses that can be selected, such as temporary or stable.
const ( // @const nw_ip_local_address_preference_default Use system default for address selection Nw_ip_local_address_preference_default Nw_ip_local_address_preference_t = 0 // @const nw_ip_local_address_preference_temporary Prefer temporary (privacy) addresses Nw_ip_local_address_preference_temporary Nw_ip_local_address_preference_t = 1 // @const nw_ip_local_address_preference_stable Prefer stable addresses Nw_ip_local_address_preference_stable Nw_ip_local_address_preference_t = 2 )
func (Nw_ip_local_address_preference_t) String ¶
func (e Nw_ip_local_address_preference_t) String() string
type Nw_ip_version_t ¶
type Nw_ip_version_t int64
IP versions to require on connections and listeners.
const ( // @const nw_ip_version_any Allow any IP version Nw_ip_version_any Nw_ip_version_t = 0 // @const nw_ip_version_4 Use IP version 4 (IPv4) Nw_ip_version_4 Nw_ip_version_t = 4 // @const nw_ip_version_6 Use IP version 6 (IPv6) Nw_ip_version_6 Nw_ip_version_t = 6 )
func (Nw_ip_version_t) String ¶
func (e Nw_ip_version_t) String() string
type Nw_link_quality_t ¶
type Nw_link_quality_t int64
@typedef nw_link_quality_t @abstract 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 ( // @const nw_link_quality_unknown No link quality measurement is available Nw_link_quality_unknown Nw_link_quality_t = 0 // @const nw_link_quality_minimal Link quality is minimal Nw_link_quality_minimal Nw_link_quality_t = 10 // @const nw_link_quality_moderate Link quality is moderate Nw_link_quality_moderate Nw_link_quality_t = 20 // @const nw_link_quality_good Link quality is good Nw_link_quality_good Nw_link_quality_t = 30 )
func (Nw_link_quality_t) String ¶
func (e Nw_link_quality_t) String() string
type Nw_listener_state_t ¶
type Nw_listener_state_t int64
States indicating whether a listener is able to accept incoming connections.
const ( // @const nw_listener_state_invalid The state of the listener is not valid. This state will never be delivered in the listener's state update handler, and can be treated as an unexpected value. Nw_listener_state_invalid Nw_listener_state_t = 0 // @const nw_listener_state_waiting The listener is waiting for a usable network before being able to receive connections Nw_listener_state_waiting Nw_listener_state_t = 1 // @const nw_listener_state_ready The listener is ready and able to accept incoming connections Nw_listener_state_ready Nw_listener_state_t = 2 // @const nw_listener_state_failed The listener has irrecoverably closed or failed Nw_listener_state_failed Nw_listener_state_t = 3 // @const nw_listener_state_cancelled The listener has been cancelled by the caller Nw_listener_state_cancelled Nw_listener_state_t = 4 )
func (Nw_listener_state_t) String ¶
func (e Nw_listener_state_t) String() string
type Nw_multipath_service_t ¶
type Nw_multipath_service_t int64
Modes in which a connection can support multipath protocols.
const ( // @const nw_multipath_service_disabled No multipath transport will be attempted Nw_multipath_service_disabled Nw_multipath_service_t = 0 // @const nw_multipath_service_handover Only use the expensive interface when the when the primary one is not available Nw_multipath_service_handover Nw_multipath_service_t = 1 // @const nw_multipath_service_interactive Use the expensive interface more aggressively to reduce latency Nw_multipath_service_interactive Nw_multipath_service_t = 2 // @const nw_multipath_service_aggregate Use all available interfaces to provide the highest throughput and lowest latency Nw_multipath_service_aggregate Nw_multipath_service_t = 3 )
func (Nw_multipath_service_t) String ¶
func (e Nw_multipath_service_t) String() string
type Nw_multipath_version_t ¶
type Nw_multipath_version_t int64
@typedef nw_multipath_version_t @abstract Multipath versions represent the MPTCP standard versions
const ( // @const nw_multipath_version_unspecified MPTCP unspecified version Nw_multipath_version_unspecified Nw_multipath_version_t = -1 // @const nw_multipath_version_0 MPTCP version 0 Nw_multipath_version_0 Nw_multipath_version_t = 0 // @const nw_multipath_version_1 MPTCP version 1 Nw_multipath_version_1 Nw_multipath_version_t = 1 )
func (Nw_multipath_version_t) String ¶
func (e Nw_multipath_version_t) String() string
type Nw_parameters_attribution_t ¶
type Nw_parameters_attribution_t int64
The entities that can make a network request.
const ( // A developer-initiated network request. Nw_parameters_attribution_developer Nw_parameters_attribution_t = 1 // The user explicitly directs the app to make a network request. Nw_parameters_attribution_user Nw_parameters_attribution_t = 2 )
func NwParametersGetAttribution ¶
func NwParametersGetAttribution(parameters *foundation.NSObject) Nw_parameters_attribution_t
C function: nw_parameters_get_attribution
func (Nw_parameters_attribution_t) String ¶
func (e Nw_parameters_attribution_t) String() string
type Nw_parameters_expired_dns_behavior_t ¶
type Nw_parameters_expired_dns_behavior_t int64
Options for configuring how expired DNS answers should be used.
const ( // @const nw_parameters_expired_dns_behavior_default Let the system determine whether or not to allow expired DNS answers Nw_parameters_expired_dns_behavior_default Nw_parameters_expired_dns_behavior_t = 0 // @const nw_parameters_expired_dns_behavior_allow Explicitly allow the use of expired DNS answers Nw_parameters_expired_dns_behavior_allow Nw_parameters_expired_dns_behavior_t = 1 // @const nw_parameters_expired_dns_behavior_allow Explicitly prohibit the use of expired DNS answers Nw_parameters_expired_dns_behavior_prohibit Nw_parameters_expired_dns_behavior_t = 2 // @const nw_parameters_expired_dns_behavior_persistent Allow the use of expired DNS answers, and store answers in a persistent per-process cache. This should only be set for hostnames whose resolutions are not expected to change across networks. Nw_parameters_expired_dns_behavior_persistent Nw_parameters_expired_dns_behavior_t = 3 )
func (Nw_parameters_expired_dns_behavior_t) String ¶
func (e Nw_parameters_expired_dns_behavior_t) String() string
type Nw_path_status_t ¶
type Nw_path_status_t int64
Status values indicating whether a path can be used by connections.
const ( // @const nw_path_status_invalid The path is not valid Nw_path_status_invalid Nw_path_status_t = 0 // @const nw_path_status_satisfied The path has a usable route upon which to send and receive data Nw_path_status_satisfied Nw_path_status_t = 1 // @const nw_path_status_unsatisfied The path does not have a usable route. This may be due to a network interface being down, or due to system policy. Nw_path_status_unsatisfied Nw_path_status_t = 2 // @const nw_path_status_satisfiable The path does not currently have a usable route, but a connection attempt will trigger network attachment Nw_path_status_satisfiable Nw_path_status_t = 3 )
func (Nw_path_status_t) String ¶
func (e Nw_path_status_t) String() string
type Nw_path_unsatisfied_reason_t ¶
type Nw_path_unsatisfied_reason_t int64
@typedef nw_path_unsatisfied_reason_t @abstract A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.
const ( // @const nw_path_unsatisfied_reason_not_available No reason is given Nw_path_unsatisfied_reason_not_available Nw_path_unsatisfied_reason_t = 0 // @const nw_path_unsatisfied_reason_cellular_denied The user has disabled cellular Nw_path_unsatisfied_reason_cellular_denied Nw_path_unsatisfied_reason_t = 1 // @const nw_path_unsatisfied_reason_wifi_denied The user has disabled Wi-Fi Nw_path_unsatisfied_reason_wifi_denied Nw_path_unsatisfied_reason_t = 2 // @const nw_path_unsatisfied_reason_local_network_denied The user has disabled local network access Nw_path_unsatisfied_reason_local_network_denied Nw_path_unsatisfied_reason_t = 3 // @const nw_path_unsatisfied_reason_vpn_inactive A required VPN is not active Nw_path_unsatisfied_reason_vpn_inactive Nw_path_unsatisfied_reason_t = 4 )
func (Nw_path_unsatisfied_reason_t) String ¶
func (e Nw_path_unsatisfied_reason_t) String() string
type Nw_quic_stream_type_t ¶
type Nw_quic_stream_type_t int64
@typedef nw_quic_stream_type_t @abstract Represents the type of a QUIC stream.
const ( // @const nw_quic_stream_type_unknown A QUIC stream whose direction can not be determined. Nw_quic_stream_type_unknown Nw_quic_stream_type_t = 0 // @const nw_quic_stream_type_bidirectional A bidirectional QUIC stream. Nw_quic_stream_type_bidirectional Nw_quic_stream_type_t = 1 // @const nw_quic_stream_type_unidirectional An unidirectional QUIC stream. Nw_quic_stream_type_unidirectional Nw_quic_stream_type_t = 2 // @const nw_quic_stream_type_datagram A QUIC datagram stream. Nw_quic_stream_type_datagram Nw_quic_stream_type_t = 3 )
func (Nw_quic_stream_type_t) String ¶
func (e Nw_quic_stream_type_t) String() string
type Nw_report_resolution_protocol_t ¶
type Nw_report_resolution_protocol_t int64
A set of transport protocols connections use for DNS resolution.
const ( // @const nw_report_resolution_protocol_unknown The protocol used is not known, or not applicable Nw_report_resolution_protocol_unknown Nw_report_resolution_protocol_t = 0 // @const nw_report_resolution_protocol_udp Resolution used DNS over UDP Nw_report_resolution_protocol_udp Nw_report_resolution_protocol_t = 1 // @const nw_report_resolution_protocol_tcp Resolution used DNS over TCP Nw_report_resolution_protocol_tcp Nw_report_resolution_protocol_t = 2 // @const nw_report_resolution_protocol_tls Resolution used DNS over TLS Nw_report_resolution_protocol_tls Nw_report_resolution_protocol_t = 3 // @const nw_report_resolution_protocol_https Resolution used DNS over HTTPS Nw_report_resolution_protocol_https Nw_report_resolution_protocol_t = 4 )
func (Nw_report_resolution_protocol_t) String ¶
func (e Nw_report_resolution_protocol_t) String() string
type Nw_report_resolution_source_t ¶
type Nw_report_resolution_source_t int64
Sources that may provide DNS responses.
const ( // @const nw_report_resolution_source_query A query was sent over the network Nw_report_resolution_source_query Nw_report_resolution_source_t = 1 // @const nw_report_resolution_source_cache The local cache was used Nw_report_resolution_source_cache Nw_report_resolution_source_t = 2 // @const nw_report_resolution_source_expired_cache An expired entry in the local cache was used Nw_report_resolution_source_expired_cache Nw_report_resolution_source_t = 3 )
func (Nw_report_resolution_source_t) String ¶
func (e Nw_report_resolution_source_t) String() string
type Nw_service_class_t ¶
type Nw_service_class_t int64
Levels of service quality that can be used with a connection.
const ( // @const nw_service_class_best_effort Default priority traffic Nw_service_class_best_effort Nw_service_class_t = 0 // @const nw_service_class_background Bulk traffic, or traffic that can be de-prioritized behind foreground traffic Nw_service_class_background Nw_service_class_t = 1 // @const nw_service_class_interactive_video Interactive video traffic Nw_service_class_interactive_video Nw_service_class_t = 2 // @const nw_service_class_interactive_voice Interactive voice traffic Nw_service_class_interactive_voice Nw_service_class_t = 3 // @const nw_service_class_responsive_data Interactive user data Nw_service_class_responsive_data Nw_service_class_t = 4 // @const nw_service_class_signaling Bursty but short. Intolerant of delay and loss. For example, SIP. Nw_service_class_signaling Nw_service_class_t = 5 )
func (Nw_service_class_t) String ¶
func (e Nw_service_class_t) String() string
type Nw_txt_record_find_key_t ¶
type Nw_txt_record_find_key_t int64
Status values describing what kind of value is stored in a TXT record dictionary.
const ( // @const nw_txt_record_find_key_invalid The key is invalid. According to RFC 1464, a key is invalid if it is an empty string, contains non-ASCII characters, or has length greater than UINT8_MAX. Nw_txt_record_find_key_invalid Nw_txt_record_find_key_t = 0 // @const nw_txt_record_find_key_not_present The key-value pair does not exist in the TXT record. Nw_txt_record_find_key_not_present Nw_txt_record_find_key_t = 1 // @const nw_txt_record_find_key_no_value The key exists in the TXT record, but has no assigned value. Nw_txt_record_find_key_no_value Nw_txt_record_find_key_t = 2 // @const nw_txt_record_find_key_empty_value The key exists in the TXT record with an empty value. Nw_txt_record_find_key_empty_value Nw_txt_record_find_key_t = 3 // @const nw_txt_record_find_key_non_empty_value The key exists in the TXT record with a non-empty value. Nw_txt_record_find_key_non_empty_value Nw_txt_record_find_key_t = 4 )
func (Nw_txt_record_find_key_t) String ¶
func (e Nw_txt_record_find_key_t) String() string
type Nw_ws_close_code_t ¶
type Nw_ws_close_code_t int64
Types of codes used upon closing a WebSocket connection.
const ( // @const nw_ws_close_code_normal_closure Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled. Nw_ws_close_code_normal_closure Nw_ws_close_code_t = 1000 // @const nw_ws_close_code_normal_going_away Indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page. Nw_ws_close_code_going_away Nw_ws_close_code_t = 1001 // @const nw_ws_close_code_protocol_error Indicates that an endpoint is terminating the connection due to a protocol error. Nw_ws_close_code_protocol_error Nw_ws_close_code_t = 1002 // @const nw_ws_close_code_normal_closure Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message). Nw_ws_close_code_unsupported_data Nw_ws_close_code_t = 1003 // @const nw_ws_close_code_no_status_received A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that no status code was actually present. Nw_ws_close_code_no_status_received Nw_ws_close_code_t = 1005 // @const nw_ws_close_code_abnormal_closure A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g., without sending or receiving a Close control frame. Nw_ws_close_code_abnormal_closure Nw_ws_close_code_t = 1006 // @const nw_ws_close_code_invalid_frame_payload_data Indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message). Nw_ws_close_code_invalid_frame_payload_data Nw_ws_close_code_t = 1007 // @const nw_ws_close_code_policy_violation Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no other more suitable status code (e.g., 1003 or 1009) or if there is a need to hide specific details about the policy. Nw_ws_close_code_policy_violation Nw_ws_close_code_t = 1008 // @const nw_ws_close_code_message_too_big Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process. Nw_ws_close_code_message_too_big Nw_ws_close_code_t = 1009 // @const nw_ws_close_code_mandatory_extension Indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extensions, but the server didn't return them in the response message of the WebSocket handshake. The list of extensions that are needed SHOULD appear in the /reason/ part of the Close frame. Note that this status code is not used by the server, because it can fail the WebSocket handshake instead. Nw_ws_close_code_mandatory_extension Nw_ws_close_code_t = 1010 // @const nw_ws_close_code_internal_server_error Indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request. Nw_ws_close_code_internal_server_error Nw_ws_close_code_t = 1011 // @const nw_ws_close_code_tls_handshake A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified). Nw_ws_close_code_tls_handshake Nw_ws_close_code_t = 1015 )
func (Nw_ws_close_code_t) String ¶
func (e Nw_ws_close_code_t) String() string
type Nw_ws_opcode_t ¶
type Nw_ws_opcode_t int64
Types of messages that you send and receive on a WebSocket connection.
const ( // @const nw_ws_opcode_invalid Denotes an invalid frame. Nw_ws_opcode_invalid Nw_ws_opcode_t = -1 // @const nw_ws_opcode_cont Denotes a continuation frame. Protocol WebSocket handles continuation frames internally, so clients will not see or use continuation frames. Nw_ws_opcode_cont Nw_ws_opcode_t = 0 // @const nw_ws_opcode_text Denotes a text frame. Nw_ws_opcode_text Nw_ws_opcode_t = 1 // @const nw_ws_opcode_text Denotes a binary frame. Nw_ws_opcode_binary Nw_ws_opcode_t = 2 // @const nw_ws_opcode_text Denotes a close frame. Nw_ws_opcode_close Nw_ws_opcode_t = 8 // @const nw_ws_opcode_text Denotes a ping frame. Nw_ws_opcode_ping Nw_ws_opcode_t = 9 // @const nw_ws_opcode_text Denotes a pong frame. Nw_ws_opcode_pong Nw_ws_opcode_t = 10 )
func (Nw_ws_opcode_t) String ¶
func (e Nw_ws_opcode_t) String() string
type Nw_ws_response_status_t ¶
type Nw_ws_response_status_t int64
Status values that are sent with a WebSocket server response.
const ( // @const nw_ws_response_status_invalid The response is invalid. This should be treated as an unexpected value. Nw_ws_response_status_invalid Nw_ws_response_status_t = 0 // @const nw_ws_response_status_accept Accept the request to connect. The WebSocket connection will begin framing data. Nw_ws_response_status_accept Nw_ws_response_status_t = 1 // @const nw_ws_response_status_accept Reject the request to connect. The WebSocket connection will be closed. Nw_ws_response_status_reject Nw_ws_response_status_t = 2 )
func (Nw_ws_response_status_t) String ¶
func (e Nw_ws_response_status_t) String() string
type Nw_ws_version_t ¶
type Nw_ws_version_t int64
Supported versions of the WebSocket protocol.
const ( // @const nw_ws_version_invalid An invalid WebSocket version Nw_ws_version_invalid Nw_ws_version_t = 0 // @const nw_ws_version_13 WebSocket v13 as defined in RFC 6455 Nw_ws_version_13 Nw_ws_version_t = 1 )
func (Nw_ws_version_t) String ¶
func (e Nw_ws_version_t) String() string
type OS_nw_advertise_descriptor ¶
type OS_nw_advertise_descriptor interface {
}
OS_nw_advertise_descriptor wraps the ObjC protocol OS_nw_advertise_descriptor.
type OS_nw_browse_descriptor ¶
type OS_nw_browse_descriptor interface {
}
OS_nw_browse_descriptor wraps the ObjC protocol OS_nw_browse_descriptor.
type OS_nw_browse_result ¶
type OS_nw_browse_result interface {
}
OS_nw_browse_result wraps the ObjC protocol OS_nw_browse_result.
type OS_nw_browser ¶
type OS_nw_browser interface {
}
OS_nw_browser wraps the ObjC protocol OS_nw_browser.
type OS_nw_connection ¶
type OS_nw_connection interface {
}
OS_nw_connection wraps the ObjC protocol OS_nw_connection.
type OS_nw_connection_group ¶
type OS_nw_connection_group interface {
}
OS_nw_connection_group wraps the ObjC protocol OS_nw_connection_group.
type OS_nw_content_context ¶
type OS_nw_content_context interface {
}
OS_nw_content_context wraps the ObjC protocol OS_nw_content_context.
type OS_nw_data_transfer_report ¶
type OS_nw_data_transfer_report interface {
}
OS_nw_data_transfer_report wraps the ObjC protocol OS_nw_data_transfer_report.
type OS_nw_endpoint ¶
type OS_nw_endpoint interface {
}
OS_nw_endpoint wraps the ObjC protocol OS_nw_endpoint.
type OS_nw_establishment_report ¶
type OS_nw_establishment_report interface {
}
OS_nw_establishment_report wraps the ObjC protocol OS_nw_establishment_report.
type OS_nw_ethernet_channel ¶
type OS_nw_ethernet_channel interface {
}
OS_nw_ethernet_channel wraps the ObjC protocol OS_nw_ethernet_channel.
type OS_nw_framer ¶
type OS_nw_framer interface {
}
OS_nw_framer wraps the ObjC protocol OS_nw_framer.
type OS_nw_group_descriptor ¶
type OS_nw_group_descriptor interface {
}
OS_nw_group_descriptor wraps the ObjC protocol OS_nw_group_descriptor.
type OS_nw_interface ¶
type OS_nw_interface interface {
}
OS_nw_interface wraps the ObjC protocol OS_nw_interface.
type OS_nw_listener ¶
type OS_nw_listener interface {
}
OS_nw_listener wraps the ObjC protocol OS_nw_listener.
type OS_nw_object ¶
type OS_nw_object interface {
}
OS_nw_object wraps the ObjC protocol OS_nw_object.
type OS_nw_parameters ¶
type OS_nw_parameters interface {
}
OS_nw_parameters wraps the ObjC protocol OS_nw_parameters.
type OS_nw_path_monitor ¶
type OS_nw_path_monitor interface {
}
OS_nw_path_monitor wraps the ObjC protocol OS_nw_path_monitor.
type OS_nw_privacy_context ¶
type OS_nw_privacy_context interface {
}
OS_nw_privacy_context wraps the ObjC protocol OS_nw_privacy_context.
type OS_nw_protocol_definition ¶
type OS_nw_protocol_definition interface {
}
OS_nw_protocol_definition wraps the ObjC protocol OS_nw_protocol_definition.
type OS_nw_protocol_metadata ¶
type OS_nw_protocol_metadata interface {
}
OS_nw_protocol_metadata wraps the ObjC protocol OS_nw_protocol_metadata.
type OS_nw_protocol_options ¶
type OS_nw_protocol_options interface {
}
OS_nw_protocol_options wraps the ObjC protocol OS_nw_protocol_options.
type OS_nw_protocol_stack ¶
type OS_nw_protocol_stack interface {
}
OS_nw_protocol_stack wraps the ObjC protocol OS_nw_protocol_stack.
type OS_nw_proxy_config ¶
type OS_nw_proxy_config interface {
}
OS_nw_proxy_config wraps the ObjC protocol OS_nw_proxy_config.
type OS_nw_relay_hop ¶
type OS_nw_relay_hop interface {
}
OS_nw_relay_hop wraps the ObjC protocol OS_nw_relay_hop.
type OS_nw_resolution_report ¶
type OS_nw_resolution_report interface {
}
OS_nw_resolution_report wraps the ObjC protocol OS_nw_resolution_report.
type OS_nw_resolver_config ¶
type OS_nw_resolver_config interface {
}
OS_nw_resolver_config wraps the ObjC protocol OS_nw_resolver_config.
type OS_nw_txt_record ¶
type OS_nw_txt_record interface {
}
OS_nw_txt_record wraps the ObjC protocol OS_nw_txt_record.
type OS_nw_ws_request ¶
type OS_nw_ws_request interface {
}
OS_nw_ws_request wraps the ObjC protocol OS_nw_ws_request.
type OS_nw_ws_response ¶
type OS_nw_ws_response interface {
}
OS_nw_ws_response wraps the ObjC protocol OS_nw_ws_response.
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string