network

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package network provides a fluent Go API over the macOS Network framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

View Source
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() obj.Object

KNWErrorDomainDNS returns the value of the constant kNWErrorDomainDNS.

func KNWErrorDomainPOSIX

func KNWErrorDomainPOSIX() obj.Object

KNWErrorDomainPOSIX returns the value of the constant kNWErrorDomainPOSIX.

func KNWErrorDomainTLS

func KNWErrorDomainTLS() obj.Object

KNWErrorDomainTLS returns the value of the constant kNWErrorDomainTLS.

func KNWErrorDomainWiFiAware

func KNWErrorDomainWiFiAware() obj.Object

KNWErrorDomainWiFiAware returns the value of the constant kNWErrorDomainWiFiAware.

func NwAdvertiseDescriptorCopyTxtRecordObject

func NwAdvertiseDescriptorCopyTxtRecordObject(advertiseDescriptor obj.Object) unsafe.Pointer

NwAdvertiseDescriptorCopyTxtRecordObject calls the Network framework function nw_advertise_descriptor_copy_txt_record_object.

func NwAdvertiseDescriptorCreateApplicationService

func NwAdvertiseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer

NwAdvertiseDescriptorCreateApplicationService calls the Network framework function nw_advertise_descriptor_create_application_service.

func NwAdvertiseDescriptorCreateBonjourService

func NwAdvertiseDescriptorCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer

NwAdvertiseDescriptorCreateBonjourService calls the Network framework function nw_advertise_descriptor_create_bonjour_service.

func NwAdvertiseDescriptorGetApplicationServiceName

func NwAdvertiseDescriptorGetApplicationServiceName(advertiseDescriptor obj.Object) string

NwAdvertiseDescriptorGetApplicationServiceName calls the Network framework function nw_advertise_descriptor_get_application_service_name.

func NwAdvertiseDescriptorGetNoAutoRename

func NwAdvertiseDescriptorGetNoAutoRename(advertiseDescriptor obj.Object) bool

NwAdvertiseDescriptorGetNoAutoRename calls the Network framework function nw_advertise_descriptor_get_no_auto_rename.

func NwAdvertiseDescriptorSetNoAutoRename

func NwAdvertiseDescriptorSetNoAutoRename(advertiseDescriptor obj.Object, noAutoRename bool)

NwAdvertiseDescriptorSetNoAutoRename calls the Network framework function nw_advertise_descriptor_set_no_auto_rename.

func NwAdvertiseDescriptorSetTxtRecord

func NwAdvertiseDescriptorSetTxtRecord(advertiseDescriptor obj.Object, txtRecord unsafe.Pointer, txtLength int)

NwAdvertiseDescriptorSetTxtRecord calls the Network framework function nw_advertise_descriptor_set_txt_record.

func NwAdvertiseDescriptorSetTxtRecordObject

func NwAdvertiseDescriptorSetTxtRecordObject(advertiseDescriptor obj.Object, txtRecord obj.Object)

NwAdvertiseDescriptorSetTxtRecordObject calls the Network framework function nw_advertise_descriptor_set_txt_record_object.

func NwBrowseDescriptorCreateApplicationService

func NwBrowseDescriptorCreateApplicationService(applicationServiceName string) unsafe.Pointer

NwBrowseDescriptorCreateApplicationService calls the Network framework function nw_browse_descriptor_create_application_service.

func NwBrowseDescriptorCreateBonjourService

func NwBrowseDescriptorCreateBonjourService(type_ string, domain string) unsafe.Pointer

NwBrowseDescriptorCreateBonjourService calls the Network framework function nw_browse_descriptor_create_bonjour_service.

func NwBrowseDescriptorGetApplicationServiceName

func NwBrowseDescriptorGetApplicationServiceName(descriptor obj.Object) string

NwBrowseDescriptorGetApplicationServiceName calls the Network framework function nw_browse_descriptor_get_application_service_name.

func NwBrowseDescriptorGetBonjourServiceDomain

func NwBrowseDescriptorGetBonjourServiceDomain(descriptor obj.Object) string

NwBrowseDescriptorGetBonjourServiceDomain calls the Network framework function nw_browse_descriptor_get_bonjour_service_domain.

func NwBrowseDescriptorGetBonjourServiceType

func NwBrowseDescriptorGetBonjourServiceType(descriptor obj.Object) string

NwBrowseDescriptorGetBonjourServiceType calls the Network framework function nw_browse_descriptor_get_bonjour_service_type.

func NwBrowseDescriptorGetIncludeTxtRecord

func NwBrowseDescriptorGetIncludeTxtRecord(descriptor obj.Object) bool

NwBrowseDescriptorGetIncludeTxtRecord calls the Network framework function nw_browse_descriptor_get_include_txt_record.

func NwBrowseDescriptorSetIncludeTxtRecord

func NwBrowseDescriptorSetIncludeTxtRecord(descriptor obj.Object, includeTxtRecord bool)

NwBrowseDescriptorSetIncludeTxtRecord calls the Network framework function nw_browse_descriptor_set_include_txt_record.

func NwBrowseResultCopyEndpoint

func NwBrowseResultCopyEndpoint(result obj.Object) unsafe.Pointer

NwBrowseResultCopyEndpoint calls the Network framework function nw_browse_result_copy_endpoint.

func NwBrowseResultCopyTxtRecordObject

func NwBrowseResultCopyTxtRecordObject(result obj.Object) unsafe.Pointer

NwBrowseResultCopyTxtRecordObject calls the Network framework function nw_browse_result_copy_txt_record_object.

func NwBrowseResultEnumerateInterfaces

func NwBrowseResultEnumerateInterfaces(result obj.Object, enumerator func(obj.Object) bool)

NwBrowseResultEnumerateInterfaces calls the Network framework function nw_browse_result_enumerate_interfaces.

func NwBrowseResultGetChanges

func NwBrowseResultGetChanges(oldResult obj.Object, newResult obj.Object) uint64

NwBrowseResultGetChanges calls the Network framework function nw_browse_result_get_changes.

func NwBrowseResultGetInterfacesCount

func NwBrowseResultGetInterfacesCount(result obj.Object) int

NwBrowseResultGetInterfacesCount calls the Network framework function nw_browse_result_get_interfaces_count.

func NwBrowserCancel

func NwBrowserCancel(browser obj.Object)

NwBrowserCancel calls the Network framework function nw_browser_cancel.

func NwBrowserCopyBrowseDescriptor

func NwBrowserCopyBrowseDescriptor(browser obj.Object) unsafe.Pointer

NwBrowserCopyBrowseDescriptor calls the Network framework function nw_browser_copy_browse_descriptor.

func NwBrowserCopyParameters

func NwBrowserCopyParameters(browser obj.Object) unsafe.Pointer

NwBrowserCopyParameters calls the Network framework function nw_browser_copy_parameters.

func NwBrowserCreate

func NwBrowserCreate(descriptor obj.Object, parameters obj.Object) unsafe.Pointer

NwBrowserCreate calls the Network framework function nw_browser_create.

func NwBrowserSetBrowseResultsChangedHandler

func NwBrowserSetBrowseResultsChangedHandler(browser obj.Object, handler func(obj.Object, obj.Object, bool))

NwBrowserSetBrowseResultsChangedHandler calls the Network framework function nw_browser_set_browse_results_changed_handler.

func NwBrowserSetQueue

func NwBrowserSetQueue(browser obj.Object, queue dispatch.Queue)

NwBrowserSetQueue calls the Network framework function nw_browser_set_queue.

func NwBrowserSetStateChangedHandler

func NwBrowserSetStateChangedHandler(browser obj.Object, stateChangedHandler unsafe.Pointer)

NwBrowserSetStateChangedHandler calls the Network framework function nw_browser_set_state_changed_handler.

func NwBrowserStart

func NwBrowserStart(browser obj.Object)

NwBrowserStart calls the Network framework function nw_browser_start.

func NwConnectionAccessEstablishmentReport

func NwConnectionAccessEstablishmentReport(connection obj.Object, queue dispatch.Queue, accessBlock func(obj.Object))

NwConnectionAccessEstablishmentReport calls the Network framework function nw_connection_access_establishment_report.

func NwConnectionBatch

func NwConnectionBatch(connection obj.Object, batchBlock func())

NwConnectionBatch calls the Network framework function nw_connection_batch.

func NwConnectionCancel

func NwConnectionCancel(connection obj.Object)

NwConnectionCancel calls the Network framework function nw_connection_cancel.

func NwConnectionCancelCurrentEndpoint

func NwConnectionCancelCurrentEndpoint(connection obj.Object)

NwConnectionCancelCurrentEndpoint calls the Network framework function nw_connection_cancel_current_endpoint.

func NwConnectionCopyCurrentPath

func NwConnectionCopyCurrentPath(connection obj.Object) unsafe.Pointer

NwConnectionCopyCurrentPath calls the Network framework function nw_connection_copy_current_path.

func NwConnectionCopyDescription

func NwConnectionCopyDescription(connection obj.Object) string

NwConnectionCopyDescription calls the Network framework function nw_connection_copy_description.

func NwConnectionCopyEndpoint

func NwConnectionCopyEndpoint(connection obj.Object) unsafe.Pointer

NwConnectionCopyEndpoint calls the Network framework function nw_connection_copy_endpoint.

func NwConnectionCopyParameters

func NwConnectionCopyParameters(connection obj.Object) unsafe.Pointer

NwConnectionCopyParameters calls the Network framework function nw_connection_copy_parameters.

func NwConnectionCopyProtocolMetadata

func NwConnectionCopyProtocolMetadata(connection obj.Object, definition obj.Object) unsafe.Pointer

NwConnectionCopyProtocolMetadata calls the Network framework function nw_connection_copy_protocol_metadata.

func NwConnectionCreate

func NwConnectionCreate(endpoint obj.Object, parameters obj.Object) unsafe.Pointer

NwConnectionCreate calls the Network framework function nw_connection_create.

func NwConnectionCreateNewDataTransferReport

func NwConnectionCreateNewDataTransferReport(connection obj.Object) unsafe.Pointer

NwConnectionCreateNewDataTransferReport calls the Network framework function nw_connection_create_new_data_transfer_report.

func NwConnectionForceCancel

func NwConnectionForceCancel(connection obj.Object)

NwConnectionForceCancel calls the Network framework function nw_connection_force_cancel.

func NwConnectionGetMaximumDatagramSize

func NwConnectionGetMaximumDatagramSize(connection obj.Object) uint32

NwConnectionGetMaximumDatagramSize calls the Network framework function nw_connection_get_maximum_datagram_size.

func NwConnectionGroupCancel

func NwConnectionGroupCancel(group obj.Object)

NwConnectionGroupCancel calls the Network framework function nw_connection_group_cancel.

func NwConnectionGroupCopyDescriptor

func NwConnectionGroupCopyDescriptor(group obj.Object) unsafe.Pointer

NwConnectionGroupCopyDescriptor calls the Network framework function nw_connection_group_copy_descriptor.

func NwConnectionGroupCopyLocalEndpointForMessage

func NwConnectionGroupCopyLocalEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer

NwConnectionGroupCopyLocalEndpointForMessage calls the Network framework function nw_connection_group_copy_local_endpoint_for_message.

func NwConnectionGroupCopyParameters

func NwConnectionGroupCopyParameters(group obj.Object) unsafe.Pointer

NwConnectionGroupCopyParameters calls the Network framework function nw_connection_group_copy_parameters.

func NwConnectionGroupCopyPathForMessage

func NwConnectionGroupCopyPathForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer

NwConnectionGroupCopyPathForMessage calls the Network framework function nw_connection_group_copy_path_for_message.

func NwConnectionGroupCopyProtocolMetadata

func NwConnectionGroupCopyProtocolMetadata(group obj.Object, definition obj.Object) *foundation.Object

NwConnectionGroupCopyProtocolMetadata calls the Network framework function nw_connection_group_copy_protocol_metadata.

func NwConnectionGroupCopyProtocolMetadataForMessage

func NwConnectionGroupCopyProtocolMetadataForMessage(group obj.Object, context_ obj.Object, definition obj.Object) *foundation.Object

NwConnectionGroupCopyProtocolMetadataForMessage calls the Network framework function nw_connection_group_copy_protocol_metadata_for_message.

func NwConnectionGroupCopyRemoteEndpointForMessage

func NwConnectionGroupCopyRemoteEndpointForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer

NwConnectionGroupCopyRemoteEndpointForMessage calls the Network framework function nw_connection_group_copy_remote_endpoint_for_message.

func NwConnectionGroupCreate

func NwConnectionGroupCreate(groupDescriptor obj.Object, parameters obj.Object) unsafe.Pointer

NwConnectionGroupCreate calls the Network framework function nw_connection_group_create.

func NwConnectionGroupExtractConnection

func NwConnectionGroupExtractConnection(group obj.Object, endpoint obj.Object, protocolOptions obj.Object) unsafe.Pointer

NwConnectionGroupExtractConnection calls the Network framework function nw_connection_group_extract_connection.

func NwConnectionGroupExtractConnectionForMessage

func NwConnectionGroupExtractConnectionForMessage(group obj.Object, context_ obj.Object) unsafe.Pointer

NwConnectionGroupExtractConnectionForMessage calls the Network framework function nw_connection_group_extract_connection_for_message.

func NwConnectionGroupReinsertExtractedConnection

func NwConnectionGroupReinsertExtractedConnection(group obj.Object, connection obj.Object) bool

NwConnectionGroupReinsertExtractedConnection calls the Network framework function nw_connection_group_reinsert_extracted_connection.

func NwConnectionGroupReply

func NwConnectionGroupReply(group obj.Object, inboundMessage obj.Object, outboundMessage obj.Object, content dispatch.Data)

NwConnectionGroupReply calls the Network framework function nw_connection_group_reply.

func NwConnectionGroupSendMessage

func NwConnectionGroupSendMessage(group obj.Object, content dispatch.Data, endpoint obj.Object, context_ obj.Object, completion func(obj.Object))

NwConnectionGroupSendMessage calls the Network framework function nw_connection_group_send_message.

func NwConnectionGroupSetNewConnectionHandler

func NwConnectionGroupSetNewConnectionHandler(group obj.Object, newConnectionHandler func(obj.Object))

NwConnectionGroupSetNewConnectionHandler calls the Network framework function nw_connection_group_set_new_connection_handler.

func NwConnectionGroupSetQueue

func NwConnectionGroupSetQueue(group obj.Object, queue dispatch.Queue)

NwConnectionGroupSetQueue calls the Network framework function nw_connection_group_set_queue.

func NwConnectionGroupSetReceiveHandler

func NwConnectionGroupSetReceiveHandler(group obj.Object, maximumMessageSize uint32, rejectOversizedMessages bool, receiveHandler func(obj.Object, obj.Object, bool))

NwConnectionGroupSetReceiveHandler calls the Network framework function nw_connection_group_set_receive_handler.

func NwConnectionGroupSetStateChangedHandler

func NwConnectionGroupSetStateChangedHandler(group obj.Object, stateChangedHandler unsafe.Pointer)

NwConnectionGroupSetStateChangedHandler calls the Network framework function nw_connection_group_set_state_changed_handler.

func NwConnectionGroupStart

func NwConnectionGroupStart(group obj.Object)

NwConnectionGroupStart calls the Network framework function nw_connection_group_start.

func NwConnectionReceive

func NwConnectionReceive(connection obj.Object, minimumIncompleteLength uint32, maximumLength uint32, completion func(obj.Object, obj.Object, bool, obj.Object))

NwConnectionReceive calls the Network framework function nw_connection_receive.

func NwConnectionReceiveMessage

func NwConnectionReceiveMessage(connection obj.Object, completion func(obj.Object, obj.Object, bool, obj.Object))

NwConnectionReceiveMessage calls the Network framework function nw_connection_receive_message.

func NwConnectionRestart

func NwConnectionRestart(connection obj.Object)

NwConnectionRestart calls the Network framework function nw_connection_restart.

func NwConnectionSend

func NwConnectionSend(connection obj.Object, content dispatch.Data, context_ obj.Object, isComplete bool, completion func(obj.Object))

NwConnectionSend calls the Network framework function nw_connection_send.

func NwConnectionSetBetterPathAvailableHandler

func NwConnectionSetBetterPathAvailableHandler(connection obj.Object, handler func(bool))

NwConnectionSetBetterPathAvailableHandler calls the Network framework function nw_connection_set_better_path_available_handler.

func NwConnectionSetPathChangedHandler

func NwConnectionSetPathChangedHandler(connection obj.Object, handler func(obj.Object))

NwConnectionSetPathChangedHandler calls the Network framework function nw_connection_set_path_changed_handler.

func NwConnectionSetQueue

func NwConnectionSetQueue(connection obj.Object, queue dispatch.Queue)

NwConnectionSetQueue calls the Network framework function nw_connection_set_queue.

func NwConnectionSetStateChangedHandler

func NwConnectionSetStateChangedHandler(connection obj.Object, handler unsafe.Pointer)

NwConnectionSetStateChangedHandler calls the Network framework function nw_connection_set_state_changed_handler.

func NwConnectionSetViabilityChangedHandler

func NwConnectionSetViabilityChangedHandler(connection obj.Object, handler func(bool))

NwConnectionSetViabilityChangedHandler calls the Network framework function nw_connection_set_viability_changed_handler.

