Crate libzt[][src]

Modules

node
socket
tcp
udp
utils

Structs

__fsid_t
zts_addr_info_t

Details about an assigned address that was added or removed

zts_event_msg_t

Callback message

zts_fd_set
zts_hostent
zts_in6_addr
zts_in_addr
zts_in_pktinfo
zts_iovec
zts_ip4_addr
zts_ip6_addr

This is the aligned version of ip6_addr_t, used as local variable, on the stack, etc.

zts_ip_addr

A union struct for both IP version’s addresses. ATTENTION: watch out for its size when adding IPv6 address scope!

zts_ip_mreq
zts_ipv6_mreq
zts_linger
zts_msghdr
zts_multicast_group_t

An Ethernet multicast group

zts_net_info_t

Virtual network configuration

zts_net_info_t__bindgen_ty_1

Multicast groups to which this network’s device is subscribed

zts_netif_info_t

Structure used to convey information about a virtual network interface (netif) to a user application.

zts_node_info_t

Runtime details about the current node

zts_path_t

Physical network path to a peer

zts_peer_info_t

Peer status result buffer

zts_pollfd
zts_root_set_t

Structure used to specify a root topology (aka a world)

zts_route_info_t

A route to be pushed on a virtual network

zts_sockaddr

Pointers to socket address structures are often cast to this type

zts_sockaddr_in

Address structure to specify an IPv4 endpoint

zts_sockaddr_in6

Address structure to specify an IPv6 endpoint

zts_sockaddr_storage

Address structure large enough to hold IPv4 and IPv6 addresses

zts_stats_counter_t

Structure containing counters for various protocol statistics

zts_timeval

Constants

