network

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package network provides purego-based Go bindings for the macOS Network framework.

Apple documentation: https://developer.apple.com/documentation/network

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() uintptr

func KNWErrorDomainPOSIX

func KNWErrorDomainPOSIX() uintptr

func KNWErrorDomainTLS

func KNWErrorDomainTLS() uintptr

func KNWErrorDomainWiFiAware

func KNWErrorDomainWiFiAware() uintptr

func NwAdvertiseDescriptorCopyTxtRecordObject

func NwAdvertiseDescriptorCopyTxtRecordObject(advertise_descriptor *foundation.NSObject) unsafe.Pointer

C function: nw_advertise_descriptor_copy_txt_record_object

func NwAdvertiseDescriptorCreateApplicationService

func NwAdvertiseDescriptorCreateApplicationService(application_service_name string) unsafe.Pointer

C function: nw_advertise_descriptor_create_application_service

func NwAdvertiseDescriptorCreateBonjourService

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

C function: nw_advertise_descriptor_create_bonjour_service

func NwAdvertiseDescriptorGetApplicationServiceName

func NwAdvertiseDescriptorGetApplicationServiceName(advertise_descriptor *foundation.NSObject) string

C function: nw_advertise_descriptor_get_application_service_name

func NwAdvertiseDescriptorGetNoAutoRename

func NwAdvertiseDescriptorGetNoAutoRename(advertise_descriptor *foundation.NSObject) bool

C function: nw_advertise_descriptor_get_no_auto_rename

func NwAdvertiseDescriptorSetNoAutoRename

func NwAdvertiseDescriptorSetNoAutoRename(advertise_descriptor *foundation.NSObject, no_auto_rename bool)

C function: nw_advertise_descriptor_set_no_auto_rename

func NwAdvertiseDescriptorSetTxtRecord

func NwAdvertiseDescriptorSetTxtRecord(advertise_descriptor *foundation.NSObject, txt_record unsafe.Pointer, txt_length uint)

C function: nw_advertise_descriptor_set_txt_record

func NwAdvertiseDescriptorSetTxtRecordObject

func NwAdvertiseDescriptorSetTxtRecordObject(advertise_descriptor *foundation.NSObject, txt_record *foundation.NSObject)

C function: nw_advertise_descriptor_set_txt_record_object

func NwBrowseDescriptorCreateApplicationService

func NwBrowseDescriptorCreateApplicationService(application_service_name string) unsafe.Pointer

C function: nw_browse_descriptor_create_application_service

func NwBrowseDescriptorCreateBonjourService

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

C function: nw_browse_descriptor_create_bonjour_service

func NwBrowseDescriptorGetApplicationServiceName

func NwBrowseDescriptorGetApplicationServiceName(descriptor *foundation.NSObject) string

C function: nw_browse_descriptor_get_application_service_name

func NwBrowseDescriptorGetBonjourServiceDomain

func NwBrowseDescriptorGetBonjourServiceDomain(descriptor *foundation.NSObject) string

C function: nw_browse_descriptor_get_bonjour_service_domain

func NwBrowseDescriptorGetBonjourServiceType

func NwBrowseDescriptorGetBonjourServiceType(descriptor *foundation.NSObject) string

C function: nw_browse_descriptor_get_bonjour_service_type

func NwBrowseDescriptorGetIncludeTxtRecord

func NwBrowseDescriptorGetIncludeTxtRecord(descriptor *foundation.NSObject) bool

C function: nw_browse_descriptor_get_include_txt_record

func NwBrowseDescriptorSetIncludeTxtRecord

func NwBrowseDescriptorSetIncludeTxtRecord(descriptor *foundation.NSObject, include_txt_record bool)

C function: nw_browse_descriptor_set_include_txt_record

func NwBrowseResultCopyEndpoint

func NwBrowseResultCopyEndpoint(result *foundation.NSObject) unsafe.Pointer

C function: nw_browse_result_copy_endpoint

func NwBrowseResultCopyTxtRecordObject

func NwBrowseResultCopyTxtRecordObject(result *foundation.NSObject) unsafe.Pointer

C function: nw_browse_result_copy_txt_record_object

func NwBrowseResultEnumerateInterfaces

func NwBrowseResultEnumerateInterfaces(result *foundation.NSObject, enumerator func(*foundation.NSObject) bool)

C function: nw_browse_result_enumerate_interfaces

func NwBrowseResultGetChanges

func NwBrowseResultGetChanges(old_result *foundation.NSObject, new_result *foundation.NSObject) uint64

C function: nw_browse_result_get_changes

func NwBrowseResultGetInterfacesCount

func NwBrowseResultGetInterfacesCount(result *foundation.NSObject) uint

C function: nw_browse_result_get_interfaces_count

func NwBrowserCancel

func NwBrowserCancel(browser *foundation.NSObject)

C function: nw_browser_cancel

func NwBrowserCopyBrowseDescriptor

func NwBrowserCopyBrowseDescriptor(browser *foundation.NSObject) unsafe.Pointer

C function: nw_browser_copy_browse_descriptor

func NwBrowserCopyParameters

func NwBrowserCopyParameters(browser *foundation.NSObject) unsafe.Pointer

C function: nw_browser_copy_parameters

func NwBrowserCreate