func NwConnectionStart

func NwConnectionStart(connection obj.Object)

NwConnectionStart calls the Network framework function nw_connection_start.

func NwContentContextCopyAntecedent

func NwContentContextCopyAntecedent(context_ obj.Object) unsafe.Pointer

NwContentContextCopyAntecedent calls the Network framework function nw_content_context_copy_antecedent.

func NwContentContextCopyProtocolMetadata

func NwContentContextCopyProtocolMetadata(context_ obj.Object, protocol obj.Object) unsafe.Pointer

NwContentContextCopyProtocolMetadata calls the Network framework function nw_content_context_copy_protocol_metadata.

func NwContentContextCreate

func NwContentContextCreate(contextIdentifier string) unsafe.Pointer

NwContentContextCreate calls the Network framework function nw_content_context_create.

func NwContentContextForeachProtocolMetadata

func NwContentContextForeachProtocolMetadata(context_ obj.Object, foreachBlock func(obj.Object, obj.Object))

NwContentContextForeachProtocolMetadata calls the Network framework function nw_content_context_foreach_protocol_metadata.

func NwContentContextGetExpirationMilliseconds

func NwContentContextGetExpirationMilliseconds(context_ obj.Object) uint64

NwContentContextGetExpirationMilliseconds calls the Network framework function nw_content_context_get_expiration_milliseconds.

func NwContentContextGetIdentifier

func NwContentContextGetIdentifier(context_ obj.Object) string

NwContentContextGetIdentifier calls the Network framework function nw_content_context_get_identifier.

func NwContentContextGetIsFinal

func NwContentContextGetIsFinal(context_ obj.Object) bool

NwContentContextGetIsFinal calls the Network framework function nw_content_context_get_is_final.

func NwContentContextGetRelativePriority

func NwContentContextGetRelativePriority(context_ obj.Object) float64

NwContentContextGetRelativePriority calls the Network framework function nw_content_context_get_relative_priority.

func NwContentContextSetAntecedent

func NwContentContextSetAntecedent(context_ obj.Object, antecedentContext obj.Object)

NwContentContextSetAntecedent calls the Network framework function nw_content_context_set_antecedent.

func NwContentContextSetExpirationMilliseconds

func NwContentContextSetExpirationMilliseconds(context_ obj.Object, expirationMilliseconds uint64)

NwContentContextSetExpirationMilliseconds calls the Network framework function nw_content_context_set_expiration_milliseconds.

func NwContentContextSetIsFinal

func NwContentContextSetIsFinal(context_ obj.Object, isFinal bool)

NwContentContextSetIsFinal calls the Network framework function nw_content_context_set_is_final.

func NwContentContextSetMetadataForProtocol

func NwContentContextSetMetadataForProtocol(context_ obj.Object, protocolMetadata obj.Object)

NwContentContextSetMetadataForProtocol calls the Network framework function nw_content_context_set_metadata_for_protocol.

func NwContentContextSetRelativePriority

func NwContentContextSetRelativePriority(context_ obj.Object, relativePriority float64)

NwContentContextSetRelativePriority calls the Network framework function nw_content_context_set_relative_priority.

func NwDataTransferReportCollect

func NwDataTransferReportCollect(report obj.Object, queue dispatch.Queue, collectBlock func(obj.Object))

NwDataTransferReportCollect calls the Network framework function nw_data_transfer_report_collect.

func NwDataTransferReportCopyPathInterface

func NwDataTransferReportCopyPathInterface(report obj.Object, pathIndex uint32) unsafe.Pointer

NwDataTransferReportCopyPathInterface calls the Network framework function nw_data_transfer_report_copy_path_interface.

func NwDataTransferReportGetDurationMilliseconds

func NwDataTransferReportGetDurationMilliseconds(report obj.Object) uint64

NwDataTransferReportGetDurationMilliseconds calls the Network framework function nw_data_transfer_report_get_duration_milliseconds.

func NwDataTransferReportGetPathCount

func NwDataTransferReportGetPathCount(report obj.Object) uint32

NwDataTransferReportGetPathCount calls the Network framework function nw_data_transfer_report_get_path_count.

func NwDataTransferReportGetPathRadioType

func NwDataTransferReportGetPathRadioType(report obj.Object, pathIndex uint32) unsafe.Pointer

NwDataTransferReportGetPathRadioType calls the Network framework function nw_data_transfer_report_get_path_radio_type.

func NwDataTransferReportGetReceivedApplicationByteCount

func NwDataTransferReportGetReceivedApplicationByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetReceivedApplicationByteCount calls the Network framework function nw_data_transfer_report_get_received_application_byte_count.

func NwDataTransferReportGetReceivedIpPacketCount

func NwDataTransferReportGetReceivedIpPacketCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetReceivedIpPacketCount calls the Network framework function nw_data_transfer_report_get_received_ip_packet_count.

func NwDataTransferReportGetReceivedTransportByteCount

func NwDataTransferReportGetReceivedTransportByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetReceivedTransportByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_byte_count.

func NwDataTransferReportGetReceivedTransportDuplicateByteCount

func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetReceivedTransportDuplicateByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_duplicate_byte_count.

func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount

func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetReceivedTransportOutOfOrderByteCount calls the Network framework function nw_data_transfer_report_get_received_transport_out_of_order_byte_count.

func NwDataTransferReportGetSentApplicationByteCount

func NwDataTransferReportGetSentApplicationByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetSentApplicationByteCount calls the Network framework function nw_data_transfer_report_get_sent_application_byte_count.

func NwDataTransferReportGetSentIpPacketCount

func NwDataTransferReportGetSentIpPacketCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetSentIpPacketCount calls the Network framework function nw_data_transfer_report_get_sent_ip_packet_count.

func NwDataTransferReportGetSentTransportByteCount

func NwDataTransferReportGetSentTransportByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetSentTransportByteCount calls the Network framework function nw_data_transfer_report_get_sent_transport_byte_count.

func NwDataTransferReportGetSentTransportRetransmittedByteCount