F_LOCK
F_OK
F_TEST
F_TLOCK
F_ULOCK
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LWIP_SOCKET_OFFSET
L_INCR
L_SET
L_XTND
MEMP_NUM_NETCONN
PTRDIFF_MAX
PTRDIFF_MIN
R_OK
SEEK_CUR
SEEK_END
SEEK_SET
SIG_ATOMIC_MA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IG_OFFBIG_LINTFLAGS
_DEFAULT_SOURCE
_FEATURES_H
_GETOPT_CORE_H
_GETOPT_POSIX_H
_LFS64_ASYNCHRONOUS_IO
_LFS64_LARGEFILE
_LFS64_STDIO
_LFS_ASYNCHRONOUS_IO
_LFS_LARGEFILE
_PC_2_SYMLINKS
_PC_ALLOC_SIZE_MIN
_PC_ASYNC_IO
_PC_CHOWN_RESTRICTED
_PC_FILESIZEBITS
_PC_LINK_MAX
_PC_MAX_CANON
_PC_MAX_INPUT
_PC_NAME_MAX
_PC_NO_TRUNC
_PC_PATH_MAX
_PC_PIPE_BUF
_PC_PRIO_IO
_PC_REC_INCR_XFER_SIZE
_PC_REC_MAX_XFER_SIZE
_PC_REC_MIN_XFER_SIZE
_PC_REC_XFER_ALIGN
_PC_SOCK_MAXBUF
_PC_SYMLINK_MAX
_PC_SYNC_IO
_PC_VDISABLE
_POSIX2_CHAR_TERM
_POSIX2_C_BIND
_POSIX2_C_DEV
_POSIX2_C_VERSION
_POSIX2_LOCALEDEF
_POSIX2_SW_DEV
_POSIX2_VERSION
_POSIX_ADVISORY_INFO
_POSIX_ASYNCHRONOUS_IO
_POSIX_ASYNC_IO
_POSIX_BARRIERS
_POSIX_CHOWN_RESTRICTED
_POSIX_CLOCK_SELECTION
_POSIX_CPUTIME
_POSIX_C_SOURCE
_POSIX_FSYNC
_POSIX_IPV6
_POSIX_JOB_CONTROL
_POSIX_MAPPED_FILES
_POSIX_MEMLOCK
_POSIX_MEMLOCK_RANGE
_POSIX_MEMORY_PROTECTION
_POSIX_MESSAGE_PASSING
_POSIX_MONOTONIC_CLOCK
_POSIX_NO_TRUNC
_POSIX_PRIORITIZED_IO
_POSIX_PRIORITY_SCHEDULING
_POSIX_RAW_SOCKETS
_POSIX_READER_WRITER_LOCKS
_POSIX_REALTIME_SIGNALS
_POSIX_REENTRANT_FUNCTIONS
_POSIX_REGEXP
_POSIX_SAVED_IDS
_POSIX_SEMAPHORES
_POSIX_SHARED_MEMORY_OBJECTS
_POSIX_SHELL
_POSIX_SOURCE
_POSIX_SPAWN
_POSIX_SPIN_LOCKS
_POSIX_SPORADIC_SERVER
_POSIX_SYNCHRONIZED_IO
_POSIX_THREADS
_POSIX_THREAD_ATTR_STACKADDR
_POSIX_THREAD_ATTR_STACKSIZE
_POSIX_THREAD_CPUTIME
_POSIX_THREAD_PRIORITY_SCHEDULING
_POSIX_THREAD_PRIO_INHERIT
_POSIX_THREAD_PRIO_PROTECT
_POSIX_THREAD_PROCESS_SHARED
_POSIX_THREAD_ROBUST_PRIO_INHERIT
_POSIX_THREAD_ROBUST_PRIO_PROTECT
_POSIX_THREAD_SAFE_FUNCTIONS
_POSIX_THREAD_SPORADIC_SERVER
_POSIX_TIMEOUTS
_POSIX_TIMERS
_POSIX_TRACE
_POSIX_TRACE_EVENT_FILTER
_POSIX_TRACE_INHERIT
_POSIX_TRACE_LOG
_POSIX_TYPED_MEMORY_OBJECTS
_POSIX_V6_LP64_OFF64
_POSIX_V6_LPBIG_OFFBIG
_POSIX_V7_LP64_OFF64
_POSIX_V7_LPBIG_OFFBIG
_POSIX_VDISABLE
_POSIX_VERSION
_SC_2_CHAR_TERM
_SC_2_C_BIND
_SC_2_C_DEV
_SC_2_C_VERSION
_SC_2_FORT_DEV
_SC_2_FORT_RUN
_SC_2_LOCALEDEF
_SC_2_PBS
_SC_2_PBS_ACCOUNTING
_SC_2_PBS_CHECKPOINT
_SC_2_PBS_LOCATE
_SC_2_PBS_MESSAGE
_SC_2_PBS_TRACK
_SC_2_SW_DEV
_SC_2_UPE
_SC_2_VERSION
_SC_ADVISORY_INFO
_SC_AIO_LISTIO_MAX
_SC_AIO_MAX
_SC_AIO_PRIO_DELTA_MAX
_SC_ARG_MAX
_SC_ASYNCHRONOUS_IO
_SC_ATEXIT_MAX
_SC_AVPHYS_PAGES
_SC_BARRIERS
_SC_BASE
_SC_BC_BASE_MAX
_SC_BC_DIM_MAX
_SC_BC_SCALE_MAX
_SC_BC_STRING_MAX
_SC_C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L_ARGMAX
_SC_NL_LANGMAX
_SC_NL_MSGMAX
_SC_NL_NMAX
_SC_NL_SETMAX
_SC_NL_TEXTMAX
_SC_NPROCESSORS_CONF
_SC_NPROCESSORS_ONLN
_SC_NZERO
_SC_OPEN_MAX
_SC_PAGESIZE
_SC_PASS_MAX
_SC_PHYS_PAGES
_SC_PII
_SC_PII_INTERNET
_SC_PII_INTERNET_DGRAM
_SC_PII_INTERNET_STREAM
_SC_PII_OSI
_SC_PII_OSI_CLTS
_SC_PII_OSI_COTS
_SC_PII_OSI_M
_SC_PII_SOCKET
_SC_PII_XTI
_SC_PIPE
_SC_POLL
_SC_PRIORITIZED_IO
_SC_PRIORITY_SCHEDULING
_SC_RAW_SOCKETS
_SC_READER_WRITER_LOCKS
_SC_REALTIME_SIGNALS
_SC_REGEXP
_SC_REGEX_VERSION
_SC_RE_DUP_MAX
_SC_RTSIG_MAX
_SC_SAVED_IDS
_SC_SCHAR_MAX
_SC_SCHAR_MIN
_SC_SELECT
_SC_SEMAPHORES
_SC_SEM_NSEMS_MAX
_SC_SEM_VALUE_MAX
_SC_SHARED_MEMORY_OBJECTS
_SC_SHELL
_SC_SHRT_MAX
_SC_SHRT_MIN
_SC_SIGNALS
_SC_SIGQUEUE_MAX
_SC_SINGLE_PROCESS
_SC_SPAWN
_SC_SPIN_LOCKS
_SC_SPORADIC_SERVER
_SC_SSIZE_MAX
_SC_SS_REPL_MAX
_SC_STREAMS
_SC_STREAM_MAX
_SC_SYMLOOP_MAX
_SC_SYNCHRONIZED_IO
_SC_SYSTEM_DATABASE
_SC_SYSTEM_DATABASE_R
_SC_THREADS
_SC_THREAD_ATTR_STACKADDR
_SC_THREAD_ATTR_STACKSIZE
_SC_THREAD_CPUTIME
_SC_THREAD_DESTRUCTOR_ITERATIONS
_SC_THREAD_KEYS_MAX
_SC_THREAD_PRIORITY_SCHEDULING
_SC_THREAD_PRIO_INHERIT
_SC_THREAD_PRIO_PROTECT
_SC_THREAD_PROCESS_SHARED
_SC_THREAD_ROBUST_PRIO_INHERIT
_SC_THREAD_ROBUST_PRIO_PROTECT
_SC_THREAD_SAFE_FUNCTIONS
_SC_THREAD_SPORADIC_SERVER
_SC_THREAD_STACK_MIN
_SC_THREAD_THREADS_MAX
_SC_TIMEOUTS
_SC_TIMERS
_SC_TIMER_MAX
_SC_TRACE
_SC_TRACE_EVENT_FILTER
_SC_TRACE_EVENT_NAME_MAX
_SC_TRACE_INHERIT
_SC_TRACE_LOG
_SC_TRACE_NAME_MAX
_SC_TRACE_SYS_MAX
_SC_TRACE_USER_EVENT_MAX
_SC_TTY_NAME_MAX
_SC_TYPED_MEMORY_OBJECTS
_SC_TZNAME_MAX
_SC_T_IOV_MAX
_SC_UCHAR_MAX
_SC_UINT_MAX
_SC_UIO_MAXIOV
_SC_ULONG_MAX
_SC_USER_GROUPS
_SC_USER_GROUPS_R
_SC_USHRT_MAX
_SC_V6_ILP32_OFF32
_SC_V6_ILP32_OFFBIG
_SC_V6_LP64_OFF64
_SC_V6_LPBIG_OFFBIG
_SC_V7_ILP32_OFF32
_SC_V7_ILP32_OFFBIG
_SC_V7_LP64_OFF64
_SC_V7_LPBIG_OFFBIG
_SC_VERSION
_SC_WORD_BIT
_SC_XBS5_ILP32_OFF32
_SC_XBS5_ILP32_OFFBIG
_SC_XBS5_LP64_OFF64
_SC_XBS5_LPBIG_OFFBIG
_SC_XOPEN_CRYPT
_SC_XOPEN_ENH_I18N
_SC_XOPEN_LEGACY
_SC_XOPEN_REALTIME
_SC_XOPEN_REALTIME_THREADS
_SC_XOPEN_SHM
_SC_XOPEN_STREAMS
_SC_XOPEN_UNIX
_SC_XOPEN_VERSION
_SC_XOPEN_XCU_VERSION
_SC_XOPEN_XPG2
_SC_XOPEN_XPG3
_SC_XOPEN_XPG4
_STDC_PREDEF_H
_STDINT_H
_SYS_CDEFS_H
_UNISTD_H
_XBS5_LP64_OFF64
_XBS5_LPBIG_OFFBIG
_XOPEN_ENH_I18N
_XOPEN_LEGACY
_XOPEN_REALTIME
_XOPEN_REALTIME_THREADS
_XOPEN_SHM
_XOPEN_UNIX
_XOPEN_VERSION
_XOPEN_XCU_VERSION
_XOPEN_XPG2
_XOPEN_XPG3
_XOPEN_XPG4
__FD_SETSIZE
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__ILP32_OFF32_CFLAGS
__ILP32_OFF32_LDFLAGS
__ILP32_OFFBIG_CFLAGS
__ILP32_OFFBIG_LDFLAGS
__INO_T_MATCHES_INO64_T
__LONG_DOUBLE_USES_FLOAT128
__LP64_OFF64_CFLAGS
__LP64_OFF64_LDFLAGS
__OFF_T_MATCHES_OFF64_T
__POSIX2_THIS_VERSION
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__glibc_c99_flexarr_available
zts_errno_t_ZTS_EACCES

