Skip to main content

ZT_VirtualNetworkRoute

More...

#include <ZeroTierOne.h>

Public Attributes#

Name
struct sockaddr_storagetarget
struct sockaddr_storagevia
uint16_tflags
uint16_tmetric

Detailed Description#

struct ZT_VirtualNetworkRoute;

A route to be pushed on a virtual network

Public Attributes Documentation#

variable target#

struct sockaddr_storage target;

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

variable via#

struct 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