func NwDataTransferReportGetSentTransportRetransmittedByteCount(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetSentTransportRetransmittedByteCount calls the Network framework function nw_data_transfer_report_get_sent_transport_retransmitted_byte_count.

func NwDataTransferReportGetState

func NwDataTransferReportGetState(report obj.Object) unsafe.Pointer

NwDataTransferReportGetState calls the Network framework function nw_data_transfer_report_get_state.

func NwDataTransferReportGetTransportMinimumRttMilliseconds

func NwDataTransferReportGetTransportMinimumRttMilliseconds(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetTransportMinimumRttMilliseconds calls the Network framework function nw_data_transfer_report_get_transport_minimum_rtt_milliseconds.

func NwDataTransferReportGetTransportRttVariance

func NwDataTransferReportGetTransportRttVariance(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetTransportRttVariance calls the Network framework function nw_data_transfer_report_get_transport_rtt_variance.

func NwDataTransferReportGetTransportSmoothedRttMilliseconds

func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report obj.Object, pathIndex uint32) uint64

NwDataTransferReportGetTransportSmoothedRttMilliseconds calls the Network framework function nw_data_transfer_report_get_transport_smoothed_rtt_milliseconds.

func NwEndpointCopyAddressString

func NwEndpointCopyAddressString(endpoint obj.Object) string

NwEndpointCopyAddressString calls the Network framework function nw_endpoint_copy_address_string.

func NwEndpointCopyPortString

func NwEndpointCopyPortString(endpoint obj.Object) string

NwEndpointCopyPortString calls the Network framework function nw_endpoint_copy_port_string.

func NwEndpointCopyTxtRecord

func NwEndpointCopyTxtRecord(endpoint obj.Object) unsafe.Pointer

NwEndpointCopyTxtRecord calls the Network framework function nw_endpoint_copy_txt_record.

func NwEndpointCreateAddress

func NwEndpointCreateAddress(address unsafe.Pointer) unsafe.Pointer

NwEndpointCreateAddress calls the Network framework function nw_endpoint_create_address.

func NwEndpointCreateBonjourService

func NwEndpointCreateBonjourService(name string, type_ string, domain string) unsafe.Pointer

NwEndpointCreateBonjourService calls the Network framework function nw_endpoint_create_bonjour_service.

func NwEndpointCreateHost

func NwEndpointCreateHost(hostname string, port string) unsafe.Pointer

NwEndpointCreateHost calls the Network framework function nw_endpoint_create_host.

func NwEndpointCreateUrl

func NwEndpointCreateUrl(url string) unsafe.Pointer

NwEndpointCreateUrl calls the Network framework function nw_endpoint_create_url.

func NwEndpointGetAddress

func NwEndpointGetAddress(endpoint obj.Object) unsafe.Pointer

NwEndpointGetAddress calls the Network framework function nw_endpoint_get_address.

func NwEndpointGetBonjourServiceDomain

func NwEndpointGetBonjourServiceDomain(endpoint obj.Object) string

NwEndpointGetBonjourServiceDomain calls the Network framework function nw_endpoint_get_bonjour_service_domain.

func NwEndpointGetBonjourServiceName

func NwEndpointGetBonjourServiceName(endpoint obj.Object) string

NwEndpointGetBonjourServiceName calls the Network framework function nw_endpoint_get_bonjour_service_name.

func NwEndpointGetBonjourServiceType

func NwEndpointGetBonjourServiceType(endpoint obj.Object) string

NwEndpointGetBonjourServiceType calls the Network framework function nw_endpoint_get_bonjour_service_type.

func NwEndpointGetHostname

func NwEndpointGetHostname(endpoint obj.Object) string

NwEndpointGetHostname calls the Network framework function nw_endpoint_get_hostname.

func NwEndpointGetPort

func NwEndpointGetPort(endpoint obj.Object) uint16

NwEndpointGetPort calls the Network framework function nw_endpoint_get_port.

func NwEndpointGetSignature

func NwEndpointGetSignature(endpoint obj.Object) (result unsafe.Pointer, outSignatureLength int)

NwEndpointGetSignature calls the Network framework function nw_endpoint_get_signature.

func NwEndpointGetType

func NwEndpointGetType(endpoint obj.Object) unsafe.Pointer

NwEndpointGetType calls the Network framework function nw_endpoint_get_type.

func NwEndpointGetUrl

func NwEndpointGetUrl(endpoint obj.Object) string

NwEndpointGetUrl calls the Network framework function nw_endpoint_get_url.

func NwErrorCopyCfError

func NwErrorCopyCfError(err obj.Object) corefoundation.CFErrorRef

NwErrorCopyCfError calls the Network framework function nw_error_copy_cf_error.

func NwErrorGetErrorCode

func NwErrorGetErrorCode(err obj.Object) int

NwErrorGetErrorCode calls the Network framework function nw_error_get_error_code.

func NwErrorGetErrorDomain

func NwErrorGetErrorDomain(err obj.Object) unsafe.Pointer

NwErrorGetErrorDomain calls the Network framework function nw_error_get_error_domain.

func NwEstablishmentReportCopyProxyEndpoint

func NwEstablishmentReportCopyProxyEndpoint(report obj.Object) unsafe.Pointer

NwEstablishmentReportCopyProxyEndpoint calls the Network framework function nw_establishment_report_copy_proxy_endpoint.

func NwEstablishmentReportEnumerateProtocols

func NwEstablishmentReportEnumerateProtocols(report obj.Object, enumerateBlock func(obj.Object, uint64, uint64) bool)

NwEstablishmentReportEnumerateProtocols calls the Network framework function nw_establishment_report_enumerate_protocols.

func NwEstablishmentReportEnumerateResolutionReports

func NwEstablishmentReportEnumerateResolutionReports(report obj.Object, enumerateBlock func(obj.Object) bool)

NwEstablishmentReportEnumerateResolutionReports calls the Network framework function nw_establishment_report_enumerate_resolution_reports.

func NwEstablishmentReportEnumerateResolutions

func NwEstablishmentReportEnumerateResolutions(report obj.Object, enumerateBlock unsafe.Pointer)

NwEstablishmentReportEnumerateResolutions calls the Network framework function nw_establishment_report_enumerate_resolutions.

func NwEstablishmentReportGetAttemptStartedAfterMilliseconds

func NwEstablishmentReportGetAttemptStartedAfterMilliseconds(report obj.Object) uint64

NwEstablishmentReportGetAttemptStartedAfterMilliseconds calls the Network framework function nw_establishment_report_get_attempt_started_after_milliseconds.

func NwEstablishmentReportGetDurationMilliseconds

func NwEstablishmentReportGetDurationMilliseconds(report obj.Object) uint64

NwEstablishmentReportGetDurationMilliseconds calls the Network framework function nw_establishment_report_get_duration_milliseconds.

func NwEstablishmentReportGetPreviousAttemptCount

func NwEstablishmentReportGetPreviousAttemptCount(report obj.Object) uint32

NwEstablishmentReportGetPreviousAttemptCount calls the Network framework function nw_establishment_report_get_previous_attempt_count.

func NwEstablishmentReportGetProxyConfigured

func NwEstablishmentReportGetProxyConfigured(report obj.Object) bool

NwEstablishmentReportGetProxyConfigured calls the Network framework function nw_establishment_report_get_proxy_configured.

func NwEstablishmentReportGetUsedProxy

func NwEstablishmentReportGetUsedProxy(report obj.Object) bool

NwEstablishmentReportGetUsedProxy calls the Network framework function nw_establishment_report_get_used_proxy.

func NwEthernetChannelCancel

func NwEthernetChannelCancel(ethernetChannel obj.Object)

NwEthernetChannelCancel calls the Network framework function nw_ethernet_channel_cancel.

func NwEthernetChannelCreate

func NwEthernetChannelCreate(etherType uint16, interface_ obj.Object) unsafe.Pointer

NwEthernetChannelCreate calls the Network framework function nw_ethernet_channel_create.

func NwEthernetChannelCreateWithParameters

func NwEthernetChannelCreateWithParameters(etherType uint16, interface_ obj.Object, parameters obj.Object) unsafe.Pointer

NwEthernetChannelCreateWithParameters calls the Network framework function nw_ethernet_channel_create_with_parameters.

func NwEthernetChannelGetMaximumPayloadSize

func NwEthernetChannelGetMaximumPayloadSize(ethernetChannel obj.Object) uint32

NwEthernetChannelGetMaximumPayloadSize calls the Network framework function nw_ethernet_channel_get_maximum_payload_size.

func NwEthernetChannelSend

func NwEthernetChannelSend(ethernetChannel obj.Object, content dispatch.Data, vlanTag uint16, completion func(obj.Object)) (remoteAddress uint8)

NwEthernetChannelSend calls the Network framework function nw_ethernet_channel_send.

func NwEthernetChannelSetQueue

func NwEthernetChannelSetQueue(ethernetChannel obj.Object, queue dispatch.Queue)

NwEthernetChannelSetQueue calls the Network framework function nw_ethernet_channel_set_queue.

func NwEthernetChannelSetReceiveHandler

func NwEthernetChannelSetReceiveHandler(ethernetChannel obj.Object, handler unsafe.Pointer)

NwEthernetChannelSetReceiveHandler calls the Network framework function nw_ethernet_channel_set_receive_handler.

func NwEthernetChannelSetStateChangedHandler

func NwEthernetChannelSetStateChangedHandler(ethernetChannel obj.Object, handler unsafe.Pointer)

NwEthernetChannelSetStateChangedHandler calls the Network framework function nw_ethernet_channel_set_state_changed_handler.

func NwEthernetChannelStart

func NwEthernetChannelStart(ethernetChannel obj.Object)

NwEthernetChannelStart calls the Network framework function nw_ethernet_channel_start.

func NwFramerAsync

func NwFramerAsync(framer obj.Object, asyncBlock func())

NwFramerAsync calls the Network framework function nw_framer_async.

func NwFramerCopyLocalEndpoint

func NwFramerCopyLocalEndpoint(framer obj.Object) unsafe.Pointer

NwFramerCopyLocalEndpoint calls the Network framework function nw_framer_copy_local_endpoint.

func NwFramerCopyOptions

func NwFramerCopyOptions(framer obj.Object) unsafe.Pointer

NwFramerCopyOptions calls the Network framework function nw_framer_copy_options.

func NwFramerCopyParameters

func NwFramerCopyParameters(framer obj.Object) unsafe.Pointer

NwFramerCopyParameters calls the Network framework function nw_framer_copy_parameters.

func NwFramerCopyRemoteEndpoint

func NwFramerCopyRemoteEndpoint(framer obj.Object) unsafe.Pointer

NwFramerCopyRemoteEndpoint calls the Network framework function nw_framer_copy_remote_endpoint.

func NwFramerCreateDefinition

func NwFramerCreateDefinition(identifier string, flags uint32, startHandler func(obj.Object) int) unsafe.Pointer

NwFramerCreateDefinition calls the Network framework function nw_framer_create_definition.

func NwFramerCreateOptions

func NwFramerCreateOptions(framerDefinition obj.Object) unsafe.Pointer

NwFramerCreateOptions calls the Network framework function nw_framer_create_options.

func NwFramerDeliverInput

func NwFramerDeliverInput(framer obj.Object, inputBuffer unsafe.Pointer, inputLength int, message obj.Object, isComplete bool)

NwFramerDeliverInput calls the Network framework function nw_framer_deliver_input.

func NwFramerDeliverInputNoCopy

func NwFramerDeliverInputNoCopy(framer obj.Object, inputLength int, message obj.Object, isComplete bool) bool

NwFramerDeliverInputNoCopy calls the Network framework function nw_framer_deliver_input_no_copy.

func NwFramerMarkFailedWithError

func NwFramerMarkFailedWithError(framer obj.Object, errorCode int)

NwFramerMarkFailedWithError calls the Network framework function nw_framer_mark_failed_with_error.

func NwFramerMarkReady

func NwFramerMarkReady(framer obj.Object)

NwFramerMarkReady calls the Network framework function nw_framer_mark_ready.

func NwFramerMessageAccessValue

func NwFramerMessageAccessValue(message obj.Object, key string, accessValue func(unsafe.Pointer) bool) bool

NwFramerMessageAccessValue calls the Network framework function nw_framer_message_access_value.

func NwFramerMessageCopyObjectValue

func NwFramerMessageCopyObjectValue(message obj.Object, key string) unsafe.Pointer

NwFramerMessageCopyObjectValue calls the Network framework function nw_framer_message_copy_object_value.

func NwFramerMessageCreate

func NwFramerMessageCreate(framer obj.Object) unsafe.Pointer

NwFramerMessageCreate calls the Network framework function nw_framer_message_create.

func NwFramerMessageSetObjectValue

func NwFramerMessageSetObjectValue(message obj.Object, key string, value obj.Object)

NwFramerMessageSetObjectValue calls the Network framework function nw_framer_message_set_object_value.

func NwFramerMessageSetValue

func NwFramerMessageSetValue(message obj.Object, key string, value unsafe.Pointer, disposeValue func(unsafe.Pointer))

NwFramerMessageSetValue calls the Network framework function nw_framer_message_set_value.

func NwFramerOptionsCopyObjectValue

func NwFramerOptionsCopyObjectValue(options obj.Object, key string) unsafe.Pointer

NwFramerOptionsCopyObjectValue calls the Network framework function nw_framer_options_copy_object_value.

func NwFramerOptionsSetObjectValue

func NwFramerOptionsSetObjectValue(options obj.Object, key string, value obj.Object)

NwFramerOptionsSetObjectValue calls the Network framework function nw_framer_options_set_object_value.

func NwFramerParseInput

func NwFramerParseInput(framer obj.Object, minimumIncompleteLength int, maximumLength int, parse unsafe.Pointer) (ok bool, tempBuffer uint8)

NwFramerParseInput calls the Network framework function nw_framer_parse_input.

func NwFramerParseOutput

func NwFramerParseOutput(framer obj.Object, minimumIncompleteLength int, maximumLength int, parse unsafe.Pointer) (ok bool, tempBuffer uint8)

NwFramerParseOutput calls the Network framework function nw_framer_parse_output.

func NwFramerPassThroughInput

func NwFramerPassThroughInput(framer obj.Object)

NwFramerPassThroughInput calls the Network framework function nw_framer_pass_through_input.

func NwFramerPassThroughOutput

func NwFramerPassThroughOutput(framer obj.Object)

NwFramerPassThroughOutput calls the Network framework function nw_framer_pass_through_output.

func NwFramerPrependApplicationProtocol

func NwFramerPrependApplicationProtocol(framer obj.Object, protocolOptions obj.Object) bool

NwFramerPrependApplicationProtocol calls the Network framework function nw_framer_prepend_application_protocol.

func NwFramerProtocolCreateMessage

func NwFramerProtocolCreateMessage(definition obj.Object) unsafe.Pointer

NwFramerProtocolCreateMessage calls the Network framework function nw_framer_protocol_create_message.

func NwFramerScheduleWakeup

func NwFramerScheduleWakeup(framer obj.Object, milliseconds uint64)

NwFramerScheduleWakeup calls the Network framework function nw_framer_schedule_wakeup.

func NwFramerSetCleanupHandler

func NwFramerSetCleanupHandler(framer obj.Object, cleanupHandler func(obj.Object))

NwFramerSetCleanupHandler calls the Network framework function nw_framer_set_cleanup_handler.

func NwFramerSetInputHandler

func NwFramerSetInputHandler(framer obj.Object, inputHandler func(obj.Object) int)

NwFramerSetInputHandler calls the Network framework function nw_framer_set_input_handler.

func NwFramerSetOutputHandler

func NwFramerSetOutputHandler(framer obj.Object, outputHandler func(obj.Object, obj.Object, int, bool))

NwFramerSetOutputHandler calls the Network framework function nw_framer_set_output_handler.

func NwFramerSetStopHandler

func NwFramerSetStopHandler(framer obj.Object, stopHandler func(obj.Object) bool)

NwFramerSetStopHandler calls the Network framework function nw_framer_set_stop_handler.

func NwFramerSetWakeupHandler

func NwFramerSetWakeupHandler(framer obj.Object, wakeupHandler func(obj.Object))

NwFramerSetWakeupHandler calls the Network framework function nw_framer_set_wakeup_handler.

func NwFramerWriteOutput

func NwFramerWriteOutput(framer obj.Object, outputBuffer unsafe.Pointer, outputLength int)

NwFramerWriteOutput calls the Network framework function nw_framer_write_output.

func NwFramerWriteOutputData

func NwFramerWriteOutputData(framer obj.Object, outputData dispatch.Data)

NwFramerWriteOutputData calls the Network framework function nw_framer_write_output_data.

func NwFramerWriteOutputNoCopy

func NwFramerWriteOutputNoCopy(framer obj.Object, outputLength int) bool

NwFramerWriteOutputNoCopy calls the Network framework function nw_framer_write_output_no_copy.

func NwGroupDescriptorAddEndpoint

func NwGroupDescriptorAddEndpoint(descriptor obj.Object, endpoint obj.Object) bool

NwGroupDescriptorAddEndpoint calls the Network framework function nw_group_descriptor_add_endpoint.

func NwGroupDescriptorCreateMulticast

func NwGroupDescriptorCreateMulticast(multicastGroup obj.Object) unsafe.Pointer

NwGroupDescriptorCreateMulticast calls the Network framework function nw_group_descriptor_create_multicast.

func NwGroupDescriptorCreateMultiplex

func NwGroupDescriptorCreateMultiplex(remoteEndpoint obj.Object) unsafe.Pointer

NwGroupDescriptorCreateMultiplex calls the Network framework function nw_group_descriptor_create_multiplex.

func NwGroupDescriptorEnumerateEndpoints

func NwGroupDescriptorEnumerateEndpoints(descriptor obj.Object, enumerateBlock func(obj.Object) bool)

NwGroupDescriptorEnumerateEndpoints calls the Network framework function nw_group_descriptor_enumerate_endpoints.

func NwInterfaceGetIndex

func NwInterfaceGetIndex(interface_ obj.Object) uint32

NwInterfaceGetIndex calls the Network framework function nw_interface_get_index.

func NwInterfaceGetName

func NwInterfaceGetName(interface_ obj.Object) string

NwInterfaceGetName calls the Network framework function nw_interface_get_name.

func NwInterfaceGetType

func NwInterfaceGetType(interface_ obj.Object) unsafe.Pointer

NwInterfaceGetType calls the Network framework function nw_interface_get_type.

func NwIpCreateMetadata

func NwIpCreateMetadata() unsafe.Pointer

NwIpCreateMetadata calls the Network framework function nw_ip_create_metadata.

func NwIpMetadataGetEcnFlag

func NwIpMetadataGetEcnFlag(metadata obj.Object) unsafe.Pointer

NwIpMetadataGetEcnFlag calls the Network framework function nw_ip_metadata_get_ecn_flag.

func NwIpMetadataGetReceiveTime

func NwIpMetadataGetReceiveTime(metadata obj.Object) uint64

NwIpMetadataGetReceiveTime calls the Network framework function nw_ip_metadata_get_receive_time.

func NwIpMetadataGetServiceClass

func NwIpMetadataGetServiceClass(metadata obj.Object) unsafe.Pointer

NwIpMetadataGetServiceClass calls the Network framework function nw_ip_metadata_get_service_class.

func NwIpMetadataSetEcnFlag

func NwIpMetadataSetEcnFlag(metadata obj.Object, ecnFlag unsafe.Pointer)

NwIpMetadataSetEcnFlag calls the Network framework function nw_ip_metadata_set_ecn_flag.

func NwIpMetadataSetServiceClass

func NwIpMetadataSetServiceClass(metadata obj.Object, serviceClass unsafe.Pointer)

NwIpMetadataSetServiceClass calls the Network framework function nw_ip_metadata_set_service_class.

func NwIpOptionsSetCalculateReceiveTime

func NwIpOptionsSetCalculateReceiveTime(options obj.Object, calculateReceiveTime bool)

NwIpOptionsSetCalculateReceiveTime calls the Network framework function nw_ip_options_set_calculate_receive_time.

func NwIpOptionsSetDisableFragmentation

func NwIpOptionsSetDisableFragmentation(options obj.Object, disableFragmentation bool)

NwIpOptionsSetDisableFragmentation calls the Network framework function nw_ip_options_set_disable_fragmentation.

func NwIpOptionsSetDisableMulticastLoopback

func NwIpOptionsSetDisableMulticastLoopback(options obj.Object, disableMulticastLoopback bool)

NwIpOptionsSetDisableMulticastLoopback calls the Network framework function nw_ip_options_set_disable_multicast_loopback.

func NwIpOptionsSetHopLimit

func NwIpOptionsSetHopLimit(options obj.Object, hopLimit uint8)

NwIpOptionsSetHopLimit calls the Network framework function nw_ip_options_set_hop_limit.

func NwIpOptionsSetLocalAddressPreference

func NwIpOptionsSetLocalAddressPreference(options obj.Object, preference unsafe.Pointer)

NwIpOptionsSetLocalAddressPreference calls the Network framework function nw_ip_options_set_local_address_preference.

func NwIpOptionsSetUseMinimumMtu

func NwIpOptionsSetUseMinimumMtu(options obj.Object, useMinimumMtu bool)

NwIpOptionsSetUseMinimumMtu calls the Network framework function nw_ip_options_set_use_minimum_mtu.

func NwIpOptionsSetVersion

func NwIpOptionsSetVersion(options obj.Object, version unsafe.Pointer)

NwIpOptionsSetVersion calls the Network framework function nw_ip_options_set_version.

func NwListenerCancel

func NwListenerCancel(listener obj.Object)

NwListenerCancel calls the Network framework function nw_listener_cancel.

func NwListenerCreate

func NwListenerCreate(parameters obj.Object) unsafe.Pointer

NwListenerCreate calls the Network framework function nw_listener_create.

func NwListenerCreateWithConnection

func NwListenerCreateWithConnection(connection obj.Object, parameters obj.Object) unsafe.Pointer

NwListenerCreateWithConnection calls the Network framework function nw_listener_create_with_connection.

func NwListenerCreateWithLaunchdKey

func NwListenerCreateWithLaunchdKey(parameters obj.Object, launchdKey string) unsafe.Pointer

NwListenerCreateWithLaunchdKey calls the Network framework function nw_listener_create_with_launchd_key.

func NwListenerCreateWithPort

func NwListenerCreateWithPort(port string, parameters obj.Object) unsafe.Pointer

NwListenerCreateWithPort calls the Network framework function nw_listener_create_with_port.

func NwListenerGetNewConnectionLimit

func NwListenerGetNewConnectionLimit(listener obj.Object) uint32

NwListenerGetNewConnectionLimit calls the Network framework function nw_listener_get_new_connection_limit.

func NwListenerGetPort

func NwListenerGetPort(listener obj.Object) uint16

NwListenerGetPort calls the Network framework function nw_listener_get_port.

func NwListenerSetAdvertiseDescriptor

func NwListenerSetAdvertiseDescriptor(listener obj.Object, advertiseDescriptor obj.Object)

NwListenerSetAdvertiseDescriptor calls the Network framework function nw_listener_set_advertise_descriptor.

func NwListenerSetAdvertisedEndpointChangedHandler

func NwListenerSetAdvertisedEndpointChangedHandler(listener obj.Object, handler func(obj.Object, bool))

NwListenerSetAdvertisedEndpointChangedHandler calls the Network framework function nw_listener_set_advertised_endpoint_changed_handler.

func NwListenerSetNewConnectionGroupHandler

func NwListenerSetNewConnectionGroupHandler(listener obj.Object, handler func(obj.Object))

NwListenerSetNewConnectionGroupHandler calls the Network framework function nw_listener_set_new_connection_group_handler.

func NwListenerSetNewConnectionHandler

func NwListenerSetNewConnectionHandler(listener obj.Object, handler func(obj.Object))

NwListenerSetNewConnectionHandler calls the Network framework function nw_listener_set_new_connection_handler.

func NwListenerSetNewConnectionLimit

func NwListenerSetNewConnectionLimit(listener obj.Object, newConnectionLimit uint32)

NwListenerSetNewConnectionLimit calls the Network framework function nw_listener_set_new_connection_limit.

func NwListenerSetQueue

func NwListenerSetQueue(listener obj.Object, queue dispatch.Queue)

NwListenerSetQueue calls the Network framework function nw_listener_set_queue.

func NwListenerSetStateChangedHandler

func NwListenerSetStateChangedHandler(listener obj.Object, handler unsafe.Pointer)

NwListenerSetStateChangedHandler calls the Network framework function nw_listener_set_state_changed_handler.

func NwListenerStart

func NwListenerStart(listener obj.Object)

NwListenerStart calls the Network framework function nw_listener_start.

func NwMulticastGroupDescriptorGetDisableUnicastTraffic

func NwMulticastGroupDescriptorGetDisableUnicastTraffic(multicastDescriptor obj.Object) bool

NwMulticastGroupDescriptorGetDisableUnicastTraffic calls the Network framework function nw_multicast_group_descriptor_get_disable_unicast_traffic.

func NwMulticastGroupDescriptorSetDisableUnicastTraffic

func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicastDescriptor obj.Object, disableUnicastTraffic bool)

NwMulticastGroupDescriptorSetDisableUnicastTraffic calls the Network framework function nw_multicast_group_descriptor_set_disable_unicast_traffic.

func NwMulticastGroupDescriptorSetSpecificSource

func NwMulticastGroupDescriptorSetSpecificSource(multicastDescriptor obj.Object, source obj.Object)

NwMulticastGroupDescriptorSetSpecificSource calls the Network framework function nw_multicast_group_descriptor_set_specific_source.

func NwParametersClearProhibitedInterfaceTypes

func NwParametersClearProhibitedInterfaceTypes(parameters obj.Object)

NwParametersClearProhibitedInterfaceTypes calls the Network framework function nw_parameters_clear_prohibited_interface_types.

func NwParametersClearProhibitedInterfaces

func NwParametersClearProhibitedInterfaces(parameters obj.Object)

NwParametersClearProhibitedInterfaces calls the Network framework function nw_parameters_clear_prohibited_interfaces.

func NwParametersCopy

func NwParametersCopy(parameters obj.Object) unsafe.Pointer

NwParametersCopy calls the Network framework function nw_parameters_copy.

func NwParametersCopyDefaultProtocolStack

func NwParametersCopyDefaultProtocolStack(parameters obj.Object) unsafe.Pointer

NwParametersCopyDefaultProtocolStack calls the Network framework function nw_parameters_copy_default_protocol_stack.

func NwParametersCopyLocalEndpoint

func NwParametersCopyLocalEndpoint(parameters obj.Object) unsafe.Pointer

NwParametersCopyLocalEndpoint calls the Network framework function nw_parameters_copy_local_endpoint.

func NwParametersCopyRequiredInterface

func NwParametersCopyRequiredInterface(parameters obj.Object) unsafe.Pointer

NwParametersCopyRequiredInterface calls the Network framework function nw_parameters_copy_required_interface.

func NwParametersCreate

func NwParametersCreate() unsafe.Pointer

NwParametersCreate calls the Network framework function nw_parameters_create.

func NwParametersCreateApplicationService

func NwParametersCreateApplicationService() unsafe.Pointer

NwParametersCreateApplicationService calls the Network framework function nw_parameters_create_application_service.

func NwParametersCreateCustomIp

func NwParametersCreateCustomIp(customIpProtocolNumber uint8, configureIp func(obj.Object)) unsafe.Pointer

NwParametersCreateCustomIp calls the Network framework function nw_parameters_create_custom_ip.

func NwParametersCreateQuic

func NwParametersCreateQuic(configureQuic func(obj.Object)) unsafe.Pointer

NwParametersCreateQuic calls the Network framework function nw_parameters_create_quic.

func NwParametersCreateSecureTcp

func NwParametersCreateSecureTcp(configureTls func(obj.Object), configureTcp func(obj.Object)) unsafe.Pointer

NwParametersCreateSecureTcp calls the Network framework function nw_parameters_create_secure_tcp.

func NwParametersCreateSecureUdp

func NwParametersCreateSecureUdp(configureDtls func(obj.Object), configureUdp func(obj.Object)) unsafe.Pointer

NwParametersCreateSecureUdp calls the Network framework function nw_parameters_create_secure_udp.

func NwParametersGetAllowUltraConstrained

func NwParametersGetAllowUltraConstrained(parameters obj.Object) bool

NwParametersGetAllowUltraConstrained calls the Network framework function nw_parameters_get_allow_ultra_constrained.

func NwParametersGetExpiredDnsBehavior

func NwParametersGetExpiredDnsBehavior(parameters obj.Object) unsafe.Pointer

NwParametersGetExpiredDnsBehavior calls the Network framework function nw_parameters_get_expired_dns_behavior.

func NwParametersGetFastOpenEnabled

func NwParametersGetFastOpenEnabled(parameters obj.Object) bool

NwParametersGetFastOpenEnabled calls the Network framework function nw_parameters_get_fast_open_enabled.

func NwParametersGetIncludePeerToPeer

func NwParametersGetIncludePeerToPeer(parameters obj.Object) bool

NwParametersGetIncludePeerToPeer calls the Network framework function nw_parameters_get_include_peer_to_peer.

func NwParametersGetLocalOnly

func NwParametersGetLocalOnly(parameters obj.Object) bool

NwParametersGetLocalOnly calls the Network framework function nw_parameters_get_local_only.

func NwParametersGetMultipathService

func NwParametersGetMultipathService(parameters obj.Object) unsafe.Pointer

NwParametersGetMultipathService calls the Network framework function nw_parameters_get_multipath_service.

func NwParametersGetPreferNoProxy

func NwParametersGetPreferNoProxy(parameters obj.Object) bool

NwParametersGetPreferNoProxy calls the Network framework function nw_parameters_get_prefer_no_proxy.

func NwParametersGetProhibitConstrained

func NwParametersGetProhibitConstrained(parameters obj.Object) bool

NwParametersGetProhibitConstrained calls the Network framework function nw_parameters_get_prohibit_constrained.

func NwParametersGetProhibitExpensive

func NwParametersGetProhibitExpensive(parameters obj.Object) bool

NwParametersGetProhibitExpensive calls the Network framework function nw_parameters_get_prohibit_expensive.

func NwParametersGetRequiredInterfaceType

func NwParametersGetRequiredInterfaceType(parameters obj.Object) unsafe.Pointer

NwParametersGetRequiredInterfaceType calls the Network framework function nw_parameters_get_required_interface_type.

func NwParametersGetReuseLocalAddress

func NwParametersGetReuseLocalAddress(parameters obj.Object) bool

NwParametersGetReuseLocalAddress calls the Network framework function nw_parameters_get_reuse_local_address.

func NwParametersGetServiceClass

func NwParametersGetServiceClass(parameters obj.Object) unsafe.Pointer

NwParametersGetServiceClass calls the Network framework function nw_parameters_get_service_class.

func NwParametersIterateProhibitedInterfaceTypes

func NwParametersIterateProhibitedInterfaceTypes(parameters obj.Object, iterateBlock unsafe.Pointer)

NwParametersIterateProhibitedInterfaceTypes calls the Network framework function nw_parameters_iterate_prohibited_interface_types.

func NwParametersIterateProhibitedInterfaces

func NwParametersIterateProhibitedInterfaces(parameters obj.Object, iterateBlock func(obj.Object) bool)

NwParametersIterateProhibitedInterfaces calls the Network framework function nw_parameters_iterate_prohibited_interfaces.

func NwParametersProhibitInterface

func NwParametersProhibitInterface(parameters obj.Object, interface_ obj.Object)

NwParametersProhibitInterface calls the Network framework function nw_parameters_prohibit_interface.

func NwParametersProhibitInterfaceType

func NwParametersProhibitInterfaceType(parameters obj.Object, interfaceType unsafe.Pointer)

NwParametersProhibitInterfaceType calls the Network framework function nw_parameters_prohibit_interface_type.

func NwParametersRequireInterface

func NwParametersRequireInterface(parameters obj.Object, interface_ obj.Object)

NwParametersRequireInterface calls the Network framework function nw_parameters_require_interface.

func NwParametersRequiresDnssecValidation

func NwParametersRequiresDnssecValidation(parameters obj.Object) bool

NwParametersRequiresDnssecValidation calls the Network framework function nw_parameters_requires_dnssec_validation.

func NwParametersSetAllowUltraConstrained

func NwParametersSetAllowUltraConstrained(parameters obj.Object, allowUltraConstrained bool)

NwParametersSetAllowUltraConstrained calls the Network framework function nw_parameters_set_allow_ultra_constrained.

func NwParametersSetAttribution

func NwParametersSetAttribution(parameters obj.Object, attribution ParametersAttribution)

NwParametersSetAttribution calls the Network framework function nw_parameters_set_attribution.

func NwParametersSetExpiredDnsBehavior

func NwParametersSetExpiredDnsBehavior(parameters obj.Object, expiredDnsBehavior unsafe.Pointer)

NwParametersSetExpiredDnsBehavior calls the Network framework function nw_parameters_set_expired_dns_behavior.

func NwParametersSetFastOpenEnabled

func NwParametersSetFastOpenEnabled(parameters obj.Object, fastOpenEnabled bool)

NwParametersSetFastOpenEnabled calls the Network framework function nw_parameters_set_fast_open_enabled.

func NwParametersSetIncludePeerToPeer

func NwParametersSetIncludePeerToPeer(parameters obj.Object, includePeerToPeer bool)

NwParametersSetIncludePeerToPeer calls the Network framework function nw_parameters_set_include_peer_to_peer.

func NwParametersSetLocalEndpoint

func NwParametersSetLocalEndpoint(parameters obj.Object, localEndpoint obj.Object)

NwParametersSetLocalEndpoint calls the Network framework function nw_parameters_set_local_endpoint.

func NwParametersSetLocalOnly

func NwParametersSetLocalOnly(parameters obj.Object, localOnly bool)

NwParametersSetLocalOnly calls the Network framework function nw_parameters_set_local_only.

func NwParametersSetMultipathService

func NwParametersSetMultipathService(parameters obj.Object, multipathService unsafe.Pointer)

NwParametersSetMultipathService calls the Network framework function nw_parameters_set_multipath_service.

func NwParametersSetPreferNoProxy

func NwParametersSetPreferNoProxy(parameters obj.Object, preferNoProxy bool)

NwParametersSetPreferNoProxy calls the Network framework function nw_parameters_set_prefer_no_proxy.

func NwParametersSetPrivacyContext

func NwParametersSetPrivacyContext(parameters obj.Object, privacyContext obj.Object)

NwParametersSetPrivacyContext calls the Network framework function nw_parameters_set_privacy_context.

func NwParametersSetProhibitConstrained

func NwParametersSetProhibitConstrained(parameters obj.Object, prohibitConstrained bool)

NwParametersSetProhibitConstrained calls the Network framework function nw_parameters_set_prohibit_constrained.

func NwParametersSetProhibitExpensive

func NwParametersSetProhibitExpensive(parameters obj.Object, prohibitExpensive bool)

NwParametersSetProhibitExpensive calls the Network framework function nw_parameters_set_prohibit_expensive.

func NwParametersSetRequiredInterfaceType

func NwParametersSetRequiredInterfaceType(parameters obj.Object, interfaceType unsafe.Pointer)

NwParametersSetRequiredInterfaceType calls the Network framework function nw_parameters_set_required_interface_type.

func NwParametersSetRequiresDnssecValidation

func NwParametersSetRequiresDnssecValidation(parameters obj.Object, requiresDnssecValidation bool)

NwParametersSetRequiresDnssecValidation calls the Network framework function nw_parameters_set_requires_dnssec_validation.

func NwParametersSetReuseLocalAddress

func NwParametersSetReuseLocalAddress(parameters obj.Object, reuseLocalAddress bool)

NwParametersSetReuseLocalAddress calls the Network framework function nw_parameters_set_reuse_local_address.

func NwParametersSetServiceClass

func NwParametersSetServiceClass(parameters obj.Object, serviceClass unsafe.Pointer)

NwParametersSetServiceClass calls the Network framework function nw_parameters_set_service_class.

func NwPathCopyEffectiveLocalEndpoint

func NwPathCopyEffectiveLocalEndpoint(path obj.Object) unsafe.Pointer

NwPathCopyEffectiveLocalEndpoint calls the Network framework function nw_path_copy_effective_local_endpoint.

func NwPathCopyEffectiveRemoteEndpoint

func NwPathCopyEffectiveRemoteEndpoint(path obj.Object) unsafe.Pointer

NwPathCopyEffectiveRemoteEndpoint calls the Network framework function nw_path_copy_effective_remote_endpoint.

func NwPathEnumerateGateways

func NwPathEnumerateGateways(path obj.Object, enumerateBlock func(obj.Object) bool)

NwPathEnumerateGateways calls the Network framework function nw_path_enumerate_gateways.

func NwPathEnumerateInterfaces

func NwPathEnumerateInterfaces(path obj.Object, enumerateBlock func(obj.Object) bool)

NwPathEnumerateInterfaces calls the Network framework function nw_path_enumerate_interfaces.

func NwPathGetLinkQuality

func NwPathGetLinkQuality(path obj.Object) unsafe.Pointer

NwPathGetLinkQuality calls the Network framework function nw_path_get_link_quality.

func NwPathGetStatus

func NwPathGetStatus(path obj.Object) unsafe.Pointer

NwPathGetStatus calls the Network framework function nw_path_get_status.

func NwPathGetUnsatisfiedReason

func NwPathGetUnsatisfiedReason(path obj.Object) unsafe.Pointer

NwPathGetUnsatisfiedReason calls the Network framework function nw_path_get_unsatisfied_reason.

func NwPathHasDns

func NwPathHasDns(path obj.Object) bool

NwPathHasDns calls the Network framework function nw_path_has_dns.

func NwPathHasIpv4

func NwPathHasIpv4(path obj.Object) bool

NwPathHasIpv4 calls the Network framework function nw_path_has_ipv4.

func NwPathHasIpv6

func NwPathHasIpv6(path obj.Object) bool

NwPathHasIpv6 calls the Network framework function nw_path_has_ipv6.

func NwPathIsConstrained

func NwPathIsConstrained(path obj.Object) bool

NwPathIsConstrained calls the Network framework function nw_path_is_constrained.

func NwPathIsEqual

func NwPathIsEqual(path obj.Object, otherPath obj.Object) bool

NwPathIsEqual calls the Network framework function nw_path_is_equal.

func NwPathIsExpensive

func NwPathIsExpensive(path obj.Object) bool

NwPathIsExpensive calls the Network framework function nw_path_is_expensive.

func NwPathIsUltraConstrained

func NwPathIsUltraConstrained(path obj.Object) bool

NwPathIsUltraConstrained calls the Network framework function nw_path_is_ultra_constrained.

func NwPathMonitorCancel

func NwPathMonitorCancel(monitor obj.Object)

NwPathMonitorCancel calls the Network framework function nw_path_monitor_cancel.

func NwPathMonitorCreate

func NwPathMonitorCreate() unsafe.Pointer

NwPathMonitorCreate calls the Network framework function nw_path_monitor_create.

func NwPathMonitorCreateForEthernetChannel

func NwPathMonitorCreateForEthernetChannel() unsafe.Pointer

NwPathMonitorCreateForEthernetChannel calls the Network framework function nw_path_monitor_create_for_ethernet_channel.

func NwPathMonitorCreateWithType

func NwPathMonitorCreateWithType(requiredInterfaceType unsafe.Pointer) unsafe.Pointer

NwPathMonitorCreateWithType calls the Network framework function nw_path_monitor_create_with_type.

func NwPathMonitorProhibitInterfaceType

func NwPathMonitorProhibitInterfaceType(monitor obj.Object, interfaceType unsafe.Pointer)

NwPathMonitorProhibitInterfaceType calls the Network framework function nw_path_monitor_prohibit_interface_type.

func NwPathMonitorSetCancelHandler

func NwPathMonitorSetCancelHandler(monitor obj.Object, cancelHandler func())

NwPathMonitorSetCancelHandler calls the Network framework function nw_path_monitor_set_cancel_handler.

func NwPathMonitorSetQueue

func NwPathMonitorSetQueue(monitor obj.Object, queue dispatch.Queue)

NwPathMonitorSetQueue calls the Network framework function nw_path_monitor_set_queue.

func NwPathMonitorSetUpdateHandler

func NwPathMonitorSetUpdateHandler(monitor obj.Object, updateHandler func(obj.Object))

NwPathMonitorSetUpdateHandler calls the Network framework function nw_path_monitor_set_update_handler.

func NwPathMonitorStart

func NwPathMonitorStart(monitor obj.Object)

NwPathMonitorStart calls the Network framework function nw_path_monitor_start.

func NwPathUsesInterfaceType

func NwPathUsesInterfaceType(path obj.Object, interfaceType unsafe.Pointer) bool

NwPathUsesInterfaceType calls the Network framework function nw_path_uses_interface_type.

func NwPrivacyContextAddProxy

func NwPrivacyContextAddProxy(privacyContext obj.Object, proxyConfig obj.Object)

NwPrivacyContextAddProxy calls the Network framework function nw_privacy_context_add_proxy.

func NwPrivacyContextClearProxies

func NwPrivacyContextClearProxies(privacyContext obj.Object)

NwPrivacyContextClearProxies calls the Network framework function nw_privacy_context_clear_proxies.

func NwPrivacyContextCreate

func NwPrivacyContextCreate(description string) unsafe.Pointer

NwPrivacyContextCreate calls the Network framework function nw_privacy_context_create.

func NwPrivacyContextDisableLogging

func NwPrivacyContextDisableLogging(privacyContext obj.Object)

NwPrivacyContextDisableLogging calls the Network framework function nw_privacy_context_disable_logging.

func NwPrivacyContextFlushCache

func NwPrivacyContextFlushCache(privacyContext obj.Object)

NwPrivacyContextFlushCache calls the Network framework function nw_privacy_context_flush_cache.

func NwPrivacyContextRequireEncryptedNameResolution

func NwPrivacyContextRequireEncryptedNameResolution(privacyContext obj.Object, requireEncryptedNameResolution bool, fallbackResolverConfig obj.Object)

NwPrivacyContextRequireEncryptedNameResolution calls the Network framework function nw_privacy_context_require_encrypted_name_resolution.

func NwProtocolCopyIpDefinition

func NwProtocolCopyIpDefinition() unsafe.Pointer

NwProtocolCopyIpDefinition calls the Network framework function nw_protocol_copy_ip_definition.

func NwProtocolCopyQuicDefinition

func NwProtocolCopyQuicDefinition() unsafe.Pointer

NwProtocolCopyQuicDefinition calls the Network framework function nw_protocol_copy_quic_definition.

func NwProtocolCopyTcpDefinition

func NwProtocolCopyTcpDefinition() unsafe.Pointer

NwProtocolCopyTcpDefinition calls the Network framework function nw_protocol_copy_tcp_definition.

func NwProtocolCopyTlsDefinition

func NwProtocolCopyTlsDefinition() unsafe.Pointer

NwProtocolCopyTlsDefinition calls the Network framework function nw_protocol_copy_tls_definition.

func NwProtocolCopyUdpDefinition

func NwProtocolCopyUdpDefinition() unsafe.Pointer

NwProtocolCopyUdpDefinition calls the Network framework function nw_protocol_copy_udp_definition.

func NwProtocolCopyWsDefinition

func NwProtocolCopyWsDefinition() unsafe.Pointer

NwProtocolCopyWsDefinition calls the Network framework function nw_protocol_copy_ws_definition.

func NwProtocolDefinitionIsEqual

func NwProtocolDefinitionIsEqual(definition1 obj.Object, definition2 obj.Object) bool

NwProtocolDefinitionIsEqual calls the Network framework function nw_protocol_definition_is_equal.

func NwProtocolMetadataCopyDefinition

func NwProtocolMetadataCopyDefinition(metadata obj.Object) unsafe.Pointer

NwProtocolMetadataCopyDefinition calls the Network framework function nw_protocol_metadata_copy_definition.

func NwProtocolMetadataIsFramerMessage

func NwProtocolMetadataIsFramerMessage(metadata obj.Object) bool

NwProtocolMetadataIsFramerMessage calls the Network framework function nw_protocol_metadata_is_framer_message.

func NwProtocolMetadataIsIp

func NwProtocolMetadataIsIp(metadata obj.Object) bool

NwProtocolMetadataIsIp calls the Network framework function nw_protocol_metadata_is_ip.

func NwProtocolMetadataIsQuic

func NwProtocolMetadataIsQuic(metadata obj.Object) bool

NwProtocolMetadataIsQuic calls the Network framework function nw_protocol_metadata_is_quic.

func NwProtocolMetadataIsTcp

func NwProtocolMetadataIsTcp(metadata obj.Object) bool

NwProtocolMetadataIsTcp calls the Network framework function nw_protocol_metadata_is_tcp.

func NwProtocolMetadataIsTls

func NwProtocolMetadataIsTls(metadata obj.Object) bool

NwProtocolMetadataIsTls calls the Network framework function nw_protocol_metadata_is_tls.

func NwProtocolMetadataIsUdp

func NwProtocolMetadataIsUdp(metadata obj.Object) bool

NwProtocolMetadataIsUdp calls the Network framework function nw_protocol_metadata_is_udp.

func NwProtocolMetadataIsWs

func NwProtocolMetadataIsWs(metadata obj.Object) bool

NwProtocolMetadataIsWs calls the Network framework function nw_protocol_metadata_is_ws.

func NwProtocolOptionsCopyDefinition

func NwProtocolOptionsCopyDefinition(options obj.Object) unsafe.Pointer

NwProtocolOptionsCopyDefinition calls the Network framework function nw_protocol_options_copy_definition.

func NwProtocolOptionsIsQuic

func NwProtocolOptionsIsQuic(options obj.Object) bool

NwProtocolOptionsIsQuic calls the Network framework function nw_protocol_options_is_quic.

func NwProtocolStackClearApplicationProtocols

func NwProtocolStackClearApplicationProtocols(stack obj.Object)

NwProtocolStackClearApplicationProtocols calls the Network framework function nw_protocol_stack_clear_application_protocols.

func NwProtocolStackCopyInternetProtocol

func NwProtocolStackCopyInternetProtocol(stack obj.Object) unsafe.Pointer

NwProtocolStackCopyInternetProtocol calls the Network framework function nw_protocol_stack_copy_internet_protocol.

func NwProtocolStackCopyTransportProtocol

func NwProtocolStackCopyTransportProtocol(stack obj.Object) unsafe.Pointer

NwProtocolStackCopyTransportProtocol calls the Network framework function nw_protocol_stack_copy_transport_protocol.

func NwProtocolStackIterateApplicationProtocols

func NwProtocolStackIterateApplicationProtocols(stack obj.Object, iterateBlock func(obj.Object))

NwProtocolStackIterateApplicationProtocols calls the Network framework function nw_protocol_stack_iterate_application_protocols.

func NwProtocolStackPrependApplicationProtocol

func NwProtocolStackPrependApplicationProtocol(stack obj.Object, protocol obj.Object)

NwProtocolStackPrependApplicationProtocol calls the Network framework function nw_protocol_stack_prepend_application_protocol.

func NwProtocolStackSetTransportProtocol

func NwProtocolStackSetTransportProtocol(stack obj.Object, protocol obj.Object)

NwProtocolStackSetTransportProtocol calls the Network framework function nw_protocol_stack_set_transport_protocol.

func NwProxyConfigAddExcludedDomain

func NwProxyConfigAddExcludedDomain(config obj.Object, excludedDomain string)

NwProxyConfigAddExcludedDomain calls the Network framework function nw_proxy_config_add_excluded_domain.

func NwProxyConfigAddMatchDomain

func NwProxyConfigAddMatchDomain(config obj.Object, matchDomain string)

NwProxyConfigAddMatchDomain calls the Network framework function nw_proxy_config_add_match_domain.

func NwProxyConfigClearExcludedDomains

func NwProxyConfigClearExcludedDomains(config obj.Object)

NwProxyConfigClearExcludedDomains calls the Network framework function nw_proxy_config_clear_excluded_domains.

func NwProxyConfigClearMatchDomains

func NwProxyConfigClearMatchDomains(config obj.Object)

NwProxyConfigClearMatchDomains calls the Network framework function nw_proxy_config_clear_match_domains.

func NwProxyConfigCreateHttpConnect

func NwProxyConfigCreateHttpConnect(proxyEndpoint obj.Object, proxyTlsOptions obj.Object) unsafe.Pointer

NwProxyConfigCreateHttpConnect calls the Network framework function nw_proxy_config_create_http_connect.

func NwProxyConfigCreateObliviousHttp

func NwProxyConfigCreateObliviousHttp(relay obj.Object, relayResourcePath string, gatewayKeyConfig unsafe.Pointer, gatewayKeyConfigLength int) unsafe.Pointer

NwProxyConfigCreateObliviousHttp calls the Network framework function nw_proxy_config_create_oblivious_http.

func NwProxyConfigCreateRelay

func NwProxyConfigCreateRelay(firstHop obj.Object, secondHop obj.Object) unsafe.Pointer

NwProxyConfigCreateRelay calls the Network framework function nw_proxy_config_create_relay.

func NwProxyConfigCreateSocksv5

func NwProxyConfigCreateSocksv5(proxyEndpoint obj.Object) unsafe.Pointer

NwProxyConfigCreateSocksv5 calls the Network framework function nw_proxy_config_create_socksv5.

func NwProxyConfigEnumerateExcludedDomains

func NwProxyConfigEnumerateExcludedDomains(config obj.Object, enumerator func(string))

NwProxyConfigEnumerateExcludedDomains calls the Network framework function nw_proxy_config_enumerate_excluded_domains.

func NwProxyConfigEnumerateMatchDomains

func NwProxyConfigEnumerateMatchDomains(config obj.Object, enumerator func(string))

NwProxyConfigEnumerateMatchDomains calls the Network framework function nw_proxy_config_enumerate_match_domains.

func NwProxyConfigGetFailoverAllowed

func NwProxyConfigGetFailoverAllowed(proxyConfig obj.Object) bool

NwProxyConfigGetFailoverAllowed calls the Network framework function nw_proxy_config_get_failover_allowed.

func NwProxyConfigSetFailoverAllowed

func NwProxyConfigSetFailoverAllowed(proxyConfig obj.Object, failoverAllowed bool)

NwProxyConfigSetFailoverAllowed calls the Network framework function nw_proxy_config_set_failover_allowed.

func NwProxyConfigSetUsernameAndPassword

func NwProxyConfigSetUsernameAndPassword(proxyConfig obj.Object, username string, password string)

NwProxyConfigSetUsernameAndPassword calls the Network framework function nw_proxy_config_set_username_and_password.

func NwQuicAddTlsApplicationProtocol

func NwQuicAddTlsApplicationProtocol(options obj.Object, applicationProtocol string)

NwQuicAddTlsApplicationProtocol calls the Network framework function nw_quic_add_tls_application_protocol.

func NwQuicCopySecProtocolMetadata

func NwQuicCopySecProtocolMetadata(metadata obj.Object) unsafe.Pointer

NwQuicCopySecProtocolMetadata calls the Network framework function nw_quic_copy_sec_protocol_metadata.

func NwQuicCopySecProtocolOptions

func NwQuicCopySecProtocolOptions(options obj.Object) unsafe.Pointer

NwQuicCopySecProtocolOptions calls the Network framework function nw_quic_copy_sec_protocol_options.

func NwQuicCreateOptions

func NwQuicCreateOptions() unsafe.Pointer

NwQuicCreateOptions calls the Network framework function nw_quic_create_options.

func NwQuicGetApplicationError

func NwQuicGetApplicationError(metadata obj.Object) uint64

NwQuicGetApplicationError calls the Network framework function nw_quic_get_application_error.

func NwQuicGetApplicationErrorReason

func NwQuicGetApplicationErrorReason(metadata obj.Object) string

NwQuicGetApplicationErrorReason calls the Network framework function nw_quic_get_application_error_reason.

func NwQuicGetIdleTimeout

func NwQuicGetIdleTimeout(options obj.Object) uint32

NwQuicGetIdleTimeout calls the Network framework function nw_quic_get_idle_timeout.

func NwQuicGetInitialMaxData

func NwQuicGetInitialMaxData(options obj.Object) uint64

NwQuicGetInitialMaxData calls the Network framework function nw_quic_get_initial_max_data.

func NwQuicGetInitialMaxStreamDataBidirectionalLocal

func NwQuicGetInitialMaxStreamDataBidirectionalLocal(options obj.Object) uint64

NwQuicGetInitialMaxStreamDataBidirectionalLocal calls the Network framework function nw_quic_get_initial_max_stream_data_bidirectional_local.

func NwQuicGetInitialMaxStreamDataBidirectionalRemote

func NwQuicGetInitialMaxStreamDataBidirectionalRemote(options obj.Object) uint64

NwQuicGetInitialMaxStreamDataBidirectionalRemote calls the Network framework function nw_quic_get_initial_max_stream_data_bidirectional_remote.

func NwQuicGetInitialMaxStreamDataUnidirectional

func NwQuicGetInitialMaxStreamDataUnidirectional(options obj.Object) uint64

NwQuicGetInitialMaxStreamDataUnidirectional calls the Network framework function nw_quic_get_initial_max_stream_data_unidirectional.

func NwQuicGetInitialMaxStreamsBidirectional

func NwQuicGetInitialMaxStreamsBidirectional(options obj.Object) uint64

NwQuicGetInitialMaxStreamsBidirectional calls the Network framework function nw_quic_get_initial_max_streams_bidirectional.

func NwQuicGetInitialMaxStreamsUnidirectional

func NwQuicGetInitialMaxStreamsUnidirectional(options obj.Object) uint64

NwQuicGetInitialMaxStreamsUnidirectional calls the Network framework function nw_quic_get_initial_max_streams_unidirectional.

func NwQuicGetKeepaliveInterval

func NwQuicGetKeepaliveInterval(metadata obj.Object) uint16

NwQuicGetKeepaliveInterval calls the Network framework function nw_quic_get_keepalive_interval.

func NwQuicGetLocalMaxStreamsBidirectional

func NwQuicGetLocalMaxStreamsBidirectional(metadata obj.Object) uint64

NwQuicGetLocalMaxStreamsBidirectional calls the Network framework function nw_quic_get_local_max_streams_bidirectional.

func NwQuicGetLocalMaxStreamsUnidirectional

func NwQuicGetLocalMaxStreamsUnidirectional(metadata obj.Object) uint64

NwQuicGetLocalMaxStreamsUnidirectional calls the Network framework function nw_quic_get_local_max_streams_unidirectional.

func NwQuicGetMaxDatagramFrameSize

func NwQuicGetMaxDatagramFrameSize(options obj.Object) uint16

NwQuicGetMaxDatagramFrameSize calls the Network framework function nw_quic_get_max_datagram_frame_size.

func NwQuicGetMaxUdpPayloadSize

func NwQuicGetMaxUdpPayloadSize(options obj.Object) uint16

NwQuicGetMaxUdpPayloadSize calls the Network framework function nw_quic_get_max_udp_payload_size.

func NwQuicGetRemoteIdleTimeout

func NwQuicGetRemoteIdleTimeout(metadata obj.Object) uint64

NwQuicGetRemoteIdleTimeout calls the Network framework function nw_quic_get_remote_idle_timeout.

func NwQuicGetRemoteMaxStreamsBidirectional

func NwQuicGetRemoteMaxStreamsBidirectional(metadata obj.Object) uint64

NwQuicGetRemoteMaxStreamsBidirectional calls the Network framework function nw_quic_get_remote_max_streams_bidirectional.

func NwQuicGetRemoteMaxStreamsUnidirectional

func NwQuicGetRemoteMaxStreamsUnidirectional(metadata obj.Object) uint64

NwQuicGetRemoteMaxStreamsUnidirectional calls the Network framework function nw_quic_get_remote_max_streams_unidirectional.

func NwQuicGetStreamApplicationError

func NwQuicGetStreamApplicationError(metadata obj.Object) uint64

NwQuicGetStreamApplicationError calls the Network framework function nw_quic_get_stream_application_error.

func NwQuicGetStreamId

func NwQuicGetStreamId(metadata obj.Object) uint64

NwQuicGetStreamId calls the Network framework function nw_quic_get_stream_id.

func NwQuicGetStreamIsDatagram

func NwQuicGetStreamIsDatagram(options obj.Object) bool

NwQuicGetStreamIsDatagram calls the Network framework function nw_quic_get_stream_is_datagram.

func NwQuicGetStreamIsUnidirectional

func NwQuicGetStreamIsUnidirectional(options obj.Object) bool

NwQuicGetStreamIsUnidirectional calls the Network framework function nw_quic_get_stream_is_unidirectional.

func NwQuicGetStreamType

func NwQuicGetStreamType(streamMetadata obj.Object) uint8

NwQuicGetStreamType calls the Network framework function nw_quic_get_stream_type.

func NwQuicGetStreamUsableDatagramFrameSize

func NwQuicGetStreamUsableDatagramFrameSize(metadata obj.Object) uint16

NwQuicGetStreamUsableDatagramFrameSize calls the Network framework function nw_quic_get_stream_usable_datagram_frame_size.

func NwQuicSetApplicationError

func NwQuicSetApplicationError(metadata obj.Object, applicationError uint64, reason string)

NwQuicSetApplicationError calls the Network framework function nw_quic_set_application_error.

func NwQuicSetIdleTimeout

func NwQuicSetIdleTimeout(options obj.Object, idleTimeout uint32)

NwQuicSetIdleTimeout calls the Network framework function nw_quic_set_idle_timeout.

func NwQuicSetInitialMaxData

func NwQuicSetInitialMaxData(options obj.Object, initialMaxData uint64)

NwQuicSetInitialMaxData calls the Network framework function nw_quic_set_initial_max_data.

func NwQuicSetInitialMaxStreamDataBidirectionalLocal

func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options obj.Object, initialMaxStreamDataBidirectionalLocal uint64)