Permission denied

zts_errno_t_ZTS_EADDRINUSE

Address already in use

zts_errno_t_ZTS_EADDRNOTAVAIL

Cannot assign requested address

zts_errno_t_ZTS_EAFNOSUPPORT

Address family not supported by protocol

zts_errno_t_ZTS_EAGAIN

Try again

zts_errno_t_ZTS_EALREADY

Operation already in progress

zts_errno_t_ZTS_EBADF

Bad file number

zts_errno_t_ZTS_EBUSY

Device or resource busy

zts_errno_t_ZTS_ECONNABORTED

Software caused connection abort

zts_errno_t_ZTS_ECONNREFUSED

Connection timed out

zts_errno_t_ZTS_ECONNRESET

Connection reset by peer

zts_errno_t_ZTS_EDESTADDRREQ

Destination address required

zts_errno_t_ZTS_EEXIST

File exists

zts_errno_t_ZTS_EFAULT

Bad address

zts_errno_t_ZTS_EHOSTUNREACH

No route to host

zts_errno_t_ZTS_EINPROGRESS

Operation now in progress

zts_errno_t_ZTS_EINTR

Interrupted system call

zts_errno_t_ZTS_EINVAL

Invalid argument

zts_errno_t_ZTS_EIO

I/O error

zts_errno_t_ZTS_EISCONN