func NwBrowserCreate(descriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_browser_create

func NwBrowserSetBrowseResultsChangedHandler

func NwBrowserSetBrowseResultsChangedHandler(browser *foundation.NSObject, handler func(*foundation.NSObject, *foundation.NSObject, bool))

C function: nw_browser_set_browse_results_changed_handler

func NwBrowserSetQueue

func NwBrowserSetQueue(browser *foundation.NSObject, queue *foundation.NSObject)

C function: nw_browser_set_queue

func NwBrowserSetStateChangedHandler

func NwBrowserSetStateChangedHandler(browser *foundation.NSObject, state_changed_handler func(avrouting.Nw_browser_state_t, *foundation.NSObject))

C function: nw_browser_set_state_changed_handler

func NwBrowserStart

func NwBrowserStart(browser *foundation.NSObject)

C function: nw_browser_start

func NwConnectionAccessEstablishmentReport

func NwConnectionAccessEstablishmentReport(connection *foundation.NSObject, queue *foundation.NSObject, access_block func(*foundation.NSObject))

C function: nw_connection_access_establishment_report

func NwConnectionBatch

func NwConnectionBatch(connection *foundation.NSObject, batch_block func())

C function: nw_connection_batch

func NwConnectionCancel

func NwConnectionCancel(connection *foundation.NSObject)

C function: nw_connection_cancel

func NwConnectionCancelCurrentEndpoint

func NwConnectionCancelCurrentEndpoint(connection *foundation.NSObject)

C function: nw_connection_cancel_current_endpoint

func NwConnectionCopyCurrentPath

func NwConnectionCopyCurrentPath(connection *foundation.NSObject) unsafe.Pointer

C function: nw_connection_copy_current_path

func NwConnectionCopyDescription

func NwConnectionCopyDescription(connection *foundation.NSObject) string

C function: nw_connection_copy_description

func NwConnectionCopyEndpoint

func NwConnectionCopyEndpoint(connection *foundation.NSObject) unsafe.Pointer

C function: nw_connection_copy_endpoint

func NwConnectionCopyParameters

func NwConnectionCopyParameters(connection *foundation.NSObject) unsafe.Pointer

C function: nw_connection_copy_parameters

func NwConnectionCopyProtocolMetadata

func NwConnectionCopyProtocolMetadata(connection *foundation.NSObject, definition *foundation.NSObject) unsafe.Pointer

C function: nw_connection_copy_protocol_metadata

func NwConnectionCreate

func NwConnectionCreate(endpoint *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_connection_create

func NwConnectionCreateNewDataTransferReport

func NwConnectionCreateNewDataTransferReport(connection *foundation.NSObject) unsafe.Pointer

C function: nw_connection_create_new_data_transfer_report

func NwConnectionForceCancel

func NwConnectionForceCancel(connection *foundation.NSObject)

C function: nw_connection_force_cancel

func NwConnectionGetMaximumDatagramSize

func NwConnectionGetMaximumDatagramSize(connection *foundation.NSObject) uint32

C function: nw_connection_get_maximum_datagram_size

func NwConnectionGroupCancel

func NwConnectionGroupCancel(group *foundation.NSObject)

C function: nw_connection_group_cancel

func NwConnectionGroupCopyDescriptor

func NwConnectionGroupCopyDescriptor(group *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_copy_descriptor

func NwConnectionGroupCopyLocalEndpointForMessage

func NwConnectionGroupCopyLocalEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_copy_local_endpoint_for_message

func NwConnectionGroupCopyParameters

func NwConnectionGroupCopyParameters(group *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_copy_parameters

func NwConnectionGroupCopyPathForMessage

func NwConnectionGroupCopyPathForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_copy_path_for_message

func NwConnectionGroupCopyProtocolMetadata

func NwConnectionGroupCopyProtocolMetadata(group *foundation.NSObject, definition *foundation.NSObject) *foundation.NSObject

C function: nw_connection_group_copy_protocol_metadata

func NwConnectionGroupCopyProtocolMetadataForMessage

func NwConnectionGroupCopyProtocolMetadataForMessage(group *foundation.NSObject, context_ *foundation.NSObject, definition *foundation.NSObject) *foundation.NSObject

C function: nw_connection_group_copy_protocol_metadata_for_message

func NwConnectionGroupCopyRemoteEndpointForMessage

func NwConnectionGroupCopyRemoteEndpointForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_copy_remote_endpoint_for_message

func NwConnectionGroupCreate

func NwConnectionGroupCreate(group_descriptor *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_create

func NwConnectionGroupExtractConnection

func NwConnectionGroupExtractConnection(group *foundation.NSObject, endpoint *foundation.NSObject, protocol_options *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_extract_connection

func NwConnectionGroupExtractConnectionForMessage

func NwConnectionGroupExtractConnectionForMessage(group *foundation.NSObject, context_ *foundation.NSObject) unsafe.Pointer

C function: nw_connection_group_extract_connection_for_message

func NwConnectionGroupReinsertExtractedConnection

func NwConnectionGroupReinsertExtractedConnection(group *foundation.NSObject, connection *foundation.NSObject) bool

C function: nw_connection_group_reinsert_extracted_connection

func NwConnectionGroupReply

func NwConnectionGroupReply(group *foundation.NSObject, inbound_message *foundation.NSObject, outbound_message *foundation.NSObject, content *foundation.NSObject)

C function: nw_connection_group_reply

func NwConnectionGroupSendMessage

func NwConnectionGroupSendMessage(group *foundation.NSObject, content *foundation.NSObject, endpoint *foundation.NSObject, context_ *foundation.NSObject, completion func(*foundation.NSObject))

C function: nw_connection_group_send_message

func NwConnectionGroupSetNewConnectionHandler

func NwConnectionGroupSetNewConnectionHandler(group *foundation.NSObject, new_connection_handler func(*foundation.NSObject))

C function: nw_connection_group_set_new_connection_handler

func NwConnectionGroupSetQueue

func NwConnectionGroupSetQueue(group *foundation.NSObject, queue *foundation.NSObject)

C function: nw_connection_group_set_queue

func NwConnectionGroupSetReceiveHandler

func NwConnectionGroupSetReceiveHandler(group *foundation.NSObject, maximum_message_size uint32, reject_oversized_messages bool, receive_handler func(*foundation.NSObject, *foundation.NSObject, bool))

C function: nw_connection_group_set_receive_handler

func NwConnectionGroupSetStateChangedHandler

func NwConnectionGroupSetStateChangedHandler(group *foundation.NSObject, state_changed_handler func(avrouting.Nw_connection_group_state_t, *foundation.NSObject))

C function: nw_connection_group_set_state_changed_handler

func NwConnectionGroupStart

func NwConnectionGroupStart(group *foundation.NSObject)

C function: nw_connection_group_start

func NwConnectionReceive

func NwConnectionReceive(connection *foundation.NSObject, minimum_incomplete_length uint32, maximum_length uint32, completion func(*foundation.NSObject, *foundation.NSObject, bool, *foundation.NSObject))

C function: nw_connection_receive

func NwConnectionReceiveMessage

func NwConnectionReceiveMessage(connection *foundation.NSObject, completion func(*foundation.NSObject, *foundation.NSObject, bool, *foundation.NSObject))

C function: nw_connection_receive_message

func NwConnectionRestart

func NwConnectionRestart(connection *foundation.NSObject)

C function: nw_connection_restart

func NwConnectionSend

func NwConnectionSend(connection *foundation.NSObject, content *foundation.NSObject, context_ *foundation.NSObject, is_complete bool, completion func(*foundation.NSObject))

C function: nw_connection_send

func NwConnectionSetBetterPathAvailableHandler

func NwConnectionSetBetterPathAvailableHandler(connection *foundation.NSObject, handler func(bool))

C function: nw_connection_set_better_path_available_handler

func NwConnectionSetPathChangedHandler

func NwConnectionSetPathChangedHandler(connection *foundation.NSObject, handler func(*foundation.NSObject))

C function: nw_connection_set_path_changed_handler

func NwConnectionSetQueue

func NwConnectionSetQueue(connection *foundation.NSObject, queue *foundation.NSObject)

C function: nw_connection_set_queue

func NwConnectionSetStateChangedHandler

func NwConnectionSetStateChangedHandler(connection *foundation.NSObject, handler func(avrouting.Nw_connection_state_t, *foundation.NSObject))

C function: nw_connection_set_state_changed_handler

func NwConnectionSetViabilityChangedHandler

func NwConnectionSetViabilityChangedHandler(connection *foundation.NSObject, handler func(bool))

C function: nw_connection_set_viability_changed_handler

func NwConnectionStart

func NwConnectionStart(connection *foundation.NSObject)

C function: nw_connection_start

func NwContentContextCopyAntecedent

func NwContentContextCopyAntecedent(context_ *foundation.NSObject) unsafe.Pointer

C function: nw_content_context_copy_antecedent

func NwContentContextCopyProtocolMetadata

func NwContentContextCopyProtocolMetadata(context_ *foundation.NSObject, protocol *foundation.NSObject) unsafe.Pointer

C function: nw_content_context_copy_protocol_metadata

func NwContentContextCreate

func NwContentContextCreate(context_identifier string) unsafe.Pointer

C function: nw_content_context_create

func NwContentContextForeachProtocolMetadata

func NwContentContextForeachProtocolMetadata(context_ *foundation.NSObject, foreach_block func(*foundation.NSObject, *foundation.NSObject))

C function: nw_content_context_foreach_protocol_metadata

func NwContentContextGetExpirationMilliseconds

func NwContentContextGetExpirationMilliseconds(context_ *foundation.NSObject) uint64

C function: nw_content_context_get_expiration_milliseconds

func NwContentContextGetIdentifier

func NwContentContextGetIdentifier(context_ *foundation.NSObject) string

C function: nw_content_context_get_identifier

func NwContentContextGetIsFinal

func NwContentContextGetIsFinal(context_ *foundation.NSObject) bool

C function: nw_content_context_get_is_final

func NwContentContextGetRelativePriority

func NwContentContextGetRelativePriority(context_ *foundation.NSObject) float64

C function: nw_content_context_get_relative_priority

func NwContentContextSetAntecedent

func NwContentContextSetAntecedent(context_ *foundation.NSObject, antecedent_context *foundation.NSObject)

C function: nw_content_context_set_antecedent

func NwContentContextSetExpirationMilliseconds

func NwContentContextSetExpirationMilliseconds(context_ *foundation.NSObject, expiration_milliseconds uint64)

C function: nw_content_context_set_expiration_milliseconds

func NwContentContextSetIsFinal

func NwContentContextSetIsFinal(context_ *foundation.NSObject, is_final bool)

C function: nw_content_context_set_is_final

func NwContentContextSetMetadataForProtocol

func NwContentContextSetMetadataForProtocol(context_ *foundation.NSObject, protocol_metadata *foundation.NSObject)

C function: nw_content_context_set_metadata_for_protocol

func NwContentContextSetRelativePriority

func NwContentContextSetRelativePriority(context_ *foundation.NSObject, relative_priority float64)

C function: nw_content_context_set_relative_priority

func NwDataTransferReportCollect

func NwDataTransferReportCollect(report *foundation.NSObject, queue *foundation.NSObject, collect_block func(*foundation.NSObject))

C function: nw_data_transfer_report_collect

func NwDataTransferReportCopyPathInterface

func NwDataTransferReportCopyPathInterface(report *foundation.NSObject, path_index uint32) unsafe.Pointer

C function: nw_data_transfer_report_copy_path_interface

func NwDataTransferReportGetDurationMilliseconds

func NwDataTransferReportGetDurationMilliseconds(report *foundation.NSObject) uint64

C function: nw_data_transfer_report_get_duration_milliseconds

func NwDataTransferReportGetPathCount

func NwDataTransferReportGetPathCount(report *foundation.NSObject) uint32

C function: nw_data_transfer_report_get_path_count

func NwDataTransferReportGetPathRadioType

func NwDataTransferReportGetPathRadioType(report *foundation.NSObject, path_index uint32) avrouting.Nw_interface_radio_type_t

C function: nw_data_transfer_report_get_path_radio_type

func NwDataTransferReportGetReceivedApplicationByteCount

func NwDataTransferReportGetReceivedApplicationByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_received_application_byte_count

func NwDataTransferReportGetReceivedIpPacketCount

func NwDataTransferReportGetReceivedIpPacketCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_received_ip_packet_count

func NwDataTransferReportGetReceivedTransportByteCount

func NwDataTransferReportGetReceivedTransportByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_received_transport_byte_count

func NwDataTransferReportGetReceivedTransportDuplicateByteCount

func NwDataTransferReportGetReceivedTransportDuplicateByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_received_transport_duplicate_byte_count

func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount

func NwDataTransferReportGetReceivedTransportOutOfOrderByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_received_transport_out_of_order_byte_count

func NwDataTransferReportGetSentApplicationByteCount

func NwDataTransferReportGetSentApplicationByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_sent_application_byte_count

func NwDataTransferReportGetSentIpPacketCount

func NwDataTransferReportGetSentIpPacketCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_sent_ip_packet_count

func NwDataTransferReportGetSentTransportByteCount

func NwDataTransferReportGetSentTransportByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_sent_transport_byte_count

func NwDataTransferReportGetSentTransportRetransmittedByteCount

func NwDataTransferReportGetSentTransportRetransmittedByteCount(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_sent_transport_retransmitted_byte_count

func NwDataTransferReportGetState

func NwDataTransferReportGetState(report *foundation.NSObject) avrouting.Nw_data_transfer_report_state_t

C function: nw_data_transfer_report_get_state

func NwDataTransferReportGetTransportMinimumRttMilliseconds

func NwDataTransferReportGetTransportMinimumRttMilliseconds(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_transport_minimum_rtt_milliseconds

func NwDataTransferReportGetTransportRttVariance

func NwDataTransferReportGetTransportRttVariance(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_transport_rtt_variance

func NwDataTransferReportGetTransportSmoothedRttMilliseconds

func NwDataTransferReportGetTransportSmoothedRttMilliseconds(report *foundation.NSObject, path_index uint32) uint64

C function: nw_data_transfer_report_get_transport_smoothed_rtt_milliseconds

func NwEndpointCopyAddressString

func NwEndpointCopyAddressString(endpoint *foundation.NSObject) string

C function: nw_endpoint_copy_address_string

func NwEndpointCopyPortString

func NwEndpointCopyPortString(endpoint *foundation.NSObject) string

C function: nw_endpoint_copy_port_string

func NwEndpointCopyTxtRecord

func NwEndpointCopyTxtRecord(endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_endpoint_copy_txt_record

func NwEndpointCreateAddress

func NwEndpointCreateAddress(address unsafe.Pointer) unsafe.Pointer

C function: nw_endpoint_create_address

func NwEndpointCreateBonjourService

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

C function: nw_endpoint_create_bonjour_service

func NwEndpointCreateHost

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

C function: nw_endpoint_create_host

func NwEndpointCreateUrl

func NwEndpointCreateUrl(url string) unsafe.Pointer

C function: nw_endpoint_create_url

func NwEndpointGetAddress

func NwEndpointGetAddress(endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_endpoint_get_address

func NwEndpointGetBonjourServiceDomain

func NwEndpointGetBonjourServiceDomain(endpoint *foundation.NSObject) string

C function: nw_endpoint_get_bonjour_service_domain

func NwEndpointGetBonjourServiceName

func NwEndpointGetBonjourServiceName(endpoint *foundation.NSObject) string

C function: nw_endpoint_get_bonjour_service_name

func NwEndpointGetBonjourServiceType

func NwEndpointGetBonjourServiceType(endpoint *foundation.NSObject) string

C function: nw_endpoint_get_bonjour_service_type

func NwEndpointGetHostname

func NwEndpointGetHostname(endpoint *foundation.NSObject) string

C function: nw_endpoint_get_hostname

func NwEndpointGetPort

func NwEndpointGetPort(endpoint *foundation.NSObject) uint16

C function: nw_endpoint_get_port

func NwEndpointGetSignature

func NwEndpointGetSignature(endpoint *foundation.NSObject, out_signature_length *uint) unsafe.Pointer

C function: nw_endpoint_get_signature

func NwEndpointGetType

func NwEndpointGetType(endpoint *foundation.NSObject) avrouting.Nw_endpoint_type_t

C function: nw_endpoint_get_type

func NwEndpointGetUrl

func NwEndpointGetUrl(endpoint *foundation.NSObject) string

C function: nw_endpoint_get_url

func NwErrorCopyCfError

func NwErrorCopyCfError(error_ *foundation.NSObject) unsafe.Pointer

C function: nw_error_copy_cf_error

func NwErrorGetErrorCode

func NwErrorGetErrorCode(error_ *foundation.NSObject) int

C function: nw_error_get_error_code

func NwErrorGetErrorDomain

func NwErrorGetErrorDomain(error_ *foundation.NSObject) avrouting.Nw_error_domain_t

C function: nw_error_get_error_domain

func NwEstablishmentReportCopyProxyEndpoint

func NwEstablishmentReportCopyProxyEndpoint(report *foundation.NSObject) unsafe.Pointer

C function: nw_establishment_report_copy_proxy_endpoint

func NwEstablishmentReportEnumerateProtocols

func NwEstablishmentReportEnumerateProtocols(report *foundation.NSObject, enumerate_block func(*foundation.NSObject, uint64, uint64) bool)

C function: nw_establishment_report_enumerate_protocols

func NwEstablishmentReportEnumerateResolutionReports

func NwEstablishmentReportEnumerateResolutionReports(report *foundation.NSObject, enumerate_block func(*foundation.NSObject) bool)

C function: nw_establishment_report_enumerate_resolution_reports

func NwEstablishmentReportEnumerateResolutions

func NwEstablishmentReportEnumerateResolutions(report *foundation.NSObject, enumerate_block func(avrouting.Nw_report_resolution_source_t, uint64, uint32, *foundation.NSObject, *foundation.NSObject) bool)

C function: nw_establishment_report_enumerate_resolutions

func NwEstablishmentReportGetAttemptStartedAfterMilliseconds

func NwEstablishmentReportGetAttemptStartedAfterMilliseconds(report *foundation.NSObject) uint64

C function: nw_establishment_report_get_attempt_started_after_milliseconds

func NwEstablishmentReportGetDurationMilliseconds

func NwEstablishmentReportGetDurationMilliseconds(report *foundation.NSObject) uint64

C function: nw_establishment_report_get_duration_milliseconds

func NwEstablishmentReportGetPreviousAttemptCount

func NwEstablishmentReportGetPreviousAttemptCount(report *foundation.NSObject) uint32

C function: nw_establishment_report_get_previous_attempt_count

func NwEstablishmentReportGetProxyConfigured

func NwEstablishmentReportGetProxyConfigured(report *foundation.NSObject) bool

C function: nw_establishment_report_get_proxy_configured

func NwEstablishmentReportGetUsedProxy

func NwEstablishmentReportGetUsedProxy(report *foundation.NSObject) bool

C function: nw_establishment_report_get_used_proxy

func NwEthernetChannelCancel

func NwEthernetChannelCancel(ethernet_channel *foundation.NSObject)

C function: nw_ethernet_channel_cancel

func NwEthernetChannelCreate

func NwEthernetChannelCreate(ether_type uint16, interface_ *foundation.NSObject) unsafe.Pointer

C function: nw_ethernet_channel_create

func NwEthernetChannelCreateWithParameters

func NwEthernetChannelCreateWithParameters(ether_type uint16, interface_ *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_ethernet_channel_create_with_parameters

func NwEthernetChannelGetMaximumPayloadSize

func NwEthernetChannelGetMaximumPayloadSize(ethernet_channel *foundation.NSObject) uint32

C function: nw_ethernet_channel_get_maximum_payload_size

func NwEthernetChannelSend

func NwEthernetChannelSend(ethernet_channel *foundation.NSObject, content *foundation.NSObject, vlan_tag uint16, remote_address *uint8, completion func(*foundation.NSObject))

C function: nw_ethernet_channel_send

func NwEthernetChannelSetQueue

func NwEthernetChannelSetQueue(ethernet_channel *foundation.NSObject, queue *foundation.NSObject)

C function: nw_ethernet_channel_set_queue

func NwEthernetChannelSetReceiveHandler

func NwEthernetChannelSetReceiveHandler(ethernet_channel *foundation.NSObject, handler func(*foundation.NSObject, uint16, *uint8, *uint8))

C function: nw_ethernet_channel_set_receive_handler

func NwEthernetChannelSetStateChangedHandler

func NwEthernetChannelSetStateChangedHandler(ethernet_channel *foundation.NSObject, handler func(avrouting.Nw_ethernet_channel_state_t, *foundation.NSObject))

C function: nw_ethernet_channel_set_state_changed_handler

func NwEthernetChannelStart

func NwEthernetChannelStart(ethernet_channel *foundation.NSObject)

C function: nw_ethernet_channel_start

func NwFramerAsync

func NwFramerAsync(framer *foundation.NSObject, async_block func())

C function: nw_framer_async

func NwFramerCopyLocalEndpoint

func NwFramerCopyLocalEndpoint(framer *foundation.NSObject) unsafe.Pointer

C function: nw_framer_copy_local_endpoint

func NwFramerCopyOptions

func NwFramerCopyOptions(framer *foundation.NSObject) unsafe.Pointer

C function: nw_framer_copy_options

func NwFramerCopyParameters

func NwFramerCopyParameters(framer *foundation.NSObject) unsafe.Pointer

C function: nw_framer_copy_parameters

func NwFramerCopyRemoteEndpoint

func NwFramerCopyRemoteEndpoint(framer *foundation.NSObject) unsafe.Pointer

C function: nw_framer_copy_remote_endpoint

func NwFramerCreateDefinition

func NwFramerCreateDefinition(identifier string, flags uint32, start_handler func(*foundation.NSObject) avrouting.Nw_framer_start_result_t) unsafe.Pointer

C function: nw_framer_create_definition

func NwFramerCreateOptions

func NwFramerCreateOptions(framer_definition *foundation.NSObject) unsafe.Pointer

C function: nw_framer_create_options

func NwFramerDeliverInput

func NwFramerDeliverInput(framer *foundation.NSObject, input_buffer *uint8, input_length uint, message *foundation.NSObject, is_complete bool)

C function: nw_framer_deliver_input

func NwFramerDeliverInputNoCopy

func NwFramerDeliverInputNoCopy(framer *foundation.NSObject, input_length uint, message *foundation.NSObject, is_complete bool) bool

C function: nw_framer_deliver_input_no_copy

func NwFramerMarkFailedWithError

func NwFramerMarkFailedWithError(framer *foundation.NSObject, error_code int)

C function: nw_framer_mark_failed_with_error

func NwFramerMarkReady

func NwFramerMarkReady(framer *foundation.NSObject)

C function: nw_framer_mark_ready

func NwFramerMessageAccessValue

func NwFramerMessageAccessValue(message *foundation.NSObject, key string, access_value func(unsafe.Pointer) bool) bool

C function: nw_framer_message_access_value

func NwFramerMessageCopyObjectValue

func NwFramerMessageCopyObjectValue(message *foundation.NSObject, key string) unsafe.Pointer

C function: nw_framer_message_copy_object_value

func NwFramerMessageCreate

func NwFramerMessageCreate(framer *foundation.NSObject) unsafe.Pointer

C function: nw_framer_message_create

func NwFramerMessageSetObjectValue

func NwFramerMessageSetObjectValue(message *foundation.NSObject, key string, value objc.ID)

C function: nw_framer_message_set_object_value

func NwFramerMessageSetValue

func NwFramerMessageSetValue(message *foundation.NSObject, key string, value unsafe.Pointer, dispose_value func(unsafe.Pointer))

C function: nw_framer_message_set_value

func NwFramerOptionsCopyObjectValue

func NwFramerOptionsCopyObjectValue(options *foundation.NSObject, key string) unsafe.Pointer

C function: nw_framer_options_copy_object_value

func NwFramerOptionsSetObjectValue

func NwFramerOptionsSetObjectValue(options *foundation.NSObject, key string, value objc.ID)

C function: nw_framer_options_set_object_value

func NwFramerParseInput

func NwFramerParseInput(framer *foundation.NSObject, minimum_incomplete_length uint, maximum_length uint, temp_buffer *uint8, parse func(*uint8, uint, bool) uint) bool

C function: nw_framer_parse_input

func NwFramerParseOutput

func NwFramerParseOutput(framer *foundation.NSObject, minimum_incomplete_length uint, maximum_length uint, temp_buffer *uint8, parse func(*uint8, uint, bool) uint) bool

C function: nw_framer_parse_output

func NwFramerPassThroughInput

func NwFramerPassThroughInput(framer *foundation.NSObject)

C function: nw_framer_pass_through_input

func NwFramerPassThroughOutput

func NwFramerPassThroughOutput(framer *foundation.NSObject)

C function: nw_framer_pass_through_output

func NwFramerPrependApplicationProtocol

func NwFramerPrependApplicationProtocol(framer *foundation.NSObject, protocol_options *foundation.NSObject) bool

C function: nw_framer_prepend_application_protocol

func NwFramerProtocolCreateMessage

func NwFramerProtocolCreateMessage(definition *foundation.NSObject) unsafe.Pointer

C function: nw_framer_protocol_create_message

func NwFramerScheduleWakeup

func NwFramerScheduleWakeup(framer *foundation.NSObject, milliseconds uint64)

C function: nw_framer_schedule_wakeup

func NwFramerSetCleanupHandler

func NwFramerSetCleanupHandler(framer *foundation.NSObject, cleanup_handler func(*foundation.NSObject))

C function: nw_framer_set_cleanup_handler

func NwFramerSetInputHandler

func NwFramerSetInputHandler(framer *foundation.NSObject, input_handler func(*foundation.NSObject) uint)

C function: nw_framer_set_input_handler

func NwFramerSetOutputHandler

func NwFramerSetOutputHandler(framer *foundation.NSObject, output_handler func(*foundation.NSObject, *foundation.NSObject, uint, bool))

C function: nw_framer_set_output_handler

func NwFramerSetStopHandler

func NwFramerSetStopHandler(framer *foundation.NSObject, stop_handler func(*foundation.NSObject) bool)

C function: nw_framer_set_stop_handler

func NwFramerSetWakeupHandler

func NwFramerSetWakeupHandler(framer *foundation.NSObject, wakeup_handler func(*foundation.NSObject))

C function: nw_framer_set_wakeup_handler

func NwFramerWriteOutput

func NwFramerWriteOutput(framer *foundation.NSObject, output_buffer *uint8, output_length uint)

C function: nw_framer_write_output

func NwFramerWriteOutputData

func NwFramerWriteOutputData(framer *foundation.NSObject, output_data *foundation.NSObject)

C function: nw_framer_write_output_data

func NwFramerWriteOutputNoCopy

func NwFramerWriteOutputNoCopy(framer *foundation.NSObject, output_length uint) bool

C function: nw_framer_write_output_no_copy

func NwGroupDescriptorAddEndpoint

func NwGroupDescriptorAddEndpoint(descriptor *foundation.NSObject, endpoint *foundation.NSObject) bool

C function: nw_group_descriptor_add_endpoint

func NwGroupDescriptorCreateMulticast

func NwGroupDescriptorCreateMulticast(multicast_group *foundation.NSObject) unsafe.Pointer

C function: nw_group_descriptor_create_multicast

func NwGroupDescriptorCreateMultiplex

func NwGroupDescriptorCreateMultiplex(remote_endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_group_descriptor_create_multiplex

func NwGroupDescriptorEnumerateEndpoints

func NwGroupDescriptorEnumerateEndpoints(descriptor *foundation.NSObject, enumerate_block func(*foundation.NSObject) bool)

C function: nw_group_descriptor_enumerate_endpoints

func NwInterfaceGetIndex

func NwInterfaceGetIndex(interface_ *foundation.NSObject) uint32

C function: nw_interface_get_index

func NwInterfaceGetName

func NwInterfaceGetName(interface_ *foundation.NSObject) string

C function: nw_interface_get_name

func NwInterfaceGetType

func NwInterfaceGetType(interface_ *foundation.NSObject) avrouting.Nw_interface_type_t

C function: nw_interface_get_type

func NwIpCreateMetadata

func NwIpCreateMetadata() unsafe.Pointer

C function: nw_ip_create_metadata

func NwIpMetadataGetEcnFlag

func NwIpMetadataGetEcnFlag(metadata *foundation.NSObject) avrouting.Nw_ip_ecn_flag_t

C function: nw_ip_metadata_get_ecn_flag

func NwIpMetadataGetReceiveTime

func NwIpMetadataGetReceiveTime(metadata *foundation.NSObject) uint64

C function: nw_ip_metadata_get_receive_time

func NwIpMetadataGetServiceClass

func NwIpMetadataGetServiceClass(metadata *foundation.NSObject) avrouting.Nw_service_class_t

C function: nw_ip_metadata_get_service_class

func NwIpMetadataSetEcnFlag

func NwIpMetadataSetEcnFlag(metadata *foundation.NSObject, ecn_flag avrouting.Nw_ip_ecn_flag_t)

C function: nw_ip_metadata_set_ecn_flag

func NwIpMetadataSetServiceClass

func NwIpMetadataSetServiceClass(metadata *foundation.NSObject, service_class avrouting.Nw_service_class_t)

C function: nw_ip_metadata_set_service_class

func NwIpOptionsSetCalculateReceiveTime

func NwIpOptionsSetCalculateReceiveTime(options *foundation.NSObject, calculate_receive_time bool)

C function: nw_ip_options_set_calculate_receive_time

func NwIpOptionsSetDisableFragmentation

func NwIpOptionsSetDisableFragmentation(options *foundation.NSObject, disable_fragmentation bool)

C function: nw_ip_options_set_disable_fragmentation

func NwIpOptionsSetDisableMulticastLoopback

func NwIpOptionsSetDisableMulticastLoopback(options *foundation.NSObject, disable_multicast_loopback bool)

C function: nw_ip_options_set_disable_multicast_loopback

func NwIpOptionsSetHopLimit

func NwIpOptionsSetHopLimit(options *foundation.NSObject, hop_limit uint8)

C function: nw_ip_options_set_hop_limit

func NwIpOptionsSetLocalAddressPreference

func NwIpOptionsSetLocalAddressPreference(options *foundation.NSObject, preference avrouting.Nw_ip_local_address_preference_t)

C function: nw_ip_options_set_local_address_preference

func NwIpOptionsSetUseMinimumMtu

func NwIpOptionsSetUseMinimumMtu(options *foundation.NSObject, use_minimum_mtu bool)

C function: nw_ip_options_set_use_minimum_mtu

func NwIpOptionsSetVersion

func NwIpOptionsSetVersion(options *foundation.NSObject, version avrouting.Nw_ip_version_t)

C function: nw_ip_options_set_version

func NwListenerCancel

func NwListenerCancel(listener *foundation.NSObject)

C function: nw_listener_cancel

func NwListenerCreate

func NwListenerCreate(parameters *foundation.NSObject) unsafe.Pointer

C function: nw_listener_create

func NwListenerCreateWithConnection

func NwListenerCreateWithConnection(connection *foundation.NSObject, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_listener_create_with_connection

func NwListenerCreateWithLaunchdKey

func NwListenerCreateWithLaunchdKey(parameters *foundation.NSObject, launchd_key string) unsafe.Pointer

C function: nw_listener_create_with_launchd_key

func NwListenerCreateWithPort

func NwListenerCreateWithPort(port string, parameters *foundation.NSObject) unsafe.Pointer

C function: nw_listener_create_with_port

func NwListenerGetNewConnectionLimit

func NwListenerGetNewConnectionLimit(listener *foundation.NSObject) uint32

C function: nw_listener_get_new_connection_limit

func NwListenerGetPort

func NwListenerGetPort(listener *foundation.NSObject) uint16

C function: nw_listener_get_port

func NwListenerSetAdvertiseDescriptor

func NwListenerSetAdvertiseDescriptor(listener *foundation.NSObject, advertise_descriptor *foundation.NSObject)

C function: nw_listener_set_advertise_descriptor

func NwListenerSetAdvertisedEndpointChangedHandler

func NwListenerSetAdvertisedEndpointChangedHandler(listener *foundation.NSObject, handler func(*foundation.NSObject, bool))

C function: nw_listener_set_advertised_endpoint_changed_handler

func NwListenerSetNewConnectionGroupHandler

func NwListenerSetNewConnectionGroupHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))

C function: nw_listener_set_new_connection_group_handler

func NwListenerSetNewConnectionHandler

func NwListenerSetNewConnectionHandler(listener *foundation.NSObject, handler func(*foundation.NSObject))

C function: nw_listener_set_new_connection_handler

func NwListenerSetNewConnectionLimit

func NwListenerSetNewConnectionLimit(listener *foundation.NSObject, new_connection_limit uint32)

C function: nw_listener_set_new_connection_limit

func NwListenerSetQueue

func NwListenerSetQueue(listener *foundation.NSObject, queue *foundation.NSObject)

C function: nw_listener_set_queue

func NwListenerSetStateChangedHandler

func NwListenerSetStateChangedHandler(listener *foundation.NSObject, handler func(avrouting.Nw_listener_state_t, *foundation.NSObject))

C function: nw_listener_set_state_changed_handler

func NwListenerStart

func NwListenerStart(listener *foundation.NSObject)

C function: nw_listener_start

func NwMulticastGroupDescriptorGetDisableUnicastTraffic

func NwMulticastGroupDescriptorGetDisableUnicastTraffic(multicast_descriptor *foundation.NSObject) bool

C function: nw_multicast_group_descriptor_get_disable_unicast_traffic

func NwMulticastGroupDescriptorSetDisableUnicastTraffic

func NwMulticastGroupDescriptorSetDisableUnicastTraffic(multicast_descriptor *foundation.NSObject, disable_unicast_traffic bool)

C function: nw_multicast_group_descriptor_set_disable_unicast_traffic

func NwMulticastGroupDescriptorSetSpecificSource

func NwMulticastGroupDescriptorSetSpecificSource(multicast_descriptor *foundation.NSObject, source *foundation.NSObject)

C function: nw_multicast_group_descriptor_set_specific_source

func NwParametersClearProhibitedInterfaceTypes

func NwParametersClearProhibitedInterfaceTypes(parameters *foundation.NSObject)

C function: nw_parameters_clear_prohibited_interface_types

func NwParametersClearProhibitedInterfaces

func NwParametersClearProhibitedInterfaces(parameters *foundation.NSObject)

C function: nw_parameters_clear_prohibited_interfaces

func NwParametersCopy

func NwParametersCopy(parameters *foundation.NSObject) unsafe.Pointer

C function: nw_parameters_copy

func NwParametersCopyDefaultProtocolStack

func NwParametersCopyDefaultProtocolStack(parameters *foundation.NSObject) unsafe.Pointer

C function: nw_parameters_copy_default_protocol_stack

func NwParametersCopyLocalEndpoint

func NwParametersCopyLocalEndpoint(parameters *foundation.NSObject) unsafe.Pointer

C function: nw_parameters_copy_local_endpoint

func NwParametersCopyRequiredInterface

func NwParametersCopyRequiredInterface(parameters *foundation.NSObject) unsafe.Pointer

C function: nw_parameters_copy_required_interface

func NwParametersCreate

func NwParametersCreate() unsafe.Pointer

C function: nw_parameters_create

func NwParametersCreateApplicationService

func NwParametersCreateApplicationService() unsafe.Pointer

C function: nw_parameters_create_application_service

func NwParametersCreateCustomIp

func NwParametersCreateCustomIp(custom_ip_protocol_number uint8, configure_ip func(*foundation.NSObject)) unsafe.Pointer

C function: nw_parameters_create_custom_ip

func NwParametersCreateQuic

func NwParametersCreateQuic(configure_quic func(*foundation.NSObject)) unsafe.Pointer

C function: nw_parameters_create_quic

func NwParametersCreateSecureTcp

func NwParametersCreateSecureTcp(configure_tls func(*foundation.NSObject), configure_tcp func(*foundation.NSObject)) unsafe.Pointer

C function: nw_parameters_create_secure_tcp

func NwParametersCreateSecureUdp

func NwParametersCreateSecureUdp(configure_dtls func(*foundation.NSObject), configure_udp func(*foundation.NSObject)) unsafe.Pointer

C function: nw_parameters_create_secure_udp

func NwParametersGetAllowUltraConstrained

func NwParametersGetAllowUltraConstrained(parameters *foundation.NSObject) bool

C function: nw_parameters_get_allow_ultra_constrained

func NwParametersGetExpiredDnsBehavior

func NwParametersGetExpiredDnsBehavior(parameters *foundation.NSObject) avrouting.Nw_parameters_expired_dns_behavior_t

C function: nw_parameters_get_expired_dns_behavior

func NwParametersGetFastOpenEnabled

func NwParametersGetFastOpenEnabled(parameters *foundation.NSObject) bool

C function: nw_parameters_get_fast_open_enabled

func NwParametersGetIncludePeerToPeer

func NwParametersGetIncludePeerToPeer(parameters *foundation.NSObject) bool

C function: nw_parameters_get_include_peer_to_peer

func NwParametersGetLocalOnly

func NwParametersGetLocalOnly(parameters *foundation.NSObject) bool

C function: nw_parameters_get_local_only

func NwParametersGetMultipathService

func NwParametersGetMultipathService(parameters *foundation.NSObject) avrouting.Nw_multipath_service_t

C function: nw_parameters_get_multipath_service

func NwParametersGetPreferNoProxy

func NwParametersGetPreferNoProxy(parameters *foundation.NSObject) bool

C function: nw_parameters_get_prefer_no_proxy

func NwParametersGetProhibitConstrained

func NwParametersGetProhibitConstrained(parameters *foundation.NSObject) bool

C function: nw_parameters_get_prohibit_constrained

func NwParametersGetProhibitExpensive

func NwParametersGetProhibitExpensive(parameters *foundation.NSObject) bool

C function: nw_parameters_get_prohibit_expensive

func NwParametersGetRequiredInterfaceType

func NwParametersGetRequiredInterfaceType(parameters *foundation.NSObject) avrouting.Nw_interface_type_t

C function: nw_parameters_get_required_interface_type

func NwParametersGetReuseLocalAddress

func NwParametersGetReuseLocalAddress(parameters *foundation.NSObject) bool

C function: nw_parameters_get_reuse_local_address

func NwParametersGetServiceClass

func NwParametersGetServiceClass(parameters *foundation.NSObject) avrouting.Nw_service_class_t

C function: nw_parameters_get_service_class

func NwParametersIterateProhibitedInterfaceTypes

func NwParametersIterateProhibitedInterfaceTypes(parameters *foundation.NSObject, iterate_block func(avrouting.Nw_interface_type_t) bool)

C function: nw_parameters_iterate_prohibited_interface_types

func NwParametersIterateProhibitedInterfaces

func NwParametersIterateProhibitedInterfaces(parameters *foundation.NSObject, iterate_block func(*foundation.NSObject) bool)

C function: nw_parameters_iterate_prohibited_interfaces

func NwParametersProhibitInterface

func NwParametersProhibitInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)

C function: nw_parameters_prohibit_interface

func NwParametersProhibitInterfaceType

func NwParametersProhibitInterfaceType(parameters *foundation.NSObject, interface_type avrouting.Nw_interface_type_t)

C function: nw_parameters_prohibit_interface_type

func NwParametersRequireInterface

func NwParametersRequireInterface(parameters *foundation.NSObject, interface_ *foundation.NSObject)

C function: nw_parameters_require_interface

func NwParametersRequiresDnssecValidation

func NwParametersRequiresDnssecValidation(parameters *foundation.NSObject) bool

C function: nw_parameters_requires_dnssec_validation

func NwParametersSetAllowUltraConstrained

func NwParametersSetAllowUltraConstrained(parameters *foundation.NSObject, allow_ultra_constrained bool)

C function: nw_parameters_set_allow_ultra_constrained

func NwParametersSetAttribution

func NwParametersSetAttribution(parameters *foundation.NSObject, attribution Nw_parameters_attribution_t)

C function: nw_parameters_set_attribution

func NwParametersSetExpiredDnsBehavior

func NwParametersSetExpiredDnsBehavior(parameters *foundation.NSObject, expired_dns_behavior avrouting.Nw_parameters_expired_dns_behavior_t)

C function: nw_parameters_set_expired_dns_behavior

func NwParametersSetFastOpenEnabled

func NwParametersSetFastOpenEnabled(parameters *foundation.NSObject, fast_open_enabled bool)

C function: nw_parameters_set_fast_open_enabled

func NwParametersSetIncludePeerToPeer

func NwParametersSetIncludePeerToPeer(parameters *foundation.NSObject, include_peer_to_peer bool)

C function: nw_parameters_set_include_peer_to_peer

func NwParametersSetLocalEndpoint

func NwParametersSetLocalEndpoint(parameters *foundation.NSObject, local_endpoint *foundation.NSObject)

C function: nw_parameters_set_local_endpoint

func NwParametersSetLocalOnly

func NwParametersSetLocalOnly(parameters *foundation.NSObject, local_only bool)

C function: nw_parameters_set_local_only

func NwParametersSetMultipathService

func NwParametersSetMultipathService(parameters *foundation.NSObject, multipath_service avrouting.Nw_multipath_service_t)

C function: nw_parameters_set_multipath_service

func NwParametersSetPreferNoProxy

func NwParametersSetPreferNoProxy(parameters *foundation.NSObject, prefer_no_proxy bool)

C function: nw_parameters_set_prefer_no_proxy

func NwParametersSetPrivacyContext

func NwParametersSetPrivacyContext(parameters *foundation.NSObject, privacy_context *foundation.NSObject)

C function: nw_parameters_set_privacy_context

func NwParametersSetProhibitConstrained

func NwParametersSetProhibitConstrained(parameters *foundation.NSObject, prohibit_constrained bool)

C function: nw_parameters_set_prohibit_constrained

func NwParametersSetProhibitExpensive

func NwParametersSetProhibitExpensive(parameters *foundation.NSObject, prohibit_expensive bool)

C function: nw_parameters_set_prohibit_expensive

func NwParametersSetRequiredInterfaceType

func NwParametersSetRequiredInterfaceType(parameters *foundation.NSObject, interface_type avrouting.Nw_interface_type_t)

C function: nw_parameters_set_required_interface_type

func NwParametersSetRequiresDnssecValidation

func NwParametersSetRequiresDnssecValidation(parameters *foundation.NSObject, requires_dnssec_validation bool)

C function: nw_parameters_set_requires_dnssec_validation

func NwParametersSetReuseLocalAddress

func NwParametersSetReuseLocalAddress(parameters *foundation.NSObject, reuse_local_address bool)

C function: nw_parameters_set_reuse_local_address

func NwParametersSetServiceClass

func NwParametersSetServiceClass(parameters *foundation.NSObject, service_class avrouting.Nw_service_class_t)

C function: nw_parameters_set_service_class

func NwPathCopyEffectiveLocalEndpoint

func NwPathCopyEffectiveLocalEndpoint(path *foundation.NSObject) unsafe.Pointer

C function: nw_path_copy_effective_local_endpoint

func NwPathCopyEffectiveRemoteEndpoint

func NwPathCopyEffectiveRemoteEndpoint(path *foundation.NSObject) unsafe.Pointer

C function: nw_path_copy_effective_remote_endpoint

func NwPathEnumerateGateways

func NwPathEnumerateGateways(path *foundation.NSObject, enumerate_block func(*foundation.NSObject) bool)

C function: nw_path_enumerate_gateways

func NwPathEnumerateInterfaces

func NwPathEnumerateInterfaces(path *foundation.NSObject, enumerate_block func(*foundation.NSObject) bool)

C function: nw_path_enumerate_interfaces

func NwPathGetLinkQuality

func NwPathGetLinkQuality(path *foundation.NSObject) avrouting.Nw_link_quality_t

C function: nw_path_get_link_quality

func NwPathGetStatus

func NwPathGetStatus(path *foundation.NSObject) avrouting.Nw_path_status_t

C function: nw_path_get_status

func NwPathGetUnsatisfiedReason

func NwPathGetUnsatisfiedReason(path *foundation.NSObject) avrouting.Nw_path_unsatisfied_reason_t

C function: nw_path_get_unsatisfied_reason

func NwPathHasDns

func NwPathHasDns(path *foundation.NSObject) bool

C function: nw_path_has_dns

func NwPathHasIpv4

func NwPathHasIpv4(path *foundation.NSObject) bool

C function: nw_path_has_ipv4

func NwPathHasIpv6

func NwPathHasIpv6(path *foundation.NSObject) bool

C function: nw_path_has_ipv6

func NwPathIsConstrained

func NwPathIsConstrained(path *foundation.NSObject) bool

C function: nw_path_is_constrained

func NwPathIsEqual

func NwPathIsEqual(path *foundation.NSObject, other_path *foundation.NSObject) bool

C function: nw_path_is_equal

func NwPathIsExpensive

func NwPathIsExpensive(path *foundation.NSObject) bool

C function: nw_path_is_expensive

func NwPathIsUltraConstrained

func NwPathIsUltraConstrained(path *foundation.NSObject) bool

C function: nw_path_is_ultra_constrained

func NwPathMonitorCancel

func NwPathMonitorCancel(monitor *foundation.NSObject)

C function: nw_path_monitor_cancel

func NwPathMonitorCreate

func NwPathMonitorCreate() unsafe.Pointer

C function: nw_path_monitor_create

func NwPathMonitorCreateForEthernetChannel

func NwPathMonitorCreateForEthernetChannel() unsafe.Pointer

C function: nw_path_monitor_create_for_ethernet_channel

func NwPathMonitorCreateWithType

func NwPathMonitorCreateWithType(required_interface_type avrouting.Nw_interface_type_t) unsafe.Pointer

C function: nw_path_monitor_create_with_type

func NwPathMonitorProhibitInterfaceType

func NwPathMonitorProhibitInterfaceType(monitor *foundation.NSObject, interface_type avrouting.Nw_interface_type_t)

C function: nw_path_monitor_prohibit_interface_type

func NwPathMonitorSetCancelHandler

func NwPathMonitorSetCancelHandler(monitor *foundation.NSObject, cancel_handler func())

C function: nw_path_monitor_set_cancel_handler

func NwPathMonitorSetQueue

func NwPathMonitorSetQueue(monitor *foundation.NSObject, queue *foundation.NSObject)

C function: nw_path_monitor_set_queue

func NwPathMonitorSetUpdateHandler

func NwPathMonitorSetUpdateHandler(monitor *foundation.NSObject, update_handler func(*foundation.NSObject))

C function: nw_path_monitor_set_update_handler

func NwPathMonitorStart

func NwPathMonitorStart(monitor *foundation.NSObject)

C function: nw_path_monitor_start

func NwPathUsesInterfaceType

func NwPathUsesInterfaceType(path *foundation.NSObject, interface_type avrouting.Nw_interface_type_t) bool

C function: nw_path_uses_interface_type

func NwPrivacyContextAddProxy

func NwPrivacyContextAddProxy(privacy_context *foundation.NSObject, proxy_config *foundation.NSObject)

C function: nw_privacy_context_add_proxy

func NwPrivacyContextClearProxies

func NwPrivacyContextClearProxies(privacy_context *foundation.NSObject)

C function: nw_privacy_context_clear_proxies

func NwPrivacyContextCreate

func NwPrivacyContextCreate(description string) unsafe.Pointer

C function: nw_privacy_context_create

func NwPrivacyContextDisableLogging

func NwPrivacyContextDisableLogging(privacy_context *foundation.NSObject)

C function: nw_privacy_context_disable_logging

func NwPrivacyContextFlushCache

func NwPrivacyContextFlushCache(privacy_context *foundation.NSObject)

C function: nw_privacy_context_flush_cache

func NwPrivacyContextRequireEncryptedNameResolution

func NwPrivacyContextRequireEncryptedNameResolution(privacy_context *foundation.NSObject, require_encrypted_name_resolution bool, fallback_resolver_config *foundation.NSObject)

C function: nw_privacy_context_require_encrypted_name_resolution

func NwProtocolCopyIpDefinition

func NwProtocolCopyIpDefinition() unsafe.Pointer

C function: nw_protocol_copy_ip_definition

func NwProtocolCopyQuicDefinition

func NwProtocolCopyQuicDefinition() unsafe.Pointer

C function: nw_protocol_copy_quic_definition

func NwProtocolCopyTcpDefinition

func NwProtocolCopyTcpDefinition() unsafe.Pointer

C function: nw_protocol_copy_tcp_definition

func NwProtocolCopyTlsDefinition

func NwProtocolCopyTlsDefinition() unsafe.Pointer

C function: nw_protocol_copy_tls_definition

func NwProtocolCopyUdpDefinition

func NwProtocolCopyUdpDefinition() unsafe.Pointer

C function: nw_protocol_copy_udp_definition

func NwProtocolCopyWsDefinition

func NwProtocolCopyWsDefinition() unsafe.Pointer

C function: nw_protocol_copy_ws_definition

func NwProtocolDefinitionIsEqual

func NwProtocolDefinitionIsEqual(definition1 *foundation.NSObject, definition2 *foundation.NSObject) bool

C function: nw_protocol_definition_is_equal

func NwProtocolMetadataCopyDefinition

func NwProtocolMetadataCopyDefinition(metadata *foundation.NSObject) unsafe.Pointer

C function: nw_protocol_metadata_copy_definition

func NwProtocolMetadataIsFramerMessage

func NwProtocolMetadataIsFramerMessage(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_framer_message

func NwProtocolMetadataIsIp

func NwProtocolMetadataIsIp(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_ip

func NwProtocolMetadataIsQuic

func NwProtocolMetadataIsQuic(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_quic

func NwProtocolMetadataIsTcp

func NwProtocolMetadataIsTcp(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_tcp

func NwProtocolMetadataIsTls

func NwProtocolMetadataIsTls(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_tls

func NwProtocolMetadataIsUdp

func NwProtocolMetadataIsUdp(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_udp

func NwProtocolMetadataIsWs

func NwProtocolMetadataIsWs(metadata *foundation.NSObject) bool

C function: nw_protocol_metadata_is_ws

func NwProtocolOptionsCopyDefinition

func NwProtocolOptionsCopyDefinition(options *foundation.NSObject) unsafe.Pointer

C function: nw_protocol_options_copy_definition

func NwProtocolOptionsIsQuic

func NwProtocolOptionsIsQuic(options *foundation.NSObject) bool

C function: nw_protocol_options_is_quic

func NwProtocolStackClearApplicationProtocols

func NwProtocolStackClearApplicationProtocols(stack *foundation.NSObject)

C function: nw_protocol_stack_clear_application_protocols

func NwProtocolStackCopyInternetProtocol

func NwProtocolStackCopyInternetProtocol(stack *foundation.NSObject) unsafe.Pointer

C function: nw_protocol_stack_copy_internet_protocol

func NwProtocolStackCopyTransportProtocol

func NwProtocolStackCopyTransportProtocol(stack *foundation.NSObject) unsafe.Pointer

C function: nw_protocol_stack_copy_transport_protocol

func NwProtocolStackIterateApplicationProtocols

func NwProtocolStackIterateApplicationProtocols(stack *foundation.NSObject, iterate_block func(*foundation.NSObject))

C function: nw_protocol_stack_iterate_application_protocols

func NwProtocolStackPrependApplicationProtocol

func NwProtocolStackPrependApplicationProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)

C function: nw_protocol_stack_prepend_application_protocol

func NwProtocolStackSetTransportProtocol

func NwProtocolStackSetTransportProtocol(stack *foundation.NSObject, protocol *foundation.NSObject)

C function: nw_protocol_stack_set_transport_protocol

func NwProxyConfigAddExcludedDomain

func NwProxyConfigAddExcludedDomain(config *foundation.NSObject, excluded_domain string)

C function: nw_proxy_config_add_excluded_domain

func NwProxyConfigAddMatchDomain

func NwProxyConfigAddMatchDomain(config *foundation.NSObject, match_domain string)

C function: nw_proxy_config_add_match_domain

func NwProxyConfigClearExcludedDomains

func NwProxyConfigClearExcludedDomains(config *foundation.NSObject)

C function: nw_proxy_config_clear_excluded_domains

func NwProxyConfigClearMatchDomains

func NwProxyConfigClearMatchDomains(config *foundation.NSObject)

C function: nw_proxy_config_clear_match_domains

func NwProxyConfigCreateHttpConnect

func NwProxyConfigCreateHttpConnect(proxy_endpoint *foundation.NSObject, proxy_tls_options *foundation.NSObject) unsafe.Pointer

C function: nw_proxy_config_create_http_connect

func NwProxyConfigCreateObliviousHttp

func NwProxyConfigCreateObliviousHttp(relay *foundation.NSObject, relay_resource_path string, gateway_key_config *uint8, gateway_key_config_length uint) unsafe.Pointer

C function: nw_proxy_config_create_oblivious_http

func NwProxyConfigCreateRelay

func NwProxyConfigCreateRelay(first_hop *foundation.NSObject, second_hop *foundation.NSObject) unsafe.Pointer

C function: nw_proxy_config_create_relay

func NwProxyConfigCreateSocksv5

func NwProxyConfigCreateSocksv5(proxy_endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_proxy_config_create_socksv5

func NwProxyConfigEnumerateExcludedDomains

func NwProxyConfigEnumerateExcludedDomains(config *foundation.NSObject, enumerator func(string))

C function: nw_proxy_config_enumerate_excluded_domains

func NwProxyConfigEnumerateMatchDomains

func NwProxyConfigEnumerateMatchDomains(config *foundation.NSObject, enumerator func(string))

C function: nw_proxy_config_enumerate_match_domains

func NwProxyConfigGetFailoverAllowed

func NwProxyConfigGetFailoverAllowed(proxy_config *foundation.NSObject) bool

C function: nw_proxy_config_get_failover_allowed

func NwProxyConfigSetFailoverAllowed

func NwProxyConfigSetFailoverAllowed(proxy_config *foundation.NSObject, failover_allowed bool)

C function: nw_proxy_config_set_failover_allowed

func NwProxyConfigSetUsernameAndPassword

func NwProxyConfigSetUsernameAndPassword(proxy_config *foundation.NSObject, username string, password string)

C function: nw_proxy_config_set_username_and_password

func NwQuicAddTlsApplicationProtocol

func NwQuicAddTlsApplicationProtocol(options *foundation.NSObject, application_protocol string)

C function: nw_quic_add_tls_application_protocol

func NwQuicCopySecProtocolMetadata

func NwQuicCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer

C function: nw_quic_copy_sec_protocol_metadata

func NwQuicCopySecProtocolOptions

func NwQuicCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer

C function: nw_quic_copy_sec_protocol_options

func NwQuicCreateOptions

func NwQuicCreateOptions() unsafe.Pointer

C function: nw_quic_create_options

func NwQuicGetApplicationError

func NwQuicGetApplicationError(metadata *foundation.NSObject) uint64

C function: nw_quic_get_application_error

func NwQuicGetApplicationErrorReason

func NwQuicGetApplicationErrorReason(metadata *foundation.NSObject) string

C function: nw_quic_get_application_error_reason

func NwQuicGetIdleTimeout

func NwQuicGetIdleTimeout(options *foundation.NSObject) uint32

C function: nw_quic_get_idle_timeout

func NwQuicGetInitialMaxData

func NwQuicGetInitialMaxData(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_data

func NwQuicGetInitialMaxStreamDataBidirectionalLocal

func NwQuicGetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_stream_data_bidirectional_local

func NwQuicGetInitialMaxStreamDataBidirectionalRemote

func NwQuicGetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_stream_data_bidirectional_remote

func NwQuicGetInitialMaxStreamDataUnidirectional

func NwQuicGetInitialMaxStreamDataUnidirectional(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_stream_data_unidirectional

func NwQuicGetInitialMaxStreamsBidirectional

func NwQuicGetInitialMaxStreamsBidirectional(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_streams_bidirectional

func NwQuicGetInitialMaxStreamsUnidirectional

func NwQuicGetInitialMaxStreamsUnidirectional(options *foundation.NSObject) uint64

C function: nw_quic_get_initial_max_streams_unidirectional

func NwQuicGetKeepaliveInterval

func NwQuicGetKeepaliveInterval(metadata *foundation.NSObject) uint16

C function: nw_quic_get_keepalive_interval

func NwQuicGetLocalMaxStreamsBidirectional

func NwQuicGetLocalMaxStreamsBidirectional(metadata *foundation.NSObject) uint64

C function: nw_quic_get_local_max_streams_bidirectional

func NwQuicGetLocalMaxStreamsUnidirectional

func NwQuicGetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64

C function: nw_quic_get_local_max_streams_unidirectional

func NwQuicGetMaxDatagramFrameSize

func NwQuicGetMaxDatagramFrameSize(options *foundation.NSObject) uint16

C function: nw_quic_get_max_datagram_frame_size

func NwQuicGetMaxUdpPayloadSize

func NwQuicGetMaxUdpPayloadSize(options *foundation.NSObject) uint16

C function: nw_quic_get_max_udp_payload_size

func NwQuicGetRemoteIdleTimeout

func NwQuicGetRemoteIdleTimeout(metadata *foundation.NSObject) uint64

C function: nw_quic_get_remote_idle_timeout

func NwQuicGetRemoteMaxStreamsBidirectional

func NwQuicGetRemoteMaxStreamsBidirectional(metadata *foundation.NSObject) uint64

C function: nw_quic_get_remote_max_streams_bidirectional

func NwQuicGetRemoteMaxStreamsUnidirectional

func NwQuicGetRemoteMaxStreamsUnidirectional(metadata *foundation.NSObject) uint64

C function: nw_quic_get_remote_max_streams_unidirectional

func NwQuicGetStreamApplicationError

func NwQuicGetStreamApplicationError(metadata *foundation.NSObject) uint64

C function: nw_quic_get_stream_application_error

func NwQuicGetStreamId

func NwQuicGetStreamId(metadata *foundation.NSObject) uint64

C function: nw_quic_get_stream_id

func NwQuicGetStreamIsDatagram

func NwQuicGetStreamIsDatagram(options *foundation.NSObject) bool

C function: nw_quic_get_stream_is_datagram

func NwQuicGetStreamIsUnidirectional

func NwQuicGetStreamIsUnidirectional(options *foundation.NSObject) bool

C function: nw_quic_get_stream_is_unidirectional

func NwQuicGetStreamType

func NwQuicGetStreamType(stream_metadata *foundation.NSObject) uint8

C function: nw_quic_get_stream_type

func NwQuicGetStreamUsableDatagramFrameSize

func NwQuicGetStreamUsableDatagramFrameSize(metadata *foundation.NSObject) uint16

C function: nw_quic_get_stream_usable_datagram_frame_size

func NwQuicSetApplicationError

func NwQuicSetApplicationError(metadata *foundation.NSObject, application_error uint64, reason string)

C function: nw_quic_set_application_error

func NwQuicSetIdleTimeout

func NwQuicSetIdleTimeout(options *foundation.NSObject, idle_timeout uint32)

C function: nw_quic_set_idle_timeout

func NwQuicSetInitialMaxData

func NwQuicSetInitialMaxData(options *foundation.NSObject, initial_max_data uint64)

C function: nw_quic_set_initial_max_data

func NwQuicSetInitialMaxStreamDataBidirectionalLocal

func NwQuicSetInitialMaxStreamDataBidirectionalLocal(options *foundation.NSObject, initial_max_stream_data_bidirectional_local uint64)

C function: nw_quic_set_initial_max_stream_data_bidirectional_local

func NwQuicSetInitialMaxStreamDataBidirectionalRemote

func NwQuicSetInitialMaxStreamDataBidirectionalRemote(options *foundation.NSObject, initial_max_stream_data_bidirectional_remote uint64)

C function: nw_quic_set_initial_max_stream_data_bidirectional_remote

func NwQuicSetInitialMaxStreamDataUnidirectional

func NwQuicSetInitialMaxStreamDataUnidirectional(options *foundation.NSObject, initial_max_stream_data_unidirectional uint64)

C function: nw_quic_set_initial_max_stream_data_unidirectional

func NwQuicSetInitialMaxStreamsBidirectional

func NwQuicSetInitialMaxStreamsBidirectional(options *foundation.NSObject, initial_max_streams_bidirectional uint64)

C function: nw_quic_set_initial_max_streams_bidirectional

func NwQuicSetInitialMaxStreamsUnidirectional

func NwQuicSetInitialMaxStreamsUnidirectional(options *foundation.NSObject, initial_max_streams_unidirectional uint64)

C function: nw_quic_set_initial_max_streams_unidirectional

func NwQuicSetKeepaliveInterval

func NwQuicSetKeepaliveInterval(metadata *foundation.NSObject, keepalive_interval uint16)

C function: nw_quic_set_keepalive_interval

func NwQuicSetLocalMaxStreamsBidirectional

func NwQuicSetLocalMaxStreamsBidirectional(metadata *foundation.NSObject, max_streams_bidirectional uint64)

C function: nw_quic_set_local_max_streams_bidirectional

func NwQuicSetLocalMaxStreamsUnidirectional

func NwQuicSetLocalMaxStreamsUnidirectional(metadata *foundation.NSObject, max_streams_unidirectional uint64)

C function: nw_quic_set_local_max_streams_unidirectional

func NwQuicSetMaxDatagramFrameSize

func NwQuicSetMaxDatagramFrameSize(options *foundation.NSObject, max_datagram_frame_size uint16)

C function: nw_quic_set_max_datagram_frame_size

func NwQuicSetMaxUdpPayloadSize

func NwQuicSetMaxUdpPayloadSize(options *foundation.NSObject, max_udp_payload_size uint16)

C function: nw_quic_set_max_udp_payload_size

func NwQuicSetStreamApplicationError

func NwQuicSetStreamApplicationError(metadata *foundation.NSObject, application_error uint64)

C function: nw_quic_set_stream_application_error

func NwQuicSetStreamIsDatagram

func NwQuicSetStreamIsDatagram(options *foundation.NSObject, is_datagram bool)

C function: nw_quic_set_stream_is_datagram

func NwQuicSetStreamIsUnidirectional

func NwQuicSetStreamIsUnidirectional(options *foundation.NSObject, is_unidirectional bool)

C function: nw_quic_set_stream_is_unidirectional

func NwRelayHopAddAdditionalHttpHeaderField

func NwRelayHopAddAdditionalHttpHeaderField(relay_hop *foundation.NSObject, field_name string, field_value string)

C function: nw_relay_hop_add_additional_http_header_field

func NwRelayHopCreate

func NwRelayHopCreate(http3_relay_endpoint *foundation.NSObject, http2_relay_endpoint *foundation.NSObject, relay_tls_options *foundation.NSObject) unsafe.Pointer

C function: nw_relay_hop_create

func NwRelease

func NwRelease(obj unsafe.Pointer)

C function: nw_release

func NwResolutionReportCopyPreferredEndpoint

func NwResolutionReportCopyPreferredEndpoint(resolution_report *foundation.NSObject) unsafe.Pointer

C function: nw_resolution_report_copy_preferred_endpoint

func NwResolutionReportCopySuccessfulEndpoint

func NwResolutionReportCopySuccessfulEndpoint(resolution_report *foundation.NSObject) unsafe.Pointer

C function: nw_resolution_report_copy_successful_endpoint

func NwResolutionReportGetEndpointCount

func NwResolutionReportGetEndpointCount(resolution_report *foundation.NSObject) uint32

C function: nw_resolution_report_get_endpoint_count

func NwResolutionReportGetMilliseconds

func NwResolutionReportGetMilliseconds(resolution_report *foundation.NSObject) uint64

C function: nw_resolution_report_get_milliseconds

func NwResolutionReportGetProtocol

func NwResolutionReportGetProtocol(resolution_report *foundation.NSObject) avrouting.Nw_report_resolution_protocol_t

C function: nw_resolution_report_get_protocol

func NwResolutionReportGetSource

func NwResolutionReportGetSource(resolution_report *foundation.NSObject) avrouting.Nw_report_resolution_source_t

C function: nw_resolution_report_get_source

func NwResolverConfigAddServerAddress

func NwResolverConfigAddServerAddress(config *foundation.NSObject, server_address *foundation.NSObject)

C function: nw_resolver_config_add_server_address

func NwResolverConfigCreateHttps

func NwResolverConfigCreateHttps(url_endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_resolver_config_create_https

func NwResolverConfigCreateTls

func NwResolverConfigCreateTls(server_endpoint *foundation.NSObject) unsafe.Pointer

C function: nw_resolver_config_create_tls

func NwRetain

func NwRetain(obj unsafe.Pointer) unsafe.Pointer

C function: nw_retain

func NwTcpCreateOptions

func NwTcpCreateOptions() unsafe.Pointer

C function: nw_tcp_create_options

func NwTcpGetAvailableReceiveBuffer

func NwTcpGetAvailableReceiveBuffer(metadata *foundation.NSObject) uint32

C function: nw_tcp_get_available_receive_buffer

func NwTcpGetAvailableSendBuffer

func NwTcpGetAvailableSendBuffer(metadata *foundation.NSObject) uint32

C function: nw_tcp_get_available_send_buffer

func NwTcpOptionsSetConnectionTimeout

func NwTcpOptionsSetConnectionTimeout(options *foundation.NSObject, connection_timeout uint32)

C function: nw_tcp_options_set_connection_timeout

func NwTcpOptionsSetDisableAckStretching

func NwTcpOptionsSetDisableAckStretching(options *foundation.NSObject, disable_ack_stretching bool)

C function: nw_tcp_options_set_disable_ack_stretching

func NwTcpOptionsSetDisableEcn

func NwTcpOptionsSetDisableEcn(options *foundation.NSObject, disable_ecn bool)

C function: nw_tcp_options_set_disable_ecn

func NwTcpOptionsSetEnableFastOpen

func NwTcpOptionsSetEnableFastOpen(options *foundation.NSObject, enable_fast_open bool)

C function: nw_tcp_options_set_enable_fast_open

func NwTcpOptionsSetEnableKeepalive

func NwTcpOptionsSetEnableKeepalive(options *foundation.NSObject, enable_keepalive bool)

C function: nw_tcp_options_set_enable_keepalive

func NwTcpOptionsSetKeepaliveCount

func NwTcpOptionsSetKeepaliveCount(options *foundation.NSObject, keepalive_count uint32)

C function: nw_tcp_options_set_keepalive_count

func NwTcpOptionsSetKeepaliveIdleTime

func NwTcpOptionsSetKeepaliveIdleTime(options *foundation.NSObject, keepalive_idle_time uint32)

C function: nw_tcp_options_set_keepalive_idle_time

func NwTcpOptionsSetKeepaliveInterval

func NwTcpOptionsSetKeepaliveInterval(options *foundation.NSObject, keepalive_interval uint32)

C function: nw_tcp_options_set_keepalive_interval

func NwTcpOptionsSetMaximumSegmentSize

func NwTcpOptionsSetMaximumSegmentSize(options *foundation.NSObject, maximum_segment_size uint32)

C function: nw_tcp_options_set_maximum_segment_size

func NwTcpOptionsSetMultipathForceVersion

func NwTcpOptionsSetMultipathForceVersion(options *foundation.NSObject, multipath_force_version avrouting.Nw_multipath_version_t)

C function: nw_tcp_options_set_multipath_force_version

func NwTcpOptionsSetNoDelay

func NwTcpOptionsSetNoDelay(options *foundation.NSObject, no_delay bool)

C function: nw_tcp_options_set_no_delay

func NwTcpOptionsSetNoOptions

func NwTcpOptionsSetNoOptions(options *foundation.NSObject, no_options bool)

C function: nw_tcp_options_set_no_options

func NwTcpOptionsSetNoPush

func NwTcpOptionsSetNoPush(options *foundation.NSObject, no_push bool)

C function: nw_tcp_options_set_no_push

func NwTcpOptionsSetPersistTimeout

func NwTcpOptionsSetPersistTimeout(options *foundation.NSObject, persist_timeout uint32)

C function: nw_tcp_options_set_persist_timeout

func NwTcpOptionsSetRetransmitConnectionDropTime

func NwTcpOptionsSetRetransmitConnectionDropTime(options *foundation.NSObject, retransmit_connection_drop_time uint32)

C function: nw_tcp_options_set_retransmit_connection_drop_time

func NwTcpOptionsSetRetransmitFinDrop

func NwTcpOptionsSetRetransmitFinDrop(options *foundation.NSObject, retransmit_fin_drop bool)

C function: nw_tcp_options_set_retransmit_fin_drop

func NwTlsCopySecProtocolMetadata

func NwTlsCopySecProtocolMetadata(metadata *foundation.NSObject) unsafe.Pointer

C function: nw_tls_copy_sec_protocol_metadata

func NwTlsCopySecProtocolOptions

func NwTlsCopySecProtocolOptions(options *foundation.NSObject) unsafe.Pointer

C function: nw_tls_copy_sec_protocol_options

func NwTlsCreateOptions

func NwTlsCreateOptions() unsafe.Pointer

C function: nw_tls_create_options

func NwTxtRecordAccessBytes

func NwTxtRecordAccessBytes(txt_record *foundation.NSObject, access_bytes func(*uint8, uint) bool) bool

C function: nw_txt_record_access_bytes

func NwTxtRecordAccessKey

func NwTxtRecordAccessKey(txt_record *foundation.NSObject, key string, access_value func(string, unsafe.Pointer, *uint8, unsafe.Pointer) bool) bool

C function: nw_txt_record_access_key

func NwTxtRecordApply

func NwTxtRecordApply(txt_record *foundation.NSObject, applier func(string, unsafe.Pointer, *uint8, unsafe.Pointer) bool) bool

C function: nw_txt_record_apply

func NwTxtRecordCopy

func NwTxtRecordCopy(txt_record *foundation.NSObject) unsafe.Pointer

C function: nw_txt_record_copy

func NwTxtRecordCreateDictionary

func NwTxtRecordCreateDictionary() unsafe.Pointer

C function: nw_txt_record_create_dictionary

func NwTxtRecordCreateWithBytes

func NwTxtRecordCreateWithBytes(txt_bytes *uint8, txt_len uint) unsafe.Pointer

C function: nw_txt_record_create_with_bytes

func NwTxtRecordFindKey

func NwTxtRecordFindKey(txt_record *foundation.NSObject, key string) avrouting.Nw_txt_record_find_key_t

C function: nw_txt_record_find_key

func NwTxtRecordGetKeyCount

func NwTxtRecordGetKeyCount(txt_record *foundation.NSObject) uint

C function: nw_txt_record_get_key_count

func NwTxtRecordIsDictionary

func NwTxtRecordIsDictionary(txt_record *foundation.NSObject) bool

C function: nw_txt_record_is_dictionary

func NwTxtRecordIsEqual

func NwTxtRecordIsEqual(left *foundation.NSObject, right *foundation.NSObject) bool

C function: nw_txt_record_is_equal

func NwTxtRecordRemoveKey

func NwTxtRecordRemoveKey(txt_record *foundation.NSObject, key string) bool

C function: nw_txt_record_remove_key

func NwTxtRecordSetKey

func NwTxtRecordSetKey(txt_record *foundation.NSObject, key string, value *uint8, value_len uint) bool

C function: nw_txt_record_set_key

func NwUdpCreateMetadata

func NwUdpCreateMetadata() unsafe.Pointer

C function: nw_udp_create_metadata

func NwUdpCreateOptions

func NwUdpCreateOptions() unsafe.Pointer

C function: nw_udp_create_options

func NwUdpOptionsSetPreferNoChecksum

func NwUdpOptionsSetPreferNoChecksum(options *foundation.NSObject, prefer_no_checksum bool)

C function: nw_udp_options_set_prefer_no_checksum

func NwWsCreateMetadata

func NwWsCreateMetadata(opcode avrouting.Nw_ws_opcode_t) unsafe.Pointer

C function: nw_ws_create_metadata

func NwWsCreateOptions

func NwWsCreateOptions(version avrouting.Nw_ws_version_t) unsafe.Pointer

C function: nw_ws_create_options

func NwWsMetadataCopyServerResponse

func NwWsMetadataCopyServerResponse(metadata *foundation.NSObject) unsafe.Pointer

C function: nw_ws_metadata_copy_server_response

func NwWsMetadataGetCloseCode

func NwWsMetadataGetCloseCode(metadata *foundation.NSObject) avrouting.Nw_ws_close_code_t

C function: nw_ws_metadata_get_close_code

func NwWsMetadataGetOpcode

func NwWsMetadataGetOpcode(metadata *foundation.NSObject) avrouting.Nw_ws_opcode_t

C function: nw_ws_metadata_get_opcode

func NwWsMetadataSetCloseCode

func NwWsMetadataSetCloseCode(metadata *foundation.NSObject, close_code avrouting.Nw_ws_close_code_t)

C function: nw_ws_metadata_set_close_code

func NwWsMetadataSetPongHandler

func NwWsMetadataSetPongHandler(metadata *foundation.NSObject, client_queue *foundation.NSObject, pong_handler func(*foundation.NSObject))

C function: nw_ws_metadata_set_pong_handler

func NwWsOptionsAddAdditionalHeader

func NwWsOptionsAddAdditionalHeader(options *foundation.NSObject, name string, value string)

C function: nw_ws_options_add_additional_header

func NwWsOptionsAddSubprotocol

func NwWsOptionsAddSubprotocol(options *foundation.NSObject, subprotocol string)

C function: nw_ws_options_add_subprotocol

func NwWsOptionsSetAutoReplyPing

func NwWsOptionsSetAutoReplyPing(options *foundation.NSObject, auto_reply_ping bool)

C function: nw_ws_options_set_auto_reply_ping

func NwWsOptionsSetClientRequestHandler

func NwWsOptionsSetClientRequestHandler(options *foundation.NSObject, client_queue *foundation.NSObject, handler objc.Block)

C function: nw_ws_options_set_client_request_handler

func NwWsOptionsSetMaximumMessageSize

func NwWsOptionsSetMaximumMessageSize(options *foundation.NSObject, maximum_message_size uint)

C function: nw_ws_options_set_maximum_message_size

func NwWsOptionsSetSkipHandshake

func NwWsOptionsSetSkipHandshake(options *foundation.NSObject, skip_handshake bool)

C function: nw_ws_options_set_skip_handshake

func NwWsRequestEnumerateAdditionalHeaders

func NwWsRequestEnumerateAdditionalHeaders(request *foundation.NSObject, enumerator func(string, string) bool) bool

C function: nw_ws_request_enumerate_additional_headers

func NwWsRequestEnumerateSubprotocols

func NwWsRequestEnumerateSubprotocols(request *foundation.NSObject, enumerator func(string) bool) bool

C function: nw_ws_request_enumerate_subprotocols

func NwWsResponseAddAdditionalHeader

func NwWsResponseAddAdditionalHeader(response *foundation.NSObject, name string, value string)

C function: nw_ws_response_add_additional_header

func NwWsResponseCreate

func NwWsResponseCreate(status avrouting.Nw_ws_response_status_t, selected_subprotocol string) unsafe.Pointer

C function: nw_ws_response_create

func NwWsResponseEnumerateAdditionalHeaders

func NwWsResponseEnumerateAdditionalHeaders(response *foundation.NSObject, enumerator func(string, string) bool) bool

C function: nw_ws_response_enumerate_additional_headers

func NwWsResponseGetSelectedSubprotocol

func NwWsResponseGetSelectedSubprotocol(response *foundation.NSObject) string

C function: nw_ws_response_get_selected_subprotocol

func NwWsResponseGetStatus

func NwWsResponseGetStatus(response *foundation.NSObject) avrouting.Nw_ws_response_status_t

C function: nw_ws_response_get_status

func Nw_connection_send_idempotent_content

func Nw_connection_send_idempotent_content() func(*foundation.NSObject)

func Nw_content_context_default_message

func Nw_content_context_default_message() *foundation.NSObject

func Nw_content_context_default_stream

func Nw_content_context_default_stream() *foundation.NSObject

func Nw_content_context_final_send

func Nw_content_context_final_send() *foundation.NSObject

func Nw_data_transfer_report_all_paths

func Nw_data_transfer_report_all_paths() uint

func Nw_parameters_configure_protocol_default_configuration

func Nw_parameters_configure_protocol_default_configuration() func(*foundation.NSObject)

func Nw_parameters_configure_protocol_disable

func Nw_parameters_configure_protocol_disable() func(*foundation.NSObject)

func Nw_privacy_context_default_context

func Nw_privacy_context_default_context() *foundation.NSObject

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type DNSServiceAAAAPolicy

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

func (DNSServiceAAAAPolicy) String

func (e DNSServiceAAAAPolicy) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type Nw_browser_state_t

type Nw_browser_state_t int64

@typedef nw_browser_state_t @abstract Browser states sent by nw_browser_set_state_changed_handler.

const (
	// @const nw_browser_state_invalid The state of the browser is not valid. This state will never be delivered in the browser's state update handler and can be treated as an unexpected value.
	Nw_browser_state_invalid Nw_browser_state_t = 0
	// @const nw_browser_state_ready The browser is ready and able to receive endpoint updates. All callbacks from the browse_results_changed_handler occur when the browser is in this state.
	Nw_browser_state_ready Nw_browser_state_t = 1
	// @const nw_browser_state_failed The browser has irrecoverably failed. You should not try to call nw_browser_start() on the browser to restart it. Instead, cancel the browser and create a new browser object.
	Nw_browser_state_failed Nw_browser_state_t = 2
	// @const nw_browser_state_cancelled The browser has been cancelled by the caller. You should not try to call nw_browser_start() on the browser to restart it. Instead, create a new browser object.
	Nw_browser_state_cancelled Nw_browser_state_t = 3
	// @const nw_browser_state_waiting The browser is waiting for connectivity. Results will not be delivered until the browser moves into the ready state. A browser can move from the ready state into the waiting state. The associated error indicates why the browser is unable to browse.
	Nw_browser_state_waiting Nw_browser_state_t = 4
)

func (Nw_browser_state_t) String

func (e Nw_browser_state_t) String() string

type Nw_connection_group_state_t

type Nw_connection_group_state_t int64

@typedef nw_connection_group_state_t @abstract Connection Group states sent by nw_connection_group_set_state_changed_handler. States progress forward and do not move backwards.

const (
	// @const nw_connection_group_state_invalid The state of the connection group is not valid. This state will never be delivered in the connection group's state update handler and can be treated as an unexpected value.
	Nw_connection_group_state_invalid Nw_connection_group_state_t = 0
	// @const nw_connection_group_state_waiting The connection group is waiting for a usable network before being able to receive and process incoming messages.
	Nw_connection_group_state_waiting Nw_connection_group_state_t = 1
	// @const nw_connection_group_state_ready The connection group is ready and able to receive and process incoming messages.
	Nw_connection_group_state_ready Nw_connection_group_state_t = 2
	// @const nw_connection_group_state_failed The connection group has irrecoverably failed. You should cancel the connection group and create a new connection group object if you wish to continue processing incoming messages.
	Nw_connection_group_state_failed Nw_connection_group_state_t = 3
	// @const nw_connection_group_state_cancelled The connection group has been cancelled by the user. You should create a new connection group object if you wish to continue processing incoming messages.
	Nw_connection_group_state_cancelled Nw_connection_group_state_t = 4
)

func (Nw_connection_group_state_t) String

type Nw_connection_state_t

type Nw_connection_state_t int64

@typedef nw_connection_state_t @abstract Connection states sent by nw_connection_set_state_changed_handler. States generally progress forward and do not move backwards, with the exception of preparing and waiting, which may alternate before the connection becomes ready or failed.

const (
	// @const nw_connection_state_invalid The state of the connection is not valid. This state will never be delivered in the connection's state update handler, and can be treated as an unexpected value.
	Nw_connection_state_invalid Nw_connection_state_t = 0
	// @const nw_connection_state_waiting The connection is waiting for a usable network before re-attempting
	Nw_connection_state_waiting Nw_connection_state_t = 1
	// @const nw_connection_state_preparing The connection is in the process of establishing
	Nw_connection_state_preparing Nw_connection_state_t = 2
	// @const nw_connection_state_ready The connection is established and ready to send and receive data upon
	Nw_connection_state_ready Nw_connection_state_t = 3
	// @const nw_connection_state_failed The connection has irrecoverably closed or failed
	Nw_connection_state_failed Nw_connection_state_t = 4
	// @const nw_connection_state_cancelled The connection has been cancelled by the caller
	Nw_connection_state_cancelled Nw_connection_state_t = 5
)

func (Nw_connection_state_t) String

func (e Nw_connection_state_t) String() string

type Nw_data_transfer_report_state_t

type Nw_data_transfer_report_state_t int64

@typedef nw_data_transfer_report_state_t @abstract The state of a Data Transfer Report indicates whether or not the contents have been collected, and are ready to be accessed.

const (
	// @const nw_data_transfer_report_state_collecting The report is outstanding; values cannot be accessed.
	Nw_data_transfer_report_state_collecting Nw_data_transfer_report_state_t = 1
	// @const nw_data_transfer_report_state_collected The report is complete; values can now be accessed.
	Nw_data_transfer_report_state_collected Nw_data_transfer_report_state_t = 2
)

func (Nw_data_transfer_report_state_t) String

type Nw_endpoint_type_t

type Nw_endpoint_type_t int64

@typedef nw_endpoint_type_t @abstract Endpoint types represent a well-known form of endpoint. Values may be added to this enumeration, and some custom endpoint types may use values not defined in this enumeration.

const (
	// @const nw_endpoint_type_invalid An invalid endpoint
	Nw_endpoint_type_invalid Nw_endpoint_type_t = 0
	// @const nw_endpoint_type_address An IP Address + Port
	Nw_endpoint_type_address Nw_endpoint_type_t = 1
	// @const nw_endpoint_type_host A Hostname + Port
	Nw_endpoint_type_host Nw_endpoint_type_t = 2
	// @const nw_endpoint_type_bonjour_service A Bonjour Service Name + Type + Domain
	Nw_endpoint_type_bonjour_service Nw_endpoint_type_t = 3
	// @const nw_endpoint_type_url A URL endpoint
	Nw_endpoint_type_url Nw_endpoint_type_t = 4
)

func (Nw_endpoint_type_t) String

func (e Nw_endpoint_type_t) String() string

type Nw_error_domain_t

type Nw_error_domain_t int64

@typedef nw_error_domain_t @abstract The enumeration of network error domains.

const (
	// @const nw_error_domain_invalid
	Nw_error_domain_invalid Nw_error_domain_t = 0
	// @const nw_error_domain_posix The error code will be a POSIX error as defined in <sys/errno.h>
	Nw_error_domain_posix Nw_error_domain_t = 1
	// @const nw_error_domain_dns The error code will be a DNSServiceErrorType error as defined in <dns_sd.h>
	Nw_error_domain_dns Nw_error_domain_t = 2
	// @const nw_error_domain_tls The error code will be a TLS error as defined in <Security/SecBase.h>
	Nw_error_domain_tls Nw_error_domain_t = 3
	// @const nw_error_domain_wifi_aware The error code will be a Wi-Fi Aware error as defined in <WifiAware/errors.swift>
	Nw_error_domain_wifi_aware Nw_error_domain_t = 4
)

func (Nw_error_domain_t) String

func (e Nw_error_domain_t) String() string

type Nw_ethernet_channel_state_t

type Nw_ethernet_channel_state_t int64
const (
	// @const nw_ethernet_channel_state_invalid The state of the channel is not valid. This state will never be delivered in the channel's state update handler, and can be treated as an unexpected value.
	Nw_ethernet_channel_state_invalid Nw_ethernet_channel_state_t = 0
	// @const nw_ethernet_channel_state_waiting The channel is waiting for a usable network before re-attempting
	Nw_ethernet_channel_state_waiting Nw_ethernet_channel_state_t = 1
	// @const nw_ethernet_channel_state_preparing The channel is in the process of establishing
	Nw_ethernet_channel_state_preparing Nw_ethernet_channel_state_t = 2
	// @const nw_ethernet_channel_state_ready The channel is established and ready to send and receive data
	Nw_ethernet_channel_state_ready Nw_ethernet_channel_state_t = 3
	// @const nw_ethernet_channel_state_failed The channel has irrecoverably closed or failed
	Nw_ethernet_channel_state_failed Nw_ethernet_channel_state_t = 4
	// @const nw_ethernet_channel_state_cancelled The channel has been cancelled by the caller
	Nw_ethernet_channel_state_cancelled Nw_ethernet_channel_state_t = 5
)

func (Nw_ethernet_channel_state_t) String

type Nw_framer_start_result_t

type Nw_framer_start_result_t int64
const (
	Nw_framer_start_result_ready           Nw_framer_start_result_t = 1
	Nw_framer_start_result_will_mark_ready Nw_framer_start_result_t = 2
)

func (Nw_framer_start_result_t) String

func (e Nw_framer_start_result_t) String() string

type Nw_interface_radio_type_t

type Nw_interface_radio_type_t int64

@typedef nw_interface_radio_type_t @abstract Interface radio types represent the radio technology for a network link.

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

func (Nw_interface_radio_type_t) String

func (e Nw_interface_radio_type_t) String() string

type Nw_interface_type_t

type Nw_interface_type_t int64

@typedef nw_interface_type_t @abstract Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.

const (
	// @const nw_interface_type_other A virtual or otherwise unknown interface type
	Nw_interface_type_other Nw_interface_type_t = 0
	// @const nw_interface_type_wifi A Wi-Fi link
	Nw_interface_type_wifi Nw_interface_type_t = 1
	// @const nw_interface_type_wifi A Cellular link
	Nw_interface_type_cellular Nw_interface_type_t = 2
	// @const nw_interface_type_wired A Wired Ethernet link
	Nw_interface_type_wired Nw_interface_type_t = 3
	// @const nw_interface_type_loopback The loopback interface
	Nw_interface_type_loopback Nw_interface_type_t = 4
)

func (Nw_interface_type_t) String

func (e Nw_interface_type_t) String() string

type Nw_ip_ecn_flag_t

type Nw_ip_ecn_flag_t int64

@typedef nw_ip_ecn_flag_t @abstract ECN flags marked in IP headers to indicate congestion.

const (
	// @const nw_ip_ecn_flag_non_ect Non ECN-Capable Transport, value 0b00
	Nw_ip_ecn_flag_non_ect Nw_ip_ecn_flag_t = 0
	// @const nw_ip_ecn_flag_ect_0 ECN Capable Transport (0), value 0b10
	Nw_ip_ecn_flag_ect_0 Nw_ip_ecn_flag_t = 2
	// @const nw_ip_ecn_flag_ect_1 ECN Capable Transport (1), value 0b01
	Nw_ip_ecn_flag_ect_1 Nw_ip_ecn_flag_t = 1
	// @const nw_ip_ecn_flag_ce Congestion Experienced, value 0b11
	Nw_ip_ecn_flag_ce Nw_ip_ecn_flag_t = 3
)

func (Nw_ip_ecn_flag_t) String

func (e Nw_ip_ecn_flag_t) String() string

type Nw_ip_local_address_preference_t

type Nw_ip_local_address_preference_t int64

@typedef nw_ip_local_address_preference_t @abstract Preference for local addresses selection.

const (
	// @const nw_ip_local_address_preference_default Use system default for address selection
	Nw_ip_local_address_preference_default Nw_ip_local_address_preference_t = 0
	// @const nw_ip_local_address_preference_temporary Prefer temporary (privacy) addresses
	Nw_ip_local_address_preference_temporary Nw_ip_local_address_preference_t = 1
	// @const nw_ip_local_address_preference_stable Prefer stable addresses
	Nw_ip_local_address_preference_stable Nw_ip_local_address_preference_t = 2
)

func (Nw_ip_local_address_preference_t) String

type Nw_ip_version_t

type Nw_ip_version_t int64

@typedef nw_ip_version_t @abstract A specific version of the Internet Protocol.

const (
	// @const nw_ip_version_any Allow any IP version
	Nw_ip_version_any Nw_ip_version_t = 0
	// @const nw_ip_version_4 Use IP version 4 (IPv4)
	Nw_ip_version_4 Nw_ip_version_t = 4
	// @const nw_ip_version_6 Use IP version 6 (IPv6)
	Nw_ip_version_6 Nw_ip_version_t = 6
)

func (Nw_ip_version_t) String

func (e Nw_ip_version_t) String() string
type Nw_link_quality_t int64

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

const (
	// @const nw_link_quality_unknown No link quality measurement is available
	Nw_link_quality_unknown Nw_link_quality_t = 0
	// @const nw_link_quality_minimal Link quality is minimal
	Nw_link_quality_minimal Nw_link_quality_t = 10
	// @const nw_link_quality_moderate Link quality is moderate
	Nw_link_quality_moderate Nw_link_quality_t = 20
	// @const nw_link_quality_good Link quality is good
	Nw_link_quality_good Nw_link_quality_t = 30
)
func (e Nw_link_quality_t) String() string

type Nw_listener_state_t

type Nw_listener_state_t int64

@typedef nw_listener_state_t @abstract Listener states sent by nw_listener_set_state_changed_handler. States progress forward and do not move backwards.

const (
	// @const nw_listener_state_invalid The state of the listener is not valid. This state will never be delivered in the listener's state update handler, and can be treated as an unexpected value.
	Nw_listener_state_invalid Nw_listener_state_t = 0
	// @const nw_listener_state_waiting The listener is waiting for a usable network before being able to receive connections
	Nw_listener_state_waiting Nw_listener_state_t = 1
	// @const nw_listener_state_ready The listener is ready and able to accept incoming connections
	Nw_listener_state_ready Nw_listener_state_t = 2
	// @const nw_listener_state_failed The listener has irrecoverably closed or failed
	Nw_listener_state_failed Nw_listener_state_t = 3
	// @const nw_listener_state_cancelled The listener has been cancelled by the caller
	Nw_listener_state_cancelled Nw_listener_state_t = 4
)

func (Nw_listener_state_t) String

func (e Nw_listener_state_t) String() string

type Nw_multipath_service_t

type Nw_multipath_service_t int64

@typedef nw_multipath_service_t @abstract Multipath services represent the modes of multipath usage that are allowed for connections.

const (
	// @const nw_multipath_service_disabled No multipath transport will be attempted
	Nw_multipath_service_disabled Nw_multipath_service_t = 0
	// @const nw_multipath_service_handover Only use the expensive interface when the when the primary one is not available
	Nw_multipath_service_handover Nw_multipath_service_t = 1
	// @const nw_multipath_service_interactive Use the expensive interface more aggressively to reduce latency
	Nw_multipath_service_interactive Nw_multipath_service_t = 2
	// @const nw_multipath_service_aggregate Use all available interfaces to provide the highest throughput and lowest latency
	Nw_multipath_service_aggregate Nw_multipath_service_t = 3
)

func (Nw_multipath_service_t) String

func (e Nw_multipath_service_t) String() string

type Nw_multipath_version_t

type Nw_multipath_version_t int64

@typedef nw_multipath_version_t @abstract Multipath versions represent the MPTCP standard versions

const (
	// @const nw_multipath_version_unspecified MPTCP unspecified version
	Nw_multipath_version_unspecified Nw_multipath_version_t = -1
	// @const nw_multipath_version_0 MPTCP version 0
	Nw_multipath_version_0 Nw_multipath_version_t = 0
	// @const nw_multipath_version_1 MPTCP version 1
	Nw_multipath_version_1 Nw_multipath_version_t = 1
)

func (Nw_multipath_version_t) String

func (e Nw_multipath_version_t) String() string

type Nw_parameters_attribution_t

type Nw_parameters_attribution_t int64
const (
	// @const nw_parameters_attribution_developer Developer chosen content.
	Nw_parameters_attribution_developer Nw_parameters_attribution_t = 1
	// @const nw_parameters_attribution_user User chosen content.
	Nw_parameters_attribution_user Nw_parameters_attribution_t = 2
)

func NwParametersGetAttribution

func NwParametersGetAttribution(parameters *foundation.NSObject) Nw_parameters_attribution_t

C function: nw_parameters_get_attribution

func (Nw_parameters_attribution_t) String

type Nw_parameters_expired_dns_behavior_t

type Nw_parameters_expired_dns_behavior_t int64

@typedef nw_parameters_expired_dns_behavior_t @abstract Expired DNS behavior defines whether or not a connection will allow the use of expired DNS answers during connection establishment.

const (
	// @const nw_parameters_expired_dns_behavior_default Let the system determine whether or not to allow expired DNS answers
	Nw_parameters_expired_dns_behavior_default Nw_parameters_expired_dns_behavior_t = 0
	// @const nw_parameters_expired_dns_behavior_allow Explicitly allow the use of expired DNS answers
	Nw_parameters_expired_dns_behavior_allow Nw_parameters_expired_dns_behavior_t = 1
	// @const nw_parameters_expired_dns_behavior_allow Explicitly prohibit the use of expired DNS answers
	Nw_parameters_expired_dns_behavior_prohibit Nw_parameters_expired_dns_behavior_t = 2
	// @const nw_parameters_expired_dns_behavior_persistent Allow the use of expired DNS answers, and store answers in a persistent per-process cache. This should only be set for hostnames whose resolutions are not expected to change across networks.
	Nw_parameters_expired_dns_behavior_persistent Nw_parameters_expired_dns_behavior_t = 3
)

func (Nw_parameters_expired_dns_behavior_t) String

type Nw_path_status_t

type Nw_path_status_t int64

@typedef nw_path_status_t @abstract A network path status indicates if there is a usable route available upon which to send and receive data.

const (
	// @const nw_path_status_invalid The path is not valid
	Nw_path_status_invalid Nw_path_status_t = 0
	// @const nw_path_status_satisfied The path has a usable route upon which to send and receive data
	Nw_path_status_satisfied Nw_path_status_t = 1
	// @const nw_path_status_unsatisfied The path does not have a usable route. This may be due to a network interface being down, or due to system policy.
	Nw_path_status_unsatisfied Nw_path_status_t = 2
	// @const nw_path_status_satisfiable The path does not currently have a usable route, but a connection attempt will trigger network attachment
	Nw_path_status_satisfiable Nw_path_status_t = 3
)

func (Nw_path_status_t) String

func (e Nw_path_status_t) String() string

type Nw_path_unsatisfied_reason_t

type Nw_path_unsatisfied_reason_t int64

@typedef nw_path_unsatisfied_reason_t @abstract A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.

const (
	// @const nw_path_unsatisfied_reason_not_available No reason is given
	Nw_path_unsatisfied_reason_not_available Nw_path_unsatisfied_reason_t = 0
	// @const nw_path_unsatisfied_reason_cellular_denied The user has disabled cellular
	Nw_path_unsatisfied_reason_cellular_denied Nw_path_unsatisfied_reason_t = 1
	// @const nw_path_unsatisfied_reason_wifi_denied The user has disabled Wi-Fi
	Nw_path_unsatisfied_reason_wifi_denied Nw_path_unsatisfied_reason_t = 2
	// @const nw_path_unsatisfied_reason_local_network_denied The user has disabled local network access
	Nw_path_unsatisfied_reason_local_network_denied Nw_path_unsatisfied_reason_t = 3
	// @const nw_path_unsatisfied_reason_vpn_inactive A required VPN is not active
	Nw_path_unsatisfied_reason_vpn_inactive Nw_path_unsatisfied_reason_t = 4
)

func (Nw_path_unsatisfied_reason_t) String

type Nw_quic_stream_type_t

type Nw_quic_stream_type_t int64

@typedef nw_quic_stream_type_t @abstract Represents the type of a QUIC stream.

const (
	// @const nw_quic_stream_type_unknown 		A QUIC stream whose direction can not be determined.
	Nw_quic_stream_type_unknown Nw_quic_stream_type_t = 0
	// @const nw_quic_stream_type_bidirectional	A bidirectional QUIC stream.
	Nw_quic_stream_type_bidirectional Nw_quic_stream_type_t = 1
	// @const nw_quic_stream_type_unidirectional 	An unidirectional QUIC stream.
	Nw_quic_stream_type_unidirectional Nw_quic_stream_type_t = 2
	// @const nw_quic_stream_type_datagram 		A QUIC datagram stream.
	Nw_quic_stream_type_datagram Nw_quic_stream_type_t = 3
)

func (Nw_quic_stream_type_t) String

func (e Nw_quic_stream_type_t) String() string

type Nw_report_resolution_protocol_t

type Nw_report_resolution_protocol_t int64

@typedef nw_report_resolution_protocol_t @abstract The protocol used for endpoint resolution.

const (
	// @const nw_report_resolution_protocol_unknown The protocol used is not known, or not applicable
	Nw_report_resolution_protocol_unknown Nw_report_resolution_protocol_t = 0
	// @const nw_report_resolution_protocol_udp Resolution used DNS over UDP
	Nw_report_resolution_protocol_udp Nw_report_resolution_protocol_t = 1
	// @const nw_report_resolution_protocol_tcp Resolution used DNS over TCP
	Nw_report_resolution_protocol_tcp Nw_report_resolution_protocol_t = 2
	// @const nw_report_resolution_protocol_tls Resolution used DNS over TLS
	Nw_report_resolution_protocol_tls Nw_report_resolution_protocol_t = 3
	// @const nw_report_resolution_protocol_https Resolution used DNS over HTTPS
	Nw_report_resolution_protocol_https Nw_report_resolution_protocol_t = 4
)

func (Nw_report_resolution_protocol_t) String

type Nw_report_resolution_source_t

type Nw_report_resolution_source_t int64

@typedef nw_report_resolution_source_t @abstract The source of a resolution indicates if the set of endpoints was resolved locally using a cache, or sent a query over the network.

const (
	// @const nw_report_resolution_source_query A query was sent over the network
	Nw_report_resolution_source_query Nw_report_resolution_source_t = 1
	// @const nw_report_resolution_source_cache The local cache was used
	Nw_report_resolution_source_cache Nw_report_resolution_source_t = 2
	// @const nw_report_resolution_source_expired_cache An expired entry in the local cache was used
	Nw_report_resolution_source_expired_cache Nw_report_resolution_source_t = 3
)

func (Nw_report_resolution_source_t) String

type Nw_service_class_t

type Nw_service_class_t int64

@typedef nw_service_class_t @abstract The network service class represents the network queuing priority to use for traffic generated by a connection.

const (
	// @const nw_service_class_best_effort Default priority traffic
	Nw_service_class_best_effort Nw_service_class_t = 0
	// @const nw_service_class_background Bulk traffic, or traffic that can be de-prioritized behind foreground traffic
	Nw_service_class_background Nw_service_class_t = 1
	// @const nw_service_class_interactive_video Interactive video traffic
	Nw_service_class_interactive_video Nw_service_class_t = 2
	// @const nw_service_class_interactive_voice Interactive voice traffic
	Nw_service_class_interactive_voice Nw_service_class_t = 3
	// @const nw_service_class_responsive_data Interactive user data
	Nw_service_class_responsive_data Nw_service_class_t = 4
	// @const nw_service_class_signaling Bursty but short. Intolerant of delay and loss. For example, SIP.
	Nw_service_class_signaling Nw_service_class_t = 5
)

func (Nw_service_class_t) String

func (e Nw_service_class_t) String() string

type Nw_txt_record_find_key_t

type Nw_txt_record_find_key_t int64

@typedef nw_txt_record_find_key_t @abstract An enumeration of possible find results when trying to find a key-value pair in the TXT record object.

const (
	// @const nw_txt_record_find_key_invalid The key is invalid. According to RFC 1464, a key is invalid if it is an empty string, contains non-ASCII characters, or has length greater than UINT8_MAX.
	Nw_txt_record_find_key_invalid Nw_txt_record_find_key_t = 0
	// @const nw_txt_record_find_key_not_present The key-value pair does not exist in the TXT record.
	Nw_txt_record_find_key_not_present Nw_txt_record_find_key_t = 1
	// @const nw_txt_record_find_key_no_value The key exists in the TXT record, but has no assigned value.
	Nw_txt_record_find_key_no_value Nw_txt_record_find_key_t = 2
	// @const nw_txt_record_find_key_empty_value The key exists in the TXT record with an empty value.
	Nw_txt_record_find_key_empty_value Nw_txt_record_find_key_t = 3
	// @const nw_txt_record_find_key_non_empty_value The key exists in the TXT record with a non-empty value.
	Nw_txt_record_find_key_non_empty_value Nw_txt_record_find_key_t = 4
)

func (Nw_txt_record_find_key_t) String

func (e Nw_txt_record_find_key_t) String() string

type Nw_ws_close_code_t

type Nw_ws_close_code_t int64

@typedef nw_ws_close_code_t @abstract WebSocket close codes that describe the reason for closing a WebSocket connection. Endpoints MAY use the following pre-defined status codes when sending a Close frame.

const (
	// @const nw_ws_close_code_normal_closure Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
	Nw_ws_close_code_normal_closure Nw_ws_close_code_t = 1000
	// @const nw_ws_close_code_normal_going_away Indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
	Nw_ws_close_code_going_away Nw_ws_close_code_t = 1001
	// @const nw_ws_close_code_protocol_error Indicates that an endpoint is terminating the connection due to a protocol error.
	Nw_ws_close_code_protocol_error Nw_ws_close_code_t = 1002
	// @const nw_ws_close_code_normal_closure Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
	Nw_ws_close_code_unsupported_data Nw_ws_close_code_t = 1003
	// @const nw_ws_close_code_no_status_received A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that no status code was actually present.
	Nw_ws_close_code_no_status_received Nw_ws_close_code_t = 1005
	// @const nw_ws_close_code_abnormal_closure A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g., without sending or receiving a Close control frame.
	Nw_ws_close_code_abnormal_closure Nw_ws_close_code_t = 1006
	// @const nw_ws_close_code_invalid_frame_payload_data Indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
	Nw_ws_close_code_invalid_frame_payload_data Nw_ws_close_code_t = 1007
	// @const nw_ws_close_code_policy_violation Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no other more suitable status code (e.g., 1003 or 1009) or if there is a need to hide specific details about the policy.
	Nw_ws_close_code_policy_violation Nw_ws_close_code_t = 1008
	// @const nw_ws_close_code_message_too_big Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
	Nw_ws_close_code_message_too_big Nw_ws_close_code_t = 1009
	// @const nw_ws_close_code_mandatory_extension Indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extensions, but the server didn't return them in the response message of the WebSocket handshake. The list of extensions that are needed SHOULD appear in the /reason/ part of the Close frame. Note that this status code is not used by the server, because it can fail the WebSocket handshake instead.
	Nw_ws_close_code_mandatory_extension Nw_ws_close_code_t = 1010
	// @const nw_ws_close_code_internal_server_error Indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
	Nw_ws_close_code_internal_server_error Nw_ws_close_code_t = 1011
	// @const nw_ws_close_code_tls_handshake A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified).
	Nw_ws_close_code_tls_handshake Nw_ws_close_code_t = 1015
)

func (Nw_ws_close_code_t) String

func (e Nw_ws_close_code_t) String() string

type Nw_ws_opcode_t

type Nw_ws_opcode_t int64

@typedef nw_ws_opcode_t @abstract WebSocket opcodes that denote the type of frame sent or received by a WebSocket endpoint. Opcodes define the interpretation of their associated payload data.

const (
	// @const nw_ws_opcode_invalid Denotes an invalid frame.
	Nw_ws_opcode_invalid Nw_ws_opcode_t = -1
	// @const nw_ws_opcode_cont Denotes a continuation frame. Protocol WebSocket handles continuation frames internally, so clients will not see or use continuation frames.
	Nw_ws_opcode_cont Nw_ws_opcode_t = 0
	// @const nw_ws_opcode_text Denotes a text frame.
	Nw_ws_opcode_text Nw_ws_opcode_t = 1
	// @const nw_ws_opcode_text Denotes a binary frame.
	Nw_ws_opcode_binary Nw_ws_opcode_t = 2
	// @const nw_ws_opcode_text Denotes a close frame.
	Nw_ws_opcode_close Nw_ws_opcode_t = 8
	// @const nw_ws_opcode_text Denotes a ping frame.
	Nw_ws_opcode_ping Nw_ws_opcode_t = 9
	// @const nw_ws_opcode_text Denotes a pong frame.
	Nw_ws_opcode_pong Nw_ws_opcode_t = 10
)

func (Nw_ws_opcode_t) String

func (e Nw_ws_opcode_t) String() string

type Nw_ws_response_status_t

type Nw_ws_response_status_t int64

@typedef nw_ws_response_status_t @abstract The status of a WebSocket server's response to a client's request to connect.

const (
	// @const nw_ws_response_status_invalid The response is invalid. This should be treated as an unexpected value.
	Nw_ws_response_status_invalid Nw_ws_response_status_t = 0
	// @const nw_ws_response_status_accept Accept the request to connect. The WebSocket connection will begin framing data.
	Nw_ws_response_status_accept Nw_ws_response_status_t = 1
	// @const nw_ws_response_status_accept Reject the request to connect. The WebSocket connection will be closed.
	Nw_ws_response_status_reject Nw_ws_response_status_t = 2
)

func (Nw_ws_response_status_t) String

func (e Nw_ws_response_status_t) String() string

type Nw_ws_version_t

type Nw_ws_version_t int64

@typedef nw_ws_version_t @abstract The WebSocket Protocol version.

const (
	// @const nw_ws_version_invalid An invalid WebSocket version
	Nw_ws_version_invalid Nw_ws_version_t = 0
	// @const nw_ws_version_13 WebSocket v13 as defined in RFC 6455
	Nw_ws_version_13 Nw_ws_version_t = 1
)

func (Nw_ws_version_t) String

func (e Nw_ws_version_t) String() string

type OS_nw_advertise_descriptor

type OS_nw_advertise_descriptor interface {
}

OS_nw_advertise_descriptor wraps the ObjC protocol OS_nw_advertise_descriptor.

type OS_nw_browse_descriptor

type OS_nw_browse_descriptor interface {
}

OS_nw_browse_descriptor wraps the ObjC protocol OS_nw_browse_descriptor.

type OS_nw_browse_result

type OS_nw_browse_result interface {
}

OS_nw_browse_result wraps the ObjC protocol OS_nw_browse_result.

type OS_nw_browser

type OS_nw_browser interface {
}

OS_nw_browser wraps the ObjC protocol OS_nw_browser.

type OS_nw_connection

type OS_nw_connection interface {
}

OS_nw_connection wraps the ObjC protocol OS_nw_connection.

type OS_nw_connection_group

type OS_nw_connection_group interface {
}

OS_nw_connection_group wraps the ObjC protocol OS_nw_connection_group.

type OS_nw_content_context

type OS_nw_content_context interface {
}

OS_nw_content_context wraps the ObjC protocol OS_nw_content_context.

type OS_nw_data_transfer_report

type OS_nw_data_transfer_report interface {
}

OS_nw_data_transfer_report wraps the ObjC protocol OS_nw_data_transfer_report.

type OS_nw_endpoint

type OS_nw_endpoint interface {
}

OS_nw_endpoint wraps the ObjC protocol OS_nw_endpoint.

type OS_nw_error

type OS_nw_error interface {
}

OS_nw_error wraps the ObjC protocol OS_nw_error.

type OS_nw_establishment_report

type OS_nw_establishment_report interface {
}

OS_nw_establishment_report wraps the ObjC protocol OS_nw_establishment_report.

type OS_nw_ethernet_channel

type OS_nw_ethernet_channel interface {
}

OS_nw_ethernet_channel wraps the ObjC protocol OS_nw_ethernet_channel.

type OS_nw_framer

type OS_nw_framer interface {
}

OS_nw_framer wraps the ObjC protocol OS_nw_framer.

type OS_nw_group_descriptor

type OS_nw_group_descriptor interface {
}

OS_nw_group_descriptor wraps the ObjC protocol OS_nw_group_descriptor.

type OS_nw_interface

type OS_nw_interface interface {
}

OS_nw_interface wraps the ObjC protocol OS_nw_interface.

type OS_nw_listener

type OS_nw_listener interface {
}

OS_nw_listener wraps the ObjC protocol OS_nw_listener.

type OS_nw_object

type OS_nw_object interface {
}

OS_nw_object wraps the ObjC protocol OS_nw_object.

type OS_nw_parameters

type OS_nw_parameters interface {
}

OS_nw_parameters wraps the ObjC protocol OS_nw_parameters.

type OS_nw_path

type OS_nw_path interface {
}

OS_nw_path wraps the ObjC protocol OS_nw_path.

type OS_nw_path_monitor

type OS_nw_path_monitor interface {
}

OS_nw_path_monitor wraps the ObjC protocol OS_nw_path_monitor.

type OS_nw_privacy_context

type OS_nw_privacy_context interface {
}

OS_nw_privacy_context wraps the ObjC protocol OS_nw_privacy_context.

type OS_nw_protocol_definition

type OS_nw_protocol_definition interface {
}

OS_nw_protocol_definition wraps the ObjC protocol OS_nw_protocol_definition.

type OS_nw_protocol_metadata

type OS_nw_protocol_metadata interface {
}

OS_nw_protocol_metadata wraps the ObjC protocol OS_nw_protocol_metadata.

type OS_nw_protocol_options

type OS_nw_protocol_options interface {
}

OS_nw_protocol_options wraps the ObjC protocol OS_nw_protocol_options.

type OS_nw_protocol_stack

type OS_nw_protocol_stack interface {
}

OS_nw_protocol_stack wraps the ObjC protocol OS_nw_protocol_stack.

type OS_nw_proxy_config

type OS_nw_proxy_config interface {
}

OS_nw_proxy_config wraps the ObjC protocol OS_nw_proxy_config.

type OS_nw_relay_hop

type OS_nw_relay_hop interface {
}

OS_nw_relay_hop wraps the ObjC protocol OS_nw_relay_hop.

type OS_nw_resolution_report

type OS_nw_resolution_report interface {
}

OS_nw_resolution_report wraps the ObjC protocol OS_nw_resolution_report.

type OS_nw_resolver_config

type OS_nw_resolver_config interface {
}

OS_nw_resolver_config wraps the ObjC protocol OS_nw_resolver_config.

type OS_nw_txt_record

type OS_nw_txt_record interface {
}

OS_nw_txt_record wraps the ObjC protocol OS_nw_txt_record.

type OS_nw_ws_request

type OS_nw_ws_request interface {
}

OS_nw_ws_request wraps the ObjC protocol OS_nw_ws_request.

type OS_nw_ws_response

type OS_nw_ws_response interface {
}

OS_nw_ws_response wraps the ObjC protocol OS_nw_ws_response.

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Ptrauth_key

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

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

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

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Jump to

Keyboard shortcuts

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