NwQuicSetInitialMaxStreamDataBidirectionalLocal calls the Network framework function nw_quic_set_initial_max_stream_data_bidirectional_local.

func NwQuicSetInitialMaxStreamDataBidirectionalRemote

func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options obj.Object, initialMaxStreamDataBidirectionalRemote uint64)

NwQuicSetInitialMaxStreamDataBidirectionalRemote calls the Network framework function nw_quic_set_initial_max_stream_data_bidirectional_remote.

func NwQuicSetInitialMaxStreamDataUnidirectional

func NwQuicSetInitialMaxStreamDataUnidirectional(options obj.Object, initialMaxStreamDataUnidirectional uint64)

NwQuicSetInitialMaxStreamDataUnidirectional calls the Network framework function nw_quic_set_initial_max_stream_data_unidirectional.

func NwQuicSetInitialMaxStreamsBidirectional

func NwQuicSetInitialMaxStreamsBidirectional(options obj.Object, initialMaxStreamsBidirectional uint64)

NwQuicSetInitialMaxStreamsBidirectional calls the Network framework function nw_quic_set_initial_max_streams_bidirectional.

func NwQuicSetInitialMaxStreamsUnidirectional

func NwQuicSetInitialMaxStreamsUnidirectional(options obj.Object, initialMaxStreamsUnidirectional uint64)