Transport endpoint is already connected

zts_errno_t_ZTS_EMFILE

Too many open files

zts_errno_t_ZTS_EMSGSIZE

Message too long

zts_errno_t_ZTS_ENETDOWN

Network is down

zts_errno_t_ZTS_ENETUNREACH

Network is unreachable

zts_errno_t_ZTS_ENFILE

File table overflow

zts_errno_t_ZTS_ENOBUFS

No buffer space available

zts_errno_t_ZTS_ENODEV

No such device

zts_errno_t_ZTS_ENOENT

No such file or directory

zts_errno_t_ZTS_ENOMEM

Out of memory

zts_errno_t_ZTS_ENOPROTOOPT

Protocol not available

zts_errno_t_ZTS_ENOSYS

Function not implemented

zts_errno_t_ZTS_ENOTCONN

Transport endpoint is not connected

zts_errno_t_ZTS_ENOTSOCK

Socket operation on non-socket

zts_errno_t_ZTS_ENXIO

No such device or address

zts_errno_t_ZTS_EOPNOTSUPP

Operation not supported on transport endpoint

zts_errno_t_ZTS_EPERM

Operation not permitted

zts_errno_t_ZTS_EPFNOSUPPORT

Protocol family not supported

zts_errno_t_ZTS_EPROTONOSUPPORT

Protocol not supported

zts_errno_t_ZTS_EPROTOTYPE

Protocol wrong type for socket

zts_errno_t_ZTS_ESOCKTNOSUPPORT

Socket type not supported

zts_errno_t_ZTS_ESRCH

No such process

zts_errno_t_ZTS_ETIMEDOUT

Connection timed out

zts_errno_t_ZTS_EWOULDBLOCK

Operation would block

zts_error_t_ZTS_ERR_ARG

Invalid argument

zts_error_t_ZTS_ERR_GENERAL

Consider filing a bug report

zts_error_t_ZTS_ERR_NO_RESULT

No result (not necessarily an error)

zts_error_t_ZTS_ERR_OK

No error

zts_error_t_ZTS_ERR_SERVICE

This operation is not allowed at this time. Or possibly the node hasn’t been started

zts_error_t_ZTS_ERR_SOCKET

Socket error, see zts_errno

zts_event_t_ZTS_EVENT_ADDR_ADDED_IP4

A new managed IPv4 address was assigned to this peer

zts_event_t_ZTS_EVENT_ADDR_ADDED_IP6

A new managed IPv4 address was assigned to this peer

zts_event_t_ZTS_EVENT_ADDR_REMOVED_IP4

A managed IPv4 address assignment was removed from this peer

zts_event_t_ZTS_EVENT_ADDR_REMOVED_IP6

A managed IPv6 address assignment was removed from this peer

zts_event_t_ZTS_EVENT_NETIF_DOWN

lwIP netif down (for debug purposes)

zts_event_t_ZTS_EVENT_NETIF_LINK_DOWN

lwIP netif link down (for debug purposes)

zts_event_t_ZTS_EVENT_NETIF_LINK_UP

lwIP netif link up (for debug purposes)

zts_event_t_ZTS_EVENT_NETIF_REMOVED

lwIP netif removed (for debug purposes)

zts_event_t_ZTS_EVENT_NETIF_UP

