Skip to main content

zts_route_info_t

More...

#include <ZeroTierSockets.h>

Public Attributes#

Name
struct zts_sockaddr_storagetarget
struct zts_sockaddr_storagevia
uint16_tflags
uint16_tmetric

Detailed Description#

struct zts_route_info_t;

A route to be pushed on a virtual network

Public Attributes Documentation#

variable target#

struct zts_sockaddr_storage target;

Target network / netmask bits (in port field) or NULL or 0.0.0.0/0 for default

variable via#

struct zts_sockaddr_storage via;

Gateway IP address (port ignored) or NULL (family == 0) for LAN-local (no gateway)

variable flags#

uint16_t flags;

Route flags

variable metric#

uint16_t metric;

Route metric (not currently used)


Updated on 25 October 2021 at 23:59:59 UTC