NwQuicSetInitialMaxStreamsUnidirectional calls the Network framework function nw_quic_set_initial_max_streams_unidirectional.

func NwQuicSetKeepaliveInterval

func NwQuicSetKeepaliveInterval(metadata obj.Object, keepaliveInterval uint16)

NwQuicSetKeepaliveInterval calls the Network framework function nw_quic_set_keepalive_interval.

func NwQuicSetLocalMaxStreamsBidirectional

func NwQuicSetLocalMaxStreamsBidirectional(metadata obj.Object, maxStreamsBidirectional uint64)

NwQuicSetLocalMaxStreamsBidirectional calls the Network framework function nw_quic_set_local_max_streams_bidirectional.

func NwQuicSetLocalMaxStreamsUnidirectional

func NwQuicSetLocalMaxStreamsUnidirectional(metadata obj.Object, maxStreamsUnidirectional uint64)

NwQuicSetLocalMaxStreamsUnidirectional calls the Network framework function nw_quic_set_local_max_streams_unidirectional.

func NwQuicSetMaxDatagramFrameSize

func NwQuicSetMaxDatagramFrameSize(options obj.Object, maxDatagramFrameSize uint16)

NwQuicSetMaxDatagramFrameSize calls the Network framework function nw_quic_set_max_datagram_frame_size.

func NwQuicSetMaxUdpPayloadSize

func NwQuicSetMaxUdpPayloadSize(options obj.Object, maxUdpPayloadSize uint16)

NwQuicSetMaxUdpPayloadSize calls the Network framework function nw_quic_set_max_udp_payload_size.

func NwQuicSetStreamApplicationError

func NwQuicSetStreamApplicationError(metadata obj.Object, applicationError uint64)

NwQuicSetStreamApplicationError calls the Network framework function nw_quic_set_stream_application_error.

func NwQuicSetStreamIsDatagram

func NwQuicSetStreamIsDatagram(options obj.Object, isDatagram bool)

NwQuicSetStreamIsDatagram calls the Network framework function nw_quic_set_stream_is_datagram.

func NwQuicSetStreamIsUnidirectional

func NwQuicSetStreamIsUnidirectional(options obj.Object, isUnidirectional bool)

NwQuicSetStreamIsUnidirectional calls the Network framework function nw_quic_set_stream_is_unidirectional.

func NwRelayHopAddAdditionalHttpHeaderField

func NwRelayHopAddAdditionalHttpHeaderField(relayHop obj.Object, fieldName string, fieldValue string)

NwRelayHopAddAdditionalHttpHeaderField calls the Network framework function nw_relay_hop_add_additional_http_header_field.

func NwRelayHopCreate

func NwRelayHopCreate(http3RelayEndpoint obj.Object, http2RelayEndpoint obj.Object, relayTlsOptions obj.Object) unsafe.Pointer

NwRelayHopCreate calls the Network framework function nw_relay_hop_create.

func NwRelease

func NwRelease(object unsafe.Pointer)

NwRelease calls the Network framework function nw_release.

func NwResolutionReportCopyPreferredEndpoint

func NwResolutionReportCopyPreferredEndpoint(resolutionReport obj.Object) unsafe.Pointer

NwResolutionReportCopyPreferredEndpoint calls the Network framework function nw_resolution_report_copy_preferred_endpoint.

func NwResolutionReportCopySuccessfulEndpoint

func NwResolutionReportCopySuccessfulEndpoint(resolutionReport obj.Object) unsafe.Pointer

NwResolutionReportCopySuccessfulEndpoint calls the Network framework function nw_resolution_report_copy_successful_endpoint.