lwIP netif up (for debug purposes)

zts_event_t_ZTS_EVENT_NETWORK_ACCESS_DENIED

The node is not allowed to join the network (you must authorize node)

zts_event_t_ZTS_EVENT_NETWORK_CLIENT_TOO_OLD

The version of ZeroTier inside libzt is too old

zts_event_t_ZTS_EVENT_NETWORK_DOWN

Network controller is unreachable

zts_event_t_ZTS_EVENT_NETWORK_NOT_FOUND

Network ID does not correspond to a known network

zts_event_t_ZTS_EVENT_NETWORK_OK

The node joined the network successfully (no action needed)

zts_event_t_ZTS_EVENT_NETWORK_READY_IP4

The node has received an IPv4 address from the network controller

zts_event_t_ZTS_EVENT_NETWORK_READY_IP4_IP6

Deprecated

zts_event_t_ZTS_EVENT_NETWORK_READY_IP6

The node has received an IPv6 address from the network controller

zts_event_t_ZTS_EVENT_NETWORK_REQ_CONFIG

The configuration for a network has been requested (no action needed)

zts_event_t_ZTS_EVENT_NETWORK_UPDATE

Network change received from controller

zts_event_t_ZTS_EVENT_NODE_DOWN

Node is shutting down

zts_event_t_ZTS_EVENT_NODE_FATAL_ERROR

A fatal error has occurred. One possible reason is:

zts_event_t_ZTS_EVENT_NODE_OFFLINE

Node is offline – network does not seem to be reachable by any available strategy

zts_event_t_ZTS_EVENT_NODE_ONLINE

Node is online – at least one upstream node appears reachable

zts_event_t_ZTS_EVENT_NODE_UP

Node has been initialized

zts_event_t_ZTS_EVENT_PEER_DIRECT

A direct P2P path to peer is known

zts_event_t_ZTS_EVENT_PEER_PATH_DEAD

A known path to a peer is now considered dead

zts_event_t_ZTS_EVENT_PEER_PATH_DISCOVERED

A new path to a peer was discovered

zts_event_t_ZTS_EVENT_PEER_RELAY

A direct P2P path to peer is NOT known. Traffic is now relayed

zts_event_t_ZTS_EVENT_PEER_UNREACHABLE

A peer is unreachable. Check NAT/Firewall settings

zts_event_t_ZTS_EVENT_ROUTE_ADDED

A new managed network route was added

zts_event_t_ZTS_EVENT_ROUTE_REMOVED

A managed network route was removed

zts_event_t_ZTS_EVENT_STACK_DOWN

TCP/IP stack (lwIP) id down (for debug purposes)

zts_event_t_ZTS_EVENT_STACK_UP

TCP/IP stack (lwIP) is up (for debug purposes)

zts_event_t_ZTS_EVENT_STORE_IDENTITY_PUBLIC

The node’s public key (identity)

zts_event_t_ZTS_EVENT_STORE_IDENTITY_SECRET

The node’s secret key (identity)

zts_event_t_ZTS_EVENT_STORE_NETWORK

New network config

zts_event_t_ZTS_EVENT_STORE_PEER

New reachability hints and peer configuration

zts_event_t_ZTS_EVENT_STORE_PLANET

The node has received an updated planet config

zts_net_info_type_t_ZTS_NETWORK_TYPE_PRIVATE

Private networks are authorized via certificates of membership

zts_net_info_type_t_ZTS_NETWORK_TYPE_PUBLIC

Public networks have no access control – they’ll always be AUTHORIZED

zts_network_status_t_ZTS_NETWORK_STATUS_ACCESS_DENIED

Netconf master told us ‘nope’

zts_network_status_t_ZTS_NETWORK_STATUS_CLIENT_TOO_OLD

ZeroTier core version too old

zts_network_status_t_ZTS_NETWORK_STATUS_NOT_FOUND

Netconf master exists, but this virtual network does not

zts_network_status_t_ZTS_NETWORK_STATUS_OK

Configuration received and we are authorized

zts_network_status_t_ZTS_NETWORK_STATUS_PORT_ERROR

Initialization of network failed or other internal error

zts_network_status_t_ZTS_NETWORK_STATUS_REQUESTING_CONFIGURATION

Waiting for network configuration (also means revision == 0)

zts_peer_role_t_ZTS_PEER_ROLE_LEAF

Ordinary node

zts_peer_role_t_ZTS_PEER_ROLE_MOON

Moon root

zts_peer_role_t_ZTS_PEER_ROLE_PLANET

Planetary root

Statics

__environ
optarg
opterr
optind
optopt
zts_errno

Functions

__getpgid
_exit
access
acct
alarm
brk
chdir
chown
chroot
close
confstr
crypt
daemon
dup
dup2
endusershell
execl
execle
execlp
execv
execve
execvp
faccessat
fchdir
fchown
fchownat
fdatasync
fexecve
fork
fpathconf
fsync
ftruncate
getcwd
getdomainname
getdtablesize
getegid
getentropy
geteuid
getgid
getgroups
gethostid
gethostname
getlogin
getlogin_r
getopt
getpagesize
getpass
getpgid
getpgrp
getpid
getppid
getsid
getuid
getusershell
getwd
isatty
lchown
link
linkat
lockf
lseek
nice
pathconf
pause
pipe
pread
profil
pwrite
read
readlink
readlinkat
revoke
rmdir
sbrk
setdomainname
setegid
seteuid
setgid
sethostid
sethostname
setlogin
setpgid
setpgrp
setregid
setreuid
setsid
setuid
setusershell
sleep
symlink
symlinkat
sync
syscall
sysconf
tcgetpgrp
tcsetpgrp
truncate
ttyname
ttyname_r
ttyslot
ualarm
unlink
unlinkat
usleep
vfork
vhangup
write
zts_accept

@brief Accept an incoming connection

zts_addr_compute_6plane

@brief Compute a 6PLANE IPv6 address for the given Network ID and Node ID

zts_addr_compute_6plane_str

@brief Compute 6PLANE IPv6 address for the given Network ID and Node ID and copy its null-terminated human-readable string representation into destination buffer.

zts_addr_compute_rfc4193

@brief Compute RFC4193 IPv6 address for the given Network ID and Node ID

zts_addr_compute_rfc4193_str

@brief Compute RFC4193 IPv6 address for the given Network ID and Node ID and copy its null-terminated human-readable string representation into destination buffer.

zts_addr_get

@brief Get the first-assigned IP on the given network.

zts_addr_get_all

@brief Get all IP addresses assigned to this node by the given network

zts_addr_get_str

@brief Get the first-assigned IP on the given network as a null-terminated human-readable string

zts_addr_is_assigned

@brief Return whether an address of the given family has been assigned by the network

zts_bind

@brief Bind a socket to a local address

zts_bsd_accept

@brief Accept an incoming connection

zts_bsd_bind

@brief Bind a socket to a local address

zts_bsd_close

@brief Close socket.

zts_bsd_connect

@brief Connect a socket to a remote host

zts_bsd_fcntl

@brief Issue file control commands on a socket

zts_bsd_gethostbyname

@brief Resolve a host-name

zts_bsd_getpeername

@brief Get the name (address) of the remote end of the socket

zts_bsd_getsockname

@brief Get the name (address) of the local end of the socket

zts_bsd_getsockopt

@brief Get socket options.

zts_bsd_ioctl

@brief Control a device

zts_bsd_listen

@brief Listen for incoming connections on socket

zts_bsd_poll

@brief Wait for some event on a file descriptor.

zts_bsd_read

@brief Read data from socket onto buffer

zts_bsd_readv

@brief Read data from socket into multiple buffers

zts_bsd_recv

@brief Receive data from remote host

zts_bsd_recvfrom

@brief Receive data from remote host

zts_bsd_recvmsg

@brief Receive a message from remote host

zts_bsd_select

@brief Monitor multiple file descriptors for “readiness”

zts_bsd_send

@brief Send data to remote host

zts_bsd_sendmsg

@brief Send message to remote host

zts_bsd_sendto

@brief Send data to remote host

zts_bsd_setsockopt

@brief Set socket options.

zts_bsd_shutdown

@brief Shut down some aspect of a socket

zts_bsd_socket

@brief Create a socket

zts_bsd_write

@brief Write data from buffer to socket

zts_bsd_writev

@brief Write data from multiple buffers to socket.

zts_close

@brief Close socket.

zts_connect

@brief Connect a socket to a remote host

zts_core_lock_obtain

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_lock_release

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_addr

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_addr_count

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_mc

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_mc_count

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_path

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_path_count

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_route

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_core_query_route_count

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

zts_dns_get_server

Obtain one of the currently configured DNS server.

zts_dns_set_server

Initialize one of the DNS servers.

zts_get_blocking