func NwResolutionReportGetEndpointCount

func NwResolutionReportGetEndpointCount(resolutionReport obj.Object) uint32

NwResolutionReportGetEndpointCount calls the Network framework function nw_resolution_report_get_endpoint_count.

func NwResolutionReportGetMilliseconds

func NwResolutionReportGetMilliseconds(resolutionReport obj.Object) uint64

NwResolutionReportGetMilliseconds calls the Network framework function nw_resolution_report_get_milliseconds.

func NwResolutionReportGetProtocol

func NwResolutionReportGetProtocol(resolutionReport obj.Object) unsafe.Pointer

NwResolutionReportGetProtocol calls the Network framework function nw_resolution_report_get_protocol.

func NwResolutionReportGetSource

func NwResolutionReportGetSource(resolutionReport obj.Object) unsafe.Pointer

NwResolutionReportGetSource calls the Network framework function nw_resolution_report_get_source.

func NwResolverConfigAddServerAddress

func NwResolverConfigAddServerAddress(config obj.Object, serverAddress obj.Object)

NwResolverConfigAddServerAddress calls the Network framework function nw_resolver_config_add_server_address.

func NwResolverConfigCreateHttps

func NwResolverConfigCreateHttps(urlEndpoint obj.Object) unsafe.Pointer

NwResolverConfigCreateHttps calls the Network framework function nw_resolver_config_create_https.

func NwResolverConfigCreateTls

func NwResolverConfigCreateTls(serverEndpoint obj.Object) unsafe.Pointer

NwResolverConfigCreateTls calls the Network framework function nw_resolver_config_create_tls.

func NwRetain

func NwRetain(object unsafe.Pointer) unsafe.Pointer

NwRetain calls the Network framework function nw_retain.

func NwTcpCreateOptions

func NwTcpCreateOptions() unsafe.Pointer

NwTcpCreateOptions calls the Network framework function nw_tcp_create_options.

func NwTcpGetAvailableReceiveBuffer

func NwTcpGetAvailableReceiveBuffer(metadata obj.Object) uint32

NwTcpGetAvailableReceiveBuffer calls the Network framework function nw_tcp_get_available_receive_buffer.

func NwTcpGetAvailableSendBuffer

func NwTcpGetAvailableSendBuffer(metadata obj.Object) uint32

NwTcpGetAvailableSendBuffer calls the Network framework function nw_tcp_get_available_send_buffer.

func NwTcpOptionsSetConnectionTimeout

func NwTcpOptionsSetConnectionTimeout(options obj.Object, connectionTimeout uint32)

NwTcpOptionsSetConnectionTimeout calls the Network framework function nw_tcp_options_set_connection_timeout.

func NwTcpOptionsSetDisableAckStretching

func NwTcpOptionsSetDisableAckStretching(options obj.Object, disableAckStretching bool)

NwTcpOptionsSetDisableAckStretching calls the Network framework function nw_tcp_options_set_disable_ack_stretching.

func NwTcpOptionsSetDisableEcn

func NwTcpOptionsSetDisableEcn(options obj.Object, disableEcn bool)

NwTcpOptionsSetDisableEcn calls the Network framework function nw_tcp_options_set_disable_ecn.

func NwTcpOptionsSetEnableFastOpen

func NwTcpOptionsSetEnableFastOpen(options obj.Object, enableFastOpen bool)

NwTcpOptionsSetEnableFastOpen calls the Network framework function nw_tcp_options_set_enable_fast_open.

func NwTcpOptionsSetEnableKeepalive

func NwTcpOptionsSetEnableKeepalive(options obj.Object, enableKeepalive bool)

NwTcpOptionsSetEnableKeepalive calls the Network framework function nw_tcp_options_set_enable_keepalive.

func NwTcpOptionsSetKeepaliveCount

func NwTcpOptionsSetKeepaliveCount(options obj.Object, keepaliveCount uint32)

NwTcpOptionsSetKeepaliveCount calls the Network framework function nw_tcp_options_set_keepalive_count.

func NwTcpOptionsSetKeepaliveIdleTime

func NwTcpOptionsSetKeepaliveIdleTime(options obj.Object, keepaliveIdleTime uint32)

NwTcpOptionsSetKeepaliveIdleTime calls the Network framework function nw_tcp_options_set_keepalive_idle_time.

func NwTcpOptionsSetKeepaliveInterval

func NwTcpOptionsSetKeepaliveInterval(options obj.Object, keepaliveInterval uint32)

NwTcpOptionsSetKeepaliveInterval calls the Network framework function nw_tcp_options_set_keepalive_interval.

func NwTcpOptionsSetMaximumSegmentSize

func NwTcpOptionsSetMaximumSegmentSize(options obj.Object, maximumSegmentSize uint32)

NwTcpOptionsSetMaximumSegmentSize calls the Network framework function nw_tcp_options_set_maximum_segment_size.

func NwTcpOptionsSetMultipathForceVersion

func NwTcpOptionsSetMultipathForceVersion(options obj.Object, multipathForceVersion unsafe.Pointer)

NwTcpOptionsSetMultipathForceVersion calls the Network framework function nw_tcp_options_set_multipath_force_version.

func NwTcpOptionsSetNoDelay

func NwTcpOptionsSetNoDelay(options obj.Object, noDelay bool)

NwTcpOptionsSetNoDelay calls the Network framework function nw_tcp_options_set_no_delay.

func NwTcpOptionsSetNoOptions

func NwTcpOptionsSetNoOptions(options obj.Object, noOptions bool)

NwTcpOptionsSetNoOptions calls the Network framework function nw_tcp_options_set_no_options.

func NwTcpOptionsSetNoPush

func NwTcpOptionsSetNoPush(options obj.Object, noPush bool)

NwTcpOptionsSetNoPush calls the Network framework function nw_tcp_options_set_no_push.

func NwTcpOptionsSetPersistTimeout

func NwTcpOptionsSetPersistTimeout(options obj.Object, persistTimeout uint32)

NwTcpOptionsSetPersistTimeout calls the Network framework function nw_tcp_options_set_persist_timeout.

func NwTcpOptionsSetRetransmitConnectionDropTime

func NwTcpOptionsSetRetransmitConnectionDropTime(options obj.Object, retransmitConnectionDropTime uint32)

NwTcpOptionsSetRetransmitConnectionDropTime calls the Network framework function nw_tcp_options_set_retransmit_connection_drop_time.

func NwTcpOptionsSetRetransmitFinDrop

func NwTcpOptionsSetRetransmitFinDrop(options obj.Object, retransmitFinDrop bool)

NwTcpOptionsSetRetransmitFinDrop calls the Network framework function nw_tcp_options_set_retransmit_fin_drop.

func NwTlsCopySecProtocolMetadata

func NwTlsCopySecProtocolMetadata(metadata obj.Object) unsafe.Pointer

NwTlsCopySecProtocolMetadata calls the Network framework function nw_tls_copy_sec_protocol_metadata.

func NwTlsCopySecProtocolOptions

func NwTlsCopySecProtocolOptions(options obj.Object) unsafe.Pointer

NwTlsCopySecProtocolOptions calls the Network framework function nw_tls_copy_sec_protocol_options.

func NwTlsCreateOptions

func NwTlsCreateOptions() unsafe.Pointer

NwTlsCreateOptions calls the Network framework function nw_tls_create_options.

func NwTxtRecordAccessBytes

func NwTxtRecordAccessBytes(txtRecord obj.Object, accessBytes unsafe.Pointer) bool

NwTxtRecordAccessBytes calls the Network framework function nw_txt_record_access_bytes.

func NwTxtRecordAccessKey

func NwTxtRecordAccessKey(txtRecord obj.Object, key string, accessValue unsafe.Pointer) bool

NwTxtRecordAccessKey calls the Network framework function nw_txt_record_access_key.

func NwTxtRecordApply

func NwTxtRecordApply(txtRecord obj.Object, applier unsafe.Pointer) bool

NwTxtRecordApply calls the Network framework function nw_txt_record_apply.

func NwTxtRecordCopy

func NwTxtRecordCopy(txtRecord obj.Object) unsafe.Pointer

NwTxtRecordCopy calls the Network framework function nw_txt_record_copy.

func NwTxtRecordCreateDictionary

func NwTxtRecordCreateDictionary() unsafe.Pointer

NwTxtRecordCreateDictionary calls the Network framework function nw_txt_record_create_dictionary.

func NwTxtRecordCreateWithBytes

func NwTxtRecordCreateWithBytes(txtBytes unsafe.Pointer, txtLen int) unsafe.Pointer

NwTxtRecordCreateWithBytes calls the Network framework function nw_txt_record_create_with_bytes.

func NwTxtRecordFindKey

func NwTxtRecordFindKey(txtRecord obj.Object, key string) unsafe.Pointer

NwTxtRecordFindKey calls the Network framework function nw_txt_record_find_key.

func NwTxtRecordGetKeyCount

func NwTxtRecordGetKeyCount(txtRecord obj.Object) int

NwTxtRecordGetKeyCount calls the Network framework function nw_txt_record_get_key_count.

func NwTxtRecordIsDictionary

func NwTxtRecordIsDictionary(txtRecord obj.Object) bool

NwTxtRecordIsDictionary calls the Network framework function nw_txt_record_is_dictionary.

func NwTxtRecordIsEqual

func NwTxtRecordIsEqual(left obj.Object, right obj.Object) bool

NwTxtRecordIsEqual calls the Network framework function nw_txt_record_is_equal.

func NwTxtRecordRemoveKey

func NwTxtRecordRemoveKey(txtRecord obj.Object, key string) bool

NwTxtRecordRemoveKey calls the Network framework function nw_txt_record_remove_key.

func NwTxtRecordSetKey

func NwTxtRecordSetKey(txtRecord obj.Object, key string, value unsafe.Pointer, valueLen int) bool

NwTxtRecordSetKey calls the Network framework function nw_txt_record_set_key.

func NwUdpCreateMetadata

func NwUdpCreateMetadata() unsafe.Pointer

NwUdpCreateMetadata calls the Network framework function nw_udp_create_metadata.

func NwUdpCreateOptions

func NwUdpCreateOptions() unsafe.Pointer

NwUdpCreateOptions calls the Network framework function nw_udp_create_options.

func NwUdpOptionsSetPreferNoChecksum

func NwUdpOptionsSetPreferNoChecksum(options obj.Object, preferNoChecksum bool)

NwUdpOptionsSetPreferNoChecksum calls the Network framework function nw_udp_options_set_prefer_no_checksum.

func NwWsCreateMetadata

func NwWsCreateMetadata(opcode unsafe.Pointer) unsafe.Pointer

NwWsCreateMetadata calls the Network framework function nw_ws_create_metadata.

func NwWsCreateOptions

func NwWsCreateOptions(version unsafe.Pointer) unsafe.Pointer

NwWsCreateOptions calls the Network framework function nw_ws_create_options.

func NwWsMetadataCopyServerResponse

func NwWsMetadataCopyServerResponse(metadata obj.Object) unsafe.Pointer

NwWsMetadataCopyServerResponse calls the Network framework function nw_ws_metadata_copy_server_response.

func NwWsMetadataGetCloseCode

func NwWsMetadataGetCloseCode(metadata obj.Object) unsafe.Pointer

NwWsMetadataGetCloseCode calls the Network framework function nw_ws_metadata_get_close_code.

func NwWsMetadataGetOpcode

func NwWsMetadataGetOpcode(metadata obj.Object) unsafe.Pointer

NwWsMetadataGetOpcode calls the Network framework function nw_ws_metadata_get_opcode.

func NwWsMetadataSetCloseCode

func NwWsMetadataSetCloseCode(metadata obj.Object, closeCode unsafe.Pointer)

NwWsMetadataSetCloseCode calls the Network framework function nw_ws_metadata_set_close_code.

func NwWsMetadataSetPongHandler

func NwWsMetadataSetPongHandler(metadata obj.Object, clientQueue dispatch.Queue, pongHandler func(obj.Object))

NwWsMetadataSetPongHandler calls the Network framework function nw_ws_metadata_set_pong_handler.

func NwWsOptionsAddAdditionalHeader

func NwWsOptionsAddAdditionalHeader(options obj.Object, name string, value string)

NwWsOptionsAddAdditionalHeader calls the Network framework function nw_ws_options_add_additional_header.

func NwWsOptionsAddSubprotocol

func NwWsOptionsAddSubprotocol(options obj.Object, subprotocol string)

NwWsOptionsAddSubprotocol calls the Network framework function nw_ws_options_add_subprotocol.

func NwWsOptionsSetAutoReplyPing

func NwWsOptionsSetAutoReplyPing(options obj.Object, autoReplyPing bool)

NwWsOptionsSetAutoReplyPing calls the Network framework function nw_ws_options_set_auto_reply_ping.

func NwWsOptionsSetClientRequestHandler

func NwWsOptionsSetClientRequestHandler(options obj.Object, clientQueue dispatch.Queue, handler func(obj.Object) int)

NwWsOptionsSetClientRequestHandler calls the Network framework function nw_ws_options_set_client_request_handler.

func NwWsOptionsSetMaximumMessageSize

func NwWsOptionsSetMaximumMessageSize(options obj.Object, maximumMessageSize int)

NwWsOptionsSetMaximumMessageSize calls the Network framework function nw_ws_options_set_maximum_message_size.

func NwWsOptionsSetSkipHandshake

func NwWsOptionsSetSkipHandshake(options obj.Object, skipHandshake bool)

NwWsOptionsSetSkipHandshake calls the Network framework function nw_ws_options_set_skip_handshake.

func NwWsRequestEnumerateAdditionalHeaders

func NwWsRequestEnumerateAdditionalHeaders(request obj.Object, enumerator func(string, string) bool) bool

NwWsRequestEnumerateAdditionalHeaders calls the Network framework function nw_ws_request_enumerate_additional_headers.

func NwWsRequestEnumerateSubprotocols

func NwWsRequestEnumerateSubprotocols(request obj.Object, enumerator func(string) bool) bool

NwWsRequestEnumerateSubprotocols calls the Network framework function nw_ws_request_enumerate_subprotocols.

func NwWsResponseAddAdditionalHeader

func NwWsResponseAddAdditionalHeader(response obj.Object, name string, value string)

NwWsResponseAddAdditionalHeader calls the Network framework function nw_ws_response_add_additional_header.

func NwWsResponseCreate

func NwWsResponseCreate(status unsafe.Pointer, selectedSubprotocol string) unsafe.Pointer

NwWsResponseCreate calls the Network framework function nw_ws_response_create.

func NwWsResponseEnumerateAdditionalHeaders

func NwWsResponseEnumerateAdditionalHeaders(response obj.Object, enumerator func(string, string) bool) bool

NwWsResponseEnumerateAdditionalHeaders calls the Network framework function nw_ws_response_enumerate_additional_headers.

func NwWsResponseGetSelectedSubprotocol

func NwWsResponseGetSelectedSubprotocol(response obj.Object) string

NwWsResponseGetSelectedSubprotocol calls the Network framework function nw_ws_response_get_selected_subprotocol.

func NwWsResponseGetStatus

func NwWsResponseGetStatus(response obj.Object) unsafe.Pointer

NwWsResponseGetStatus calls the Network framework function nw_ws_response_get_status.

func Nw_connection_send_idempotent_content

func Nw_connection_send_idempotent_content() uintptr

Nw_connection_send_idempotent_content returns the address of the symbol _nw_connection_send_idempotent_content.

func Nw_content_context_default_message

func Nw_content_context_default_message() uintptr

Nw_content_context_default_message returns the address of the symbol _nw_content_context_default_message.

func Nw_content_context_default_stream

func Nw_content_context_default_stream() uintptr

Nw_content_context_default_stream returns the address of the symbol _nw_content_context_default_stream.

func Nw_content_context_final_send

func Nw_content_context_final_send() uintptr

Nw_content_context_final_send returns the address of the symbol _nw_content_context_final_send.

func Nw_data_transfer_report_all_paths

func Nw_data_transfer_report_all_paths() uint

Nw_data_transfer_report_all_paths returns the value of the constant _nw_data_transfer_report_all_paths.

func Nw_parameters_configure_protocol_default_configuration

func Nw_parameters_configure_protocol_default_configuration() uintptr

Nw_parameters_configure_protocol_default_configuration returns the address of the symbol _nw_parameters_configure_protocol_default_configuration.

func Nw_parameters_configure_protocol_disable

func Nw_parameters_configure_protocol_disable() uintptr

Nw_parameters_configure_protocol_disable returns the address of the symbol _nw_parameters_configure_protocol_disable.

func Nw_privacy_context_default_context

func Nw_privacy_context_default_context() uintptr

Nw_privacy_context_default_context returns the address of the symbol _nw_privacy_context_default_context.

Types

type ACLEntryID added in v0.17.0

type ACLEntryID int32
const (
	ACLEntryIDFirstEntry ACLEntryID = 0
	ACLEntryIDNextEntry  ACLEntryID = -1
	ACLEntryIDLastEntry  ACLEntryID = -2
)

func (ACLEntryID) String added in v0.17.0

func (e ACLEntryID) String() string

String returns the ACLEntryID constant's name, or its numeric form when the value is not a known constant.

type ACLFlag added in v0.17.0

type ACLFlag int32
const (
	ACLFlagFlagDeferInherit      ACLFlag = 1
	ACLFlagFlagNoInherit         ACLFlag = 131072
	ACLFlagEntryInherited        ACLFlag = 16
	ACLFlagEntryFileInherit      ACLFlag = 32
	ACLFlagEntryDirectoryInherit ACLFlag = 64
	ACLFlagEntryLimitInherit     ACLFlag = 128
	ACLFlagEntryOnlyInherit      ACLFlag = 256
)

func (ACLFlag) String added in v0.17.0

func (e ACLFlag) String() string

String returns the ACLFlag constant's name, or its numeric form when the value is not a known constant.

type ACLPerm added in v0.17.0

type ACLPerm int32
const (
	ACLPermReadData           ACLPerm = 2
	ACLPermListDirectory      ACLPerm = 2
	ACLPermWriteData          ACLPerm = 4
	ACLPermAddFile            ACLPerm = 4
	ACLPermExecute            ACLPerm = 8
	ACLPermSearch             ACLPerm = 8
	ACLPermDelete             ACLPerm = 16
	ACLPermAppendData         ACLPerm = 32
	ACLPermAddSubdirectory    ACLPerm = 32
	ACLPermDeleteChild        ACLPerm = 64
	ACLPermReadAttributes     ACLPerm = 128
	ACLPermWriteAttributes    ACLPerm = 256
	ACLPermReadExtattributes  ACLPerm = 512
	ACLPermWriteExtattributes ACLPerm = 1024
	ACLPermReadSecurity       ACLPerm = 2048
	ACLPermWriteSecurity      ACLPerm = 4096
	ACLPermChangeOwner        ACLPerm = 8192
	ACLPermSynchronize        ACLPerm = 1048576
)

func (ACLPerm) String added in v0.17.0

func (e ACLPerm) String() string

String returns the ACLPerm constant's name, or its numeric form when the value is not a known constant.

type ACLTag added in v0.17.0

type ACLTag int32
const (
	ACLTagUndefinedTag  ACLTag = 0
	ACLTagExtendedAllow ACLTag = 1
	ACLTagExtendedDeny  ACLTag = 2
)

func (ACLTag) String added in v0.17.0

func (e ACLTag) String() string

String returns the ACLTag constant's name, or its numeric form when the value is not a known constant.

type ACLType added in v0.17.0

type ACLType int32
const (
	ACLTypeExtended ACLType = 256
	ACLTypeAccess   ACLType = 0
	ACLTypeDefault  ACLType = 1
	ACLTypeAfs      ACLType = 2
	ACLTypeCoda     ACLType = 3
	ACLTypeNtfs     ACLType = 4
	ACLTypeNwfs     ACLType = 5
)

func (ACLType) String added in v0.17.0

func (e ACLType) String() string

String returns the ACLType constant's name, or its numeric form when the value is not a known constant.

type BrowserState added in v0.17.0

type BrowserState int32

States indicating whether a browser is able to discover services.

const (
	Nw_browser_state_invalid   BrowserState = 0
	Nw_browser_state_ready     BrowserState = 1
	Nw_browser_state_failed    BrowserState = 2
	Nw_browser_state_cancelled BrowserState = 3
	Nw_browser_state_waiting   BrowserState = 4
)

func (BrowserState) String added in v0.17.0

func (e BrowserState) String() string

String returns the BrowserState constant's name, or its numeric form when the value is not a known constant.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type ConnectionGroupState added in v0.17.0

type ConnectionGroupState int32

States that indicate whether you can use a connection group to send and receive messages.

const (
	Nw_connection_group_state_invalid   ConnectionGroupState = 0
	Nw_connection_group_state_waiting   ConnectionGroupState = 1
	Nw_connection_group_state_ready     ConnectionGroupState = 2
	Nw_connection_group_state_failed    ConnectionGroupState = 3
	Nw_connection_group_state_cancelled ConnectionGroupState = 4
)

func (ConnectionGroupState) String added in v0.17.0

func (e ConnectionGroupState) String() string

String returns the ConnectionGroupState constant's name, or its numeric form when the value is not a known constant.

type ConnectionState added in v0.17.0

type ConnectionState int32

States indicating whether a connection can be used to send and receive data.

const (
	Nw_connection_state_invalid   ConnectionState = 0
	Nw_connection_state_waiting   ConnectionState = 1
	Nw_connection_state_preparing ConnectionState = 2
	Nw_connection_state_ready     ConnectionState = 3
	Nw_connection_state_failed    ConnectionState = 4
	Nw_connection_state_cancelled ConnectionState = 5
)

func (ConnectionState) String added in v0.17.0

func (e ConnectionState) String() string

String returns the ConnectionState constant's name, or its numeric form when the value is not a known constant.

type DNSServiceAAAAPolicy

type DNSServiceAAAAPolicy int32
const (
	KDNSServiceAAAAPolicyNone     DNSServiceAAAAPolicy = 0
	KDNSServiceAAAAPolicyFallback DNSServiceAAAAPolicy = 1
)

func (DNSServiceAAAAPolicy) String

func (e DNSServiceAAAAPolicy) String() string

String returns the DNSServiceAAAAPolicy constant's name, or its numeric form when the value is not a known constant.

type DataTransferReportState added in v0.17.0

type DataTransferReportState int32

States indicating whether a data transfer report is collected yet.

const (
	Nw_data_transfer_report_state_collecting DataTransferReportState = 1
	Nw_data_transfer_report_state_collected  DataTransferReportState = 2
)

func (DataTransferReportState) String added in v0.17.0

func (e DataTransferReportState) String() string

String returns the DataTransferReportState constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EndpointType added in v0.17.0

type EndpointType int32

The type of a network endpoint, such as a host or a service.

const (
	Nw_endpoint_type_invalid         EndpointType = 0
	Nw_endpoint_type_address         EndpointType = 1
	Nw_endpoint_type_host            EndpointType = 2
	Nw_endpoint_type_bonjour_service EndpointType = 3
	Nw_endpoint_type_url             EndpointType = 4
)

func (EndpointType) String added in v0.17.0

func (e EndpointType) String() string

String returns the EndpointType constant's name, or its numeric form when the value is not a known constant.

type ErrorDomain added in v0.17.0

type ErrorDomain int32

The error domain for errors used by the Network framework.

const (
	Nw_error_domain_invalid    ErrorDomain = 0
	Nw_error_domain_posix      ErrorDomain = 1
	Nw_error_domain_dns        ErrorDomain = 2
	Nw_error_domain_tls        ErrorDomain = 3
	Nw_error_domain_wifi_aware ErrorDomain = 4
)

func (ErrorDomain) String added in v0.17.0

func (e ErrorDomain) String() string

String returns the ErrorDomain constant's name, or its numeric form when the value is not a known constant.

type EthernetChannelState added in v0.17.0

type EthernetChannelState int32

States indicating whether an Ethernet channel is able to send and receive frames.

const (
	Nw_ethernet_channel_state_invalid   EthernetChannelState = 0
	Nw_ethernet_channel_state_waiting   EthernetChannelState = 1
	Nw_ethernet_channel_state_preparing EthernetChannelState = 2
	Nw_ethernet_channel_state_ready     EthernetChannelState = 3
	Nw_ethernet_channel_state_failed    EthernetChannelState = 4
	Nw_ethernet_channel_state_cancelled EthernetChannelState = 5
)

func (EthernetChannelState) String added in v0.17.0

func (e EthernetChannelState) String() string

String returns the EthernetChannelState constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type FramerStartResult added in v0.17.0

type FramerStartResult int32

Results that you send to indicate the disposition of your protocol after the start handler is invoked.

const (
	Nw_framer_start_result_ready           FramerStartResult = 1
	Nw_framer_start_result_will_mark_ready FramerStartResult = 2
)

func (FramerStartResult) String added in v0.17.0

func (e FramerStartResult) String() string

String returns the FramerStartResult constant's name, or its numeric form when the value is not a known constant.

type IPEcnFlag added in v0.17.0

type IPEcnFlag int32

Flag values for Explicit Congestion Notifications in IP packets.

const (
	Nw_ip_ecn_flag_non_ect IPEcnFlag = 0
	Nw_ip_ecn_flag_ect_0   IPEcnFlag = 2
	Nw_ip_ecn_flag_ect_1   IPEcnFlag = 1
	Nw_ip_ecn_flag_ce      IPEcnFlag = 3
)

func (IPEcnFlag) String added in v0.17.0

func (e IPEcnFlag) String() string

String returns the IPEcnFlag constant's name, or its numeric form when the value is not a known constant.

type IPLocalAddressPreference added in v0.17.0

type IPLocalAddressPreference int32

Types of local addresses that can be selected, such as temporary or stable.

const (
	Nw_ip_local_address_preference_default   IPLocalAddressPreference = 0
	Nw_ip_local_address_preference_temporary IPLocalAddressPreference = 1
	Nw_ip_local_address_preference_stable    IPLocalAddressPreference = 2
)

func (IPLocalAddressPreference) String added in v0.17.0

func (e IPLocalAddressPreference) String() string

String returns the IPLocalAddressPreference constant's name, or its numeric form when the value is not a known constant.

type IPVersion added in v0.17.0

type IPVersion int32

IP versions to require on connections and listeners.

const (
	Nw_ip_version_any IPVersion = 0
	Nw_ip_version_4   IPVersion = 4
	Nw_ip_version_6   IPVersion = 6
)

func (IPVersion) String added in v0.17.0

func (e IPVersion) String() string

String returns the IPVersion constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type InterfaceRadioType added in v0.17.0

type InterfaceRadioType int32

Interface radio types represent the radio technology for a network link.

const (
	Nw_interface_radio_type_unknown         InterfaceRadioType = 0
	Nw_interface_radio_type_wifi_b          InterfaceRadioType = 1
	Nw_interface_radio_type_wifi_a          InterfaceRadioType = 2
	Nw_interface_radio_type_wifi_g          InterfaceRadioType = 3
	Nw_interface_radio_type_wifi_n          InterfaceRadioType = 4
	Nw_interface_radio_type_wifi_ac         InterfaceRadioType = 5
	Nw_interface_radio_type_wifi_ax         InterfaceRadioType = 6
	Nw_interface_radio_type_cell_lte        InterfaceRadioType = 128
	Nw_interface_radio_type_cell_endc_sub6  InterfaceRadioType = 129
	Nw_interface_radio_type_cell_endc_mmw   InterfaceRadioType = 130
	Nw_interface_radio_type_cell_nr_sa_sub6 InterfaceRadioType = 131
	Nw_interface_radio_type_cell_nr_sa_mmw  InterfaceRadioType = 132
	Nw_interface_radio_type_cell_wcdma      InterfaceRadioType = 133
	Nw_interface_radio_type_cell_gsm        InterfaceRadioType = 134
	Nw_interface_radio_type_cell_cdma       InterfaceRadioType = 135
	Nw_interface_radio_type_cell_evdo       InterfaceRadioType = 136
)

func (InterfaceRadioType) String added in v0.17.0

func (e InterfaceRadioType) String() string

String returns the InterfaceRadioType constant's name, or its numeric form when the value is not a known constant.

type InterfaceType added in v0.17.0

type InterfaceType int32

Types of network interfaces, based on their link layer media types.

const (
	Nw_interface_type_other    InterfaceType = 0
	Nw_interface_type_wifi     InterfaceType = 1
	Nw_interface_type_cellular InterfaceType = 2
	Nw_interface_type_wired    InterfaceType = 3
	Nw_interface_type_loopback InterfaceType = 4
)

func (InterfaceType) String added in v0.17.0

func (e InterfaceType) String() string

String returns the InterfaceType constant's name, or its numeric form when the value is not a known constant.

type IpcInfoObjectType added in v0.17.0

type IpcInfoObjectType uint32
const (
	IpcInfoObjectTypeNone               IpcInfoObjectType = 0
	IpcInfoObjectTypeThreadControl      IpcInfoObjectType = 1
	IpcInfoObjectTypeTaskControl        IpcInfoObjectType = 2
	IpcInfoObjectTypeHost               IpcInfoObjectType = 3
	IpcInfoObjectTypeHostPriv           IpcInfoObjectType = 4
	IpcInfoObjectTypeProcessor          IpcInfoObjectType = 5
	IpcInfoObjectTypeProcessorSet       IpcInfoObjectType = 6
	IpcInfoObjectTypeProcessorSetName   IpcInfoObjectType = 7
	IpcInfoObjectTypeTimer              IpcInfoObjectType = 8
	IpcInfoObjectTypePortSubstOnce      IpcInfoObjectType = 9
	IpcInfoObjectTypeMig                IpcInfoObjectType = 10
	IpcInfoObjectTypeMemoryObject       IpcInfoObjectType = 11
	IpcInfoObjectTypeXmmPager           IpcInfoObjectType = 12
	IpcInfoObjectTypeXmmKernel          IpcInfoObjectType = 13
	IpcInfoObjectTypeXmmReply           IpcInfoObjectType = 14
	IpcInfoObjectTypeUndReply           IpcInfoObjectType = 15
	IpcInfoObjectTypeHostNotify         IpcInfoObjectType = 16
	IpcInfoObjectTypeHostSecurity       IpcInfoObjectType = 17
	IpcInfoObjectTypeLedger             IpcInfoObjectType = 18
	IpcInfoObjectTypeMainDevice         IpcInfoObjectType = 19
	IpcInfoObjectTypeTaskName           IpcInfoObjectType = 20
	IpcInfoObjectTypeSubsystem          IpcInfoObjectType = 21
	IpcInfoObjectTypeIODoneQueue        IpcInfoObjectType = 22
	IpcInfoObjectTypeSemaphore          IpcInfoObjectType = 23
	IpcInfoObjectTypeLockSet            IpcInfoObjectType = 24
	IpcInfoObjectTypeClock              IpcInfoObjectType = 25
	IpcInfoObjectTypeClockCtrl          IpcInfoObjectType = 26
	IpcInfoObjectTypeIokitIdent         IpcInfoObjectType = 27
	IpcInfoObjectTypeNamedEntry         IpcInfoObjectType = 28
	IpcInfoObjectTypeIokitConnect       IpcInfoObjectType = 29
	IpcInfoObjectTypeIokitObject        IpcInfoObjectType = 30
	IpcInfoObjectTypeUpl                IpcInfoObjectType = 31
	IpcInfoObjectTypeMemObjControl      IpcInfoObjectType = 32
	IpcInfoObjectTypeAuSessionport      IpcInfoObjectType = 33
	IpcInfoObjectTypeFileport           IpcInfoObjectType = 34
	IpcInfoObjectTypeLabelh             IpcInfoObjectType = 35
	IpcInfoObjectTypeTaskResume         IpcInfoObjectType = 36
	IpcInfoObjectTypeVoucher            IpcInfoObjectType = 37
	IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38
	IpcInfoObjectTypeWorkInterval       IpcInfoObjectType = 39
	IpcInfoObjectTypeUxHandler          IpcInfoObjectType = 40
	IpcInfoObjectTypeUextObject         IpcInfoObjectType = 41
	IpcInfoObjectTypeArcadeReg          IpcInfoObjectType = 42
	IpcInfoObjectTypeEventlink          IpcInfoObjectType = 43
	IpcInfoObjectTypeTaskInspect        IpcInfoObjectType = 44
	IpcInfoObjectTypeTaskRead           IpcInfoObjectType = 45
	IpcInfoObjectTypeThreadInspect      IpcInfoObjectType = 46
	IpcInfoObjectTypeThreadRead         IpcInfoObjectType = 47
	IpcInfoObjectTypeSuidCred           IpcInfoObjectType = 48
	IpcInfoObjectTypeHypervisor         IpcInfoObjectType = 49
	IpcInfoObjectTypeTaskIDToken        IpcInfoObjectType = 50
	IpcInfoObjectTypeTaskFatal          IpcInfoObjectType = 51
	IpcInfoObjectTypeKcdata             IpcInfoObjectType = 52
	IpcInfoObjectTypeExclavesResource   IpcInfoObjectType = 53
	IpcInfoObjectTypeThreadResume       IpcInfoObjectType = 54
	IpcInfoObjectTypeUnknown            IpcInfoObjectType = 4294967295
)

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.

type LaunchDataType added in v0.17.0

type LaunchDataType int32
const (
	LaunchDataTypeDictionary LaunchDataType = 1
	LaunchDataTypeArray      LaunchDataType = 2
	LaunchDataTypeFd         LaunchDataType = 3
	LaunchDataTypeInteger    LaunchDataType = 4
	LaunchDataTypeReal       LaunchDataType = 5
	LaunchDataTypeBool       LaunchDataType = 6
	LaunchDataTypeString     LaunchDataType = 7
	LaunchDataTypeOpaque     LaunchDataType = 8
	LaunchDataTypeErrno      LaunchDataType = 9
	LaunchDataTypeMachport   LaunchDataType = 10
)

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.

type LinkQuality added in v0.17.0

type LinkQuality int32

Link quality measurement is a representation of the expected capabilities of the link layer network attachment. Use this value to tune initial values for algorithms that can scale with the capabilities of the network. Do not use this value to gate connection attempts or to override adjustments that would be made based on actual network performance.

const (
	Nw_link_quality_unknown  LinkQuality = 0
	Nw_link_quality_minimal  LinkQuality = 10
	Nw_link_quality_moderate LinkQuality = 20
	Nw_link_quality_good     LinkQuality = 30
)