@brief Return whether blocking mode O_NONBLOCK is enabled

zts_get_data_available

@brief Return amount of data available to read from socket

zts_get_keepalive

@brief Return whether SO_KEEPALIVE is enabled

zts_get_last_socket_error

@brief Get the last error for the given socket

zts_get_linger_enabled

@brief Return whether SO_LINGER is enabled

zts_get_linger_value

@brief Return the value of SO_LINGER

zts_get_no_delay

@brief Return whether TCP_NODELAY is enabled

zts_get_pending_data_size

@brief Return the number of bytes available to read from the network buffer

zts_get_recv_buf_size

@brief Return the value of SO_RCVBUF

zts_get_recv_timeout

@brief Return the value of SO_RCVTIMEO

zts_get_reuse_addr

@brief Return whether SO_REUSEADDR is enabled

zts_get_send_buf_size

@brief Return the value of SO_SNDBUF

zts_get_send_timeout

@brief Return the value of SO_SNDTIMEO

zts_get_ttl

@brief Return the value of IP_TTL

zts_getpeername

@brief Get the name (address) of the remote end of the socket

zts_getsockname

@brief Get the name (address) of the local end of the socket

zts_id_new

@brief Generates a node identity (public/secret key-pair) and stores it in a user-provided buffer.

zts_id_pair_is_valid

@brief Verifies that a key-pair is valid. Checks formatting and pairing of key to address.

zts_inet_ntop

Convert IPv4 and IPv6 address structures to human-readable text form.

zts_inet_pton

Convert C-string IPv4 and IPv6 addresses to binary form.

zts_init_allow_id_cache

@brief Enable or disable whether the node will cache identities (enabled by default when zts_init_from_storage() is used.) Must be called before zts_node_start().

zts_init_allow_net_cache

@brief Enable or disable whether the node will cache network details (enabled by default when zts_init_from_storage() is used.) Must be called before zts_node_start().

zts_init_allow_peer_cache

@brief Enable or disable whether the node will cache peer details (enabled by default when zts_init_from_storage() is used.) Must be called before zts_node_start().

zts_init_allow_port_mapping

@brief Allow or disallow the use of port-mapping. This is enabled by default. This is an initialization function that can only be called before zts_node_start().

zts_init_allow_roots_cache

@brief Enable or disable whether the node will cache root definitions (enabled by default when zts_init_from_storage() is used.) Must be called before zts_node_start().

zts_init_allow_secondary_port

@brief Allow or disallow ZeroTier from automatically selecting a backup port to help get through buggy NAT. This is enabled by default. This port is randomly chosen and should be disabled if you want to control exactly which ports ZeroTier talks on and (iff) you know with absolute certainty that traffic on your chosen primary port is allowed. This is an initialization function that can only be called before zts_node_start().

zts_init_blacklist_if

@brief Blacklist an interface prefix (or name). This prevents ZeroTier from sending traffic over matching interfaces. This is an initialization function that can only be called before zts_node_start().

zts_init_from_memory

@brief Instruct ZeroTier to use the identity provided in key. This is an initialization function that can only be called before zts_node_start().

zts_init_from_storage

@brief Instruct ZeroTier to look for node identity files at the given location. This is an initialization function that can only be called before zts_node_start().

zts_init_set_event_handler
zts_init_set_port

@brief Set the port to which the node should bind. This is an initialization function that can only be called before zts_node_start().

zts_init_set_random_port_range

@brief Set range that random ports will be selected from. This is an initialization function that can only be called before zts_node_start().

zts_init_set_roots

@brief Present a root set definition for ZeroTier to use instead of the default. This is an initialization function that can only be called before zts_node_start().

zts_ipaddr_aton

Convert IP address string (both versions) to numeric. The version is auto-detected from the string.

zts_ipaddr_ntoa

Convert numeric IP address (both versions) into ASCII representation. returns ptr to static buffer. Not reentrant.

zts_listen

@brief Listen for incoming connections on socket

zts_moon_deorbit

@brief De-orbit a given moon (user-defined root server)

zts_moon_orbit

@brief Orbit a given moon (user-defined root server)

zts_net_compute_adhoc_id

@brief Compute RFC4193 IPv6 address for the given Network ID and Node ID

zts_net_get_broadcast

@brief Return whether broadcast is enabled on this network

zts_net_get_mac

@brief Get the MAC Address for this node on the given network

zts_net_get_mac_str

@brief Get the MAC Address for this node on the given network

zts_net_get_mtu

@brief Get the MTU of the given network

zts_net_get_name

@brief Get the nickname of the network

zts_net_get_status

@brief Get the status of the network

zts_net_get_type

@brief Get the type of network (public or private.)

zts_net_join

@brief Join a network

zts_net_leave

@brief Leave a network

zts_net_transport_is_ready

@brief Return whether this network is ready to send and receive traffic.

zts_node_free

@brief Stop all background threads, bring down all transport services, free all resources. After calling this function an application restart will be required before the library can be used again. Callable only after the node has been started.

zts_node_get_id

@brief Get the public node identity (aka node_id). Callable only after the node has been started.

zts_node_get_id_pair

@brief Copy the current node’s public (and secret!) identity into a buffer.

zts_node_get_port

@brief Get the primary port to which the node is bound. Callable only after the node has been started.

zts_node_is_online

@brief Return whether the node is online (Can reach the Internet)

zts_node_start

@brief Start the ZeroTier node. Should be called after calling the relevant zts_init_* functions for your application. To enable storage call zts_init_from_storage() before this function. To enable event callbacks call zts_init_set_event_handler() before this function.

zts_node_stop

@brief Stop the ZeroTier node and bring down all virtual network transport services. Callable only after the node has been started.

zts_read

@brief Read data from socket onto buffer

zts_recv

@brief Receive data from remote host

zts_route_is_assigned

@brief Return whether a managed route of the given address family has been assigned by the network

zts_send

@brief Send data to remote host

zts_set_blocking

@brief Change blocking behavior O_NONBLOCK

zts_set_keepalive

@brief Enable or disable SO_KEEPALIVE

zts_set_linger

@brief Enable or disable SO_LINGER while also setting its value

zts_set_no_delay

@brief Enable or disable TCP_NODELAY. Enabling this is equivalent to turning off Nagle’s algorithm

zts_set_recv_buf_size

@brief Set the value of SO_RCVBUF

zts_set_recv_timeout

@brief Set the value of SO_RCVTIMEO

zts_set_reuse_addr

@brief Enable or disable SO_REUSEADDR

zts_set_send_buf_size

@brief Set the value of SO_SNDBUF

zts_set_send_timeout

@brief Set the value of SO_SNDTIMEO

zts_set_ttl

@brief Set the value of IP_TTL

zts_shutdown_rd

@brief Shut down read aspect of a socket

zts_shutdown_rdwr

@brief Shut down both read and write aspect of a socket

zts_shutdown_wr

@brief Shut down write aspect of a socket

zts_socket

@brief Create a socket

zts_stats_get_all

@brief Get all statistical counters for all protocols and levels. See also: lwip/stats.h.

zts_tcp_client

@brief A convenience function that takes a remote address IP string and creates the appropriate type of socket, and uses it to connect to a remote host.

zts_tcp_server

@brief A convenience function that takes a remote address IP string and creates the appropriate type of socket, binds, listens, and then accepts on it.

zts_udp_client

@brief This function doesn’t really do anything other than be a namespace counterpart to zts_udp_server. All this function does is create a ZTS_SOCK_DGRAM socket and return its file descriptor.

zts_udp_server

@brief A convenience function that takes a remote address IP string and creates the appropriate type of socket, and binds to it.

zts_util_delay

@brief Platform-agnostic delay

zts_util_get_ip_family

@brief Return the family type of the IP string

zts_util_ipstr_to_saddr

Convert human-friendly IP string to zts_sockaddr_in or zts_sockaddr_in6.

zts_util_ntop

@brief Similar to inet_ntop but determines family automatically and returns port as a value result parameter.

zts_util_sign_root_set

@brief Generates a new root set definition

zts_write

@brief Write data from buffer to socket

Type Definitions

__blkcnt64_t
__blkcnt_t
__blksize_t
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
_bindgen_ty_1
_bindgen_ty_2
_bindgen_ty_3
gid_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
off_t
pid_t
size_t
socklen_t
ssize_t
uid_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
useconds_t
zts_errno_t
zts_error_t

Common error return values

zts_event_t

Event codes used by the (optional) callback API

zts_in_addr_t
zts_in_port_t
zts_net_info_type_t

Virtual network type codes

zts_network_status_t

Virtual network status codes

zts_nfds_t
zts_peer_role_t

The peer’s trust hierarchy role

zts_sa_family_t
zts_socklen_t

Unions

zts_in6_addr_un
zts_ip_addr__bindgen_ty_1