func (LinkQuality) String added in v0.17.0

func (e LinkQuality) String() string

String returns the LinkQuality constant's name, or its numeric form when the value is not a known constant.

type ListenerState added in v0.17.0

type ListenerState int32

States indicating whether a listener is able to accept incoming connections.

const (
	Nw_listener_state_invalid   ListenerState = 0
	Nw_listener_state_waiting   ListenerState = 1
	Nw_listener_state_ready     ListenerState = 2
	Nw_listener_state_failed    ListenerState = 3
	Nw_listener_state_cancelled ListenerState = 4
)

func (ListenerState) String added in v0.17.0

func (e ListenerState) String() string

String returns the ListenerState constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlavor added in v0.17.0

type MachVMRangeFlavor uint32
const (
	MachVMRangeFlavorInvalid MachVMRangeFlavor = 0
	MachVMRangeFlavorV1      MachVMRangeFlavor = 1
)

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeTag added in v0.17.0

type MachVMRangeTag uint16
const (
	MachVMRangeTagDefault MachVMRangeTag = 0
	MachVMRangeTagData    MachVMRangeTag = 1
	MachVMRangeTagFixed   MachVMRangeTag = 2
)

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type MultipathService added in v0.17.0

type MultipathService int32

Modes in which a connection can support multipath protocols.

const (
	Nw_multipath_service_disabled    MultipathService = 0
	Nw_multipath_service_handover    MultipathService = 1
	Nw_multipath_service_interactive MultipathService = 2
	Nw_multipath_service_aggregate   MultipathService = 3
)

func (MultipathService) String added in v0.17.0

func (e MultipathService) String() string

String returns the MultipathService constant's name, or its numeric form when the value is not a known constant.

type MultipathVersion added in v0.17.0

type MultipathVersion int32

Multipath versions represent the MPTCP standard versions

const (
	Nw_multipath_version_unspecified MultipathVersion = -1
	Nw_multipath_version_0           MultipathVersion = 0
	Nw_multipath_version_1           MultipathVersion = 1
)

func (MultipathVersion) String added in v0.17.0

func (e MultipathVersion) String() string

String returns the MultipathVersion constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type OS_nw_advertise_descriptor

type OS_nw_advertise_descriptor interface {
}

OS_nw_advertise_descriptor is the Go form of the Objective-C protocol OS_nw_advertise_descriptor.

type OS_nw_browse_descriptor

type OS_nw_browse_descriptor interface {
}

OS_nw_browse_descriptor is the Go form of the Objective-C protocol OS_nw_browse_descriptor.

type OS_nw_browse_result

type OS_nw_browse_result interface {
}

OS_nw_browse_result is the Go form of the Objective-C protocol OS_nw_browse_result.

type OS_nw_browser

type OS_nw_browser interface {
}

OS_nw_browser is the Go form of the Objective-C protocol OS_nw_browser.

type OS_nw_connection

type OS_nw_connection interface {
}

OS_nw_connection is the Go form of the Objective-C protocol OS_nw_connection.

type OS_nw_connection_group

type OS_nw_connection_group interface {
}

OS_nw_connection_group is the Go form of the Objective-C protocol OS_nw_connection_group.

type OS_nw_content_context

type OS_nw_content_context interface {
}

OS_nw_content_context is the Go form of the Objective-C protocol OS_nw_content_context.

type OS_nw_data_transfer_report

type OS_nw_data_transfer_report interface {
}

OS_nw_data_transfer_report is the Go form of the Objective-C protocol OS_nw_data_transfer_report.

type OS_nw_endpoint

type OS_nw_endpoint interface {
}

OS_nw_endpoint is the Go form of the Objective-C protocol OS_nw_endpoint.

type OS_nw_error

type OS_nw_error interface {
}

OS_nw_error is the Go form of the Objective-C protocol OS_nw_error.

type OS_nw_establishment_report

type OS_nw_establishment_report interface {
}

OS_nw_establishment_report is the Go form of the Objective-C protocol OS_nw_establishment_report.

type OS_nw_ethernet_channel

type OS_nw_ethernet_channel interface {
}

OS_nw_ethernet_channel is the Go form of the Objective-C protocol OS_nw_ethernet_channel.

type OS_nw_framer

type OS_nw_framer interface {
}

OS_nw_framer is the Go form of the Objective-C protocol OS_nw_framer.

type OS_nw_group_descriptor

type OS_nw_group_descriptor interface {
}

OS_nw_group_descriptor is the Go form of the Objective-C protocol OS_nw_group_descriptor.

type OS_nw_interface

type OS_nw_interface interface {
}

OS_nw_interface is the Go form of the Objective-C protocol OS_nw_interface.

type OS_nw_listener

type OS_nw_listener interface {
}

OS_nw_listener is the Go form of the Objective-C protocol OS_nw_listener.

type OS_nw_object

type OS_nw_object interface {
}

OS_nw_object is the Go form of the Objective-C protocol OS_nw_object.

type OS_nw_parameters

type OS_nw_parameters interface {
}

OS_nw_parameters is the Go form of the Objective-C protocol OS_nw_parameters.

type OS_nw_path

type OS_nw_path interface {
}

OS_nw_path is the Go form of the Objective-C protocol OS_nw_path.

type OS_nw_path_monitor

type OS_nw_path_monitor interface {
}

OS_nw_path_monitor is the Go form of the Objective-C protocol OS_nw_path_monitor.

type OS_nw_privacy_context

type OS_nw_privacy_context interface {
}

OS_nw_privacy_context is the Go form of the Objective-C protocol OS_nw_privacy_context.

type OS_nw_protocol_definition

type OS_nw_protocol_definition interface {
}

OS_nw_protocol_definition is the Go form of the Objective-C protocol OS_nw_protocol_definition.

type OS_nw_protocol_metadata

type OS_nw_protocol_metadata interface {
}

OS_nw_protocol_metadata is the Go form of the Objective-C protocol OS_nw_protocol_metadata.

type OS_nw_protocol_options

type OS_nw_protocol_options interface {
}

OS_nw_protocol_options is the Go form of the Objective-C protocol OS_nw_protocol_options.

type OS_nw_protocol_stack

type OS_nw_protocol_stack interface {
}

OS_nw_protocol_stack is the Go form of the Objective-C protocol OS_nw_protocol_stack.

type OS_nw_proxy_config

type OS_nw_proxy_config interface {
}

OS_nw_proxy_config is the Go form of the Objective-C protocol OS_nw_proxy_config.

type OS_nw_relay_hop

type OS_nw_relay_hop interface {
}

OS_nw_relay_hop is the Go form of the Objective-C protocol OS_nw_relay_hop.

type OS_nw_resolution_report

type OS_nw_resolution_report interface {
}

OS_nw_resolution_report is the Go form of the Objective-C protocol OS_nw_resolution_report.

type OS_nw_resolver_config

type OS_nw_resolver_config interface {
}

OS_nw_resolver_config is the Go form of the Objective-C protocol OS_nw_resolver_config.

type OS_nw_txt_record

type OS_nw_txt_record interface {
}

OS_nw_txt_record is the Go form of the Objective-C protocol OS_nw_txt_record.

type OS_nw_ws_request

type OS_nw_ws_request interface {
}

OS_nw_ws_request is the Go form of the Objective-C protocol OS_nw_ws_request.

type OS_nw_ws_response

type OS_nw_ws_response interface {
}

OS_nw_ws_response is the Go form of the Objective-C protocol OS_nw_ws_response.

type ParametersAttribution added in v0.17.0

type ParametersAttribution uint8

The entities that can make a network request.

const (
	// A developer-initiated network request.
	Nw_parameters_attribution_developer ParametersAttribution = 1
	// The user explicitly directs the app to make a network request.
	Nw_parameters_attribution_user ParametersAttribution = 2
)

func NwParametersGetAttribution

func NwParametersGetAttribution(parameters obj.Object) ParametersAttribution

NwParametersGetAttribution calls the Network framework function nw_parameters_get_attribution.

func (ParametersAttribution) String added in v0.17.0

func (e ParametersAttribution) String() string

String returns the ParametersAttribution constant's name, or its numeric form when the value is not a known constant.

type ParametersExpiredDNSBehavior added in v0.17.0

type ParametersExpiredDNSBehavior int32

Options for configuring how expired DNS answers should be used.

const (
	Nw_parameters_expired_dns_behavior_default    ParametersExpiredDNSBehavior = 0
	Nw_parameters_expired_dns_behavior_allow      ParametersExpiredDNSBehavior = 1
	Nw_parameters_expired_dns_behavior_prohibit   ParametersExpiredDNSBehavior = 2
	Nw_parameters_expired_dns_behavior_persistent ParametersExpiredDNSBehavior = 3
)

func (ParametersExpiredDNSBehavior) String added in v0.17.0

String returns the ParametersExpiredDNSBehavior constant's name, or its numeric form when the value is not a known constant.

type PathStatus added in v0.17.0

type PathStatus int32

Status values indicating whether a path can be used by connections.

const (
	Nw_path_status_invalid     PathStatus = 0
	Nw_path_status_satisfied   PathStatus = 1
	Nw_path_status_unsatisfied PathStatus = 2
	Nw_path_status_satisfiable PathStatus = 3
)

func (PathStatus) String added in v0.17.0

func (e PathStatus) String() string

String returns the PathStatus constant's name, or its numeric form when the value is not a known constant.

type PathUnsatisfiedReason added in v0.17.0

type PathUnsatisfiedReason int32

A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.

const (
	Nw_path_unsatisfied_reason_not_available        PathUnsatisfiedReason = 0
	Nw_path_unsatisfied_reason_cellular_denied      PathUnsatisfiedReason = 1
	Nw_path_unsatisfied_reason_wifi_denied          PathUnsatisfiedReason = 2
	Nw_path_unsatisfied_reason_local_network_denied PathUnsatisfiedReason = 3
	Nw_path_unsatisfied_reason_vpn_inactive         PathUnsatisfiedReason = 4
)

func (PathUnsatisfiedReason) String added in v0.17.0

func (e PathUnsatisfiedReason) String() string

String returns the PathUnsatisfiedReason constant's name, or its numeric form when the value is not a known constant.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type QuicStreamType added in v0.17.0

type QuicStreamType int32

Represents the type of a QUIC stream.

const (
	Nw_quic_stream_type_unknown        QuicStreamType = 0
	Nw_quic_stream_type_bidirectional  QuicStreamType = 1
	Nw_quic_stream_type_unidirectional QuicStreamType = 2
	Nw_quic_stream_type_datagram       QuicStreamType = 3
)

func (QuicStreamType) String added in v0.17.0

func (e QuicStreamType) String() string

String returns the QuicStreamType constant's name, or its numeric form when the value is not a known constant.

type ReportResolutionProtocol added in v0.17.0

type ReportResolutionProtocol int32

A set of transport protocols connections use for DNS resolution.

const (
	Nw_report_resolution_protocol_unknown ReportResolutionProtocol = 0
	Nw_report_resolution_protocol_udp     ReportResolutionProtocol = 1
	Nw_report_resolution_protocol_tcp     ReportResolutionProtocol = 2
	Nw_report_resolution_protocol_tls     ReportResolutionProtocol = 3
	Nw_report_resolution_protocol_https   ReportResolutionProtocol = 4
)

func (ReportResolutionProtocol) String added in v0.17.0

func (e ReportResolutionProtocol) String() string

String returns the ReportResolutionProtocol constant's name, or its numeric form when the value is not a known constant.

type ReportResolutionSource added in v0.17.0

type ReportResolutionSource int32

Sources that may provide DNS responses.

const (
	Nw_report_resolution_source_query         ReportResolutionSource = 1
	Nw_report_resolution_source_cache         ReportResolutionSource = 2
	Nw_report_resolution_source_expired_cache ReportResolutionSource = 3
)

func (ReportResolutionSource) String added in v0.17.0

func (e ReportResolutionSource) String() string

String returns the ReportResolutionSource constant's name, or its numeric form when the value is not a known constant.

type ServiceClass added in v0.17.0

type ServiceClass int32

Levels of service quality that can be used with a connection.

const (
	Nw_service_class_best_effort       ServiceClass = 0
	Nw_service_class_background        ServiceClass = 1
	Nw_service_class_interactive_video ServiceClass = 2
	Nw_service_class_interactive_voice ServiceClass = 3
	Nw_service_class_responsive_data   ServiceClass = 4
	Nw_service_class_signaling         ServiceClass = 5
)

func (ServiceClass) String added in v0.17.0

func (e ServiceClass) String() string

String returns the ServiceClass constant's name, or its numeric form when the value is not a known constant.

type TxtRecordFindKey added in v0.17.0

type TxtRecordFindKey int32

Status values describing what kind of value is stored in a TXT record dictionary.

const (
	Nw_txt_record_find_key_invalid         TxtRecordFindKey = 0
	Nw_txt_record_find_key_not_present     TxtRecordFindKey = 1
	Nw_txt_record_find_key_no_value        TxtRecordFindKey = 2
	Nw_txt_record_find_key_empty_value     TxtRecordFindKey = 3
	Nw_txt_record_find_key_non_empty_value TxtRecordFindKey = 4
)

func (TxtRecordFindKey) String added in v0.17.0

func (e TxtRecordFindKey) String() string

String returns the TxtRecordFindKey constant's name, or its numeric form when the value is not a known constant.

type VirtualMemoryGuardExceptionCode added in v0.17.0

type VirtualMemoryGuardExceptionCode uint32
const (
	KGUARD_EXC_DEALLOC_GAP                   VirtualMemoryGuardExceptionCode = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        VirtualMemoryGuardExceptionCode = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         VirtualMemoryGuardExceptionCode = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    VirtualMemoryGuardExceptionCode = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    VirtualMemoryGuardExceptionCode = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         VirtualMemoryGuardExceptionCode = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         VirtualMemoryGuardExceptionCode = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  VirtualMemoryGuardExceptionCode = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    VirtualMemoryGuardExceptionCode = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              VirtualMemoryGuardExceptionCode = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        VirtualMemoryGuardExceptionCode = 99
	KGUARD_EXC_SEC_COPY_DENIED               VirtualMemoryGuardExceptionCode = 100
	KGUARD_EXC_SEC_SHARING_DENIED            VirtualMemoryGuardExceptionCode = 101
	KGUARD_EXC_MTE_SYNC_FAULT                VirtualMemoryGuardExceptionCode = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          VirtualMemoryGuardExceptionCode = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          VirtualMemoryGuardExceptionCode = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204
)

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

type WsCloseCode added in v0.17.0

type WsCloseCode int32

Types of codes used upon closing a WebSocket connection.

const (
	Nw_ws_close_code_normal_closure             WsCloseCode = 1000
	Nw_ws_close_code_going_away                 WsCloseCode = 1001
	Nw_ws_close_code_protocol_error             WsCloseCode = 1002
	Nw_ws_close_code_unsupported_data           WsCloseCode = 1003
	Nw_ws_close_code_no_status_received         WsCloseCode = 1005
	Nw_ws_close_code_abnormal_closure           WsCloseCode = 1006
	Nw_ws_close_code_invalid_frame_payload_data WsCloseCode = 1007
	Nw_ws_close_code_policy_violation           WsCloseCode = 1008
	Nw_ws_close_code_message_too_big            WsCloseCode = 1009
	Nw_ws_close_code_mandatory_extension        WsCloseCode = 1010
	Nw_ws_close_code_internal_server_error      WsCloseCode = 1011
	Nw_ws_close_code_tls_handshake              WsCloseCode = 1015
)

func (WsCloseCode) String added in v0.17.0

func (e WsCloseCode) String() string

String returns the WsCloseCode constant's name, or its numeric form when the value is not a known constant.

type WsOpcode added in v0.17.0

type WsOpcode int32

Types of messages that you send and receive on a WebSocket connection.

const (
	Nw_ws_opcode_invalid WsOpcode = -1
	Nw_ws_opcode_cont    WsOpcode = 0
	Nw_ws_opcode_text    WsOpcode = 1
	Nw_ws_opcode_binary  WsOpcode = 2
	Nw_ws_opcode_close   WsOpcode = 8
	Nw_ws_opcode_ping    WsOpcode = 9
	Nw_ws_opcode_pong    WsOpcode = 10
)

func (WsOpcode) String added in v0.17.0

func (e WsOpcode) String() string

String returns the WsOpcode constant's name, or its numeric form when the value is not a known constant.

type WsResponseStatus added in v0.17.0

type WsResponseStatus int32

Status values that are sent with a WebSocket server response.

const (
	Nw_ws_response_status_invalid WsResponseStatus = 0
	Nw_ws_response_status_accept  WsResponseStatus = 1
	Nw_ws_response_status_reject  WsResponseStatus = 2
)

func (WsResponseStatus) String added in v0.17.0

func (e WsResponseStatus) String() string

String returns the WsResponseStatus constant's name, or its numeric form when the value is not a known constant.

type WsVersion added in v0.17.0

type WsVersion int32

Supported versions of the WebSocket protocol.

const (
	Nw_ws_version_invalid WsVersion = 0
	Nw_ws_version_13      WsVersion = 1
)

func (WsVersion) String added in v0.17.0

func (e WsVersion) String() string

String returns the WsVersion constant's name, or its numeric form when the value is not a known constant.

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL