Speedify SDK for Desktop  14.7.0
types.h
Go to the documentation of this file.
1 // Copyright 2019, Connectify, Inc. All Rights Reserved
2 
3 #ifndef SPEEDIFYSDK_TYPES
4 #define SPEEDIFYSDK_TYPES
5 
6 #include "sdkdefines.h"
7 #include <stdbool.h>
8 #include <stdint.h>
9 #include <time.h>
10 
11 #ifdef _WIN32
12 #include <ws2tcpip.h>
13 #else
14 #include <netinet/ip.h>
15 #include <arpa/inet.h>
16 #endif
17 
23 
24 
28 
29 
33 
34 
38 
39 
42 SpeedifySDK_EXTERN typedef struct {
51  uint16_t port;
55 SpeedifySDK_EXPORT void SpeedifySDK_InitializeCreateSettings(SpeedifySDK_CreateSettings *settings);
56 
59 SpeedifySDK_EXTERN typedef struct {
62  uint16_t major;
65  uint16_t minor;
68  uint16_t bugfix;
71  uint16_t build;
75 SpeedifySDK_EXPORT const char* SpeedifySDK_Version_toString(SpeedifySDK_Version state);
76 
77 
80 SpeedifySDK_EXTERN typedef enum {
111 SpeedifySDK_EXPORT const char* SpeedifySDK_State_toString(SpeedifySDK_State state);
112 
115 SpeedifySDK_EXTERN typedef enum {
149 SpeedifySDK_EXPORT const char* SpeedifySDK_AutoConnectMethod_toString(SpeedifySDK_AutoConnectMethod method);
150 
151 
154 SpeedifySDK_EXTERN typedef struct {
163  int num;
166  bool isPrivate;
169  bool isPremium;
176  uint16_t publicIPCount;
189 
195 SpeedifySDK_EXPORT const char* SpeedifySDK_ServerInformation_GetCityName(SpeedifySDK_ServerInformation server);
198 SpeedifySDK_EXPORT const char* SpeedifySDK_ServerInformation_toString(SpeedifySDK_ServerInformation server);
199 
212 
213 
214 
217 SpeedifySDK_EXTERN typedef enum {
230 SpeedifySDK_EXPORT const char* SpeedifySDK_AccountPaymentType_toString(SpeedifySDK_AccountPaymentType paymentType);
231 
234 SpeedifySDK_EXTERN typedef struct {
243  int64_t bytesAvailable;
246  int64_t bytesUsed;
249  bool isTeam;
255  int32_t minutesUsed;
261  struct tm dataPeriodEnd;
263 
264 
269 SpeedifySDK_EXTERN typedef enum {
282 SpeedifySDK_EXPORT const char* SpeedifySDK_ConnectionState_toString(SpeedifySDK_ConnectionState state);
283 
286 SpeedifySDK_EXTERN typedef enum {
317 SpeedifySDK_EXPORT const char* SpeedifySDK_NetworkType_toString(SpeedifySDK_NetworkType type);
318 
321 SpeedifySDK_EXTERN typedef enum {
344 SpeedifySDK_EXPORT const char* SpeedifySDK_ConnectionPriority_toString(SpeedifySDK_ConnectionPriority priority);
345 
348 SpeedifySDK_EXTERN typedef struct {
351  int64_t usageMonthly;
354  int64_t usageDaily;
371 
375 SpeedifySDK_EXTERN typedef struct {
384  char description[SPEEDIFYSDK_MAX_ADAPTER_NAME];
396  char connectedNetworkName[SPEEDIFYSDK_MAX_ADAPTER_NAME];
399  char connectedNetworkBSSID[SPEEDIFYSDK_MAX_ADAPTER_NAME];
402  int64_t rateLimit;
413 
414 
417 SpeedifySDK_EXTERN typedef struct {
429  int32_t num;
431 
434 SpeedifySDK_EXTERN typedef enum {
447 SpeedifySDK_EXPORT const char* SpeedifySDK_BondingMode_toString(SpeedifySDK_BondingMode priority);
448 
451 SpeedifySDK_EXTERN typedef enum {
476 SpeedifySDK_EXPORT const char* SpeedifySDK_TransportMode_toString(SpeedifySDK_TransportMode priority);
477 
480 SpeedifySDK_EXTERN typedef enum {
490 SpeedifySDK_EXPORT const char* SpeedifySDK_PortProtocol_toString(SpeedifySDK_PortProtocol portProto);
491 
494 SpeedifySDK_EXTERN typedef struct {
500  uint16_t port;
503  uint16_t portRangeEnd;
505 
509 
510 
513 SpeedifySDK_EXTERN typedef struct {
519  uint8_t prefixLength;
521 
524 SpeedifySDK_EXTERN typedef struct {
530  bool encrypted;
532 
535 SpeedifySDK_EXTERN typedef struct {
541  bool exposed;
543 
546 SpeedifySDK_EXTERN typedef struct {
552  uint16_t sockets;
554 
557 SpeedifySDK_EXTERN typedef struct {
565  bool encrypted;
580  uint16_t portsCount;
639  uint32_t maxRedundant;
647 
651 
654 SpeedifySDK_EXTERN typedef struct {
670 
673  uint16_t dnsAddressCount;
679 
685 
691 
698 SpeedifySDK_EXTERN typedef struct {
703  int64_t inFlight;
708  int64_t inFlightWindow;
711  bool connected;
714  bool sleeping;
722  char connectionID[SPEEDIFYSDK_MAX_ADAPTER_NAME];
733  double lossReceive;
738  double lossSend;
741  int64_t latencyMs;
758  uint32_t numberOfSockets;
767  int64_t totalBps;
772  int64_t sendBps;
777  int64_t receiveBps;
795  int32_t jitterMs;
801  float mos;
806  uint64_t sendBytes;
811  uint64_t receiveBytes;
813 
816 SpeedifySDK_EXTERN typedef struct {
819  uint64_t time;
822  uint16_t count;
827 
830 SpeedifySDK_EXTERN typedef struct {
833  uint64_t packetsIn;
836  uint64_t packetsOut;
839  uint64_t bytesIn;
842  uint64_t bytesOut;
845  uint64_t bufferWaits;
848  uint64_t packetWaits;
851  uint64_t readQueue;
854  uint64_t droppedIncoming;
856 
859 SpeedifySDK_EXTERN typedef struct {
862  uint64_t packetsIn;
865  uint64_t packetsOut;
868  uint64_t bytesIn;
871  uint64_t bytesOut;
874  uint64_t retries;
876 
879 SpeedifySDK_EXTERN typedef struct {
882  uint64_t detections;
885  uint64_t successes;
887 
890 SpeedifySDK_EXTERN typedef struct {
902  uint64_t totalStreams;
905  uint64_t uniqueSaves;
907 
910 SpeedifySDK_EXTERN typedef struct {
913  uint32_t period;
916  int64_t bytesReceived;
919  int64_t bytesSent;
934  int32_t daysSinceFirst;
937  int64_t numFailovers;
940  int64_t numSessions;
943  int64_t retransBytes;
968 
970 
973 SpeedifySDK_EXTERN typedef struct {
976  uint8_t periodCount;
981 
982 
985 SpeedifySDK_EXTERN typedef enum {
988  ET_OK = 0,
1027  ET_SDK_ASYNC = 0xE00,
1030  ET_SDK_ERROR = 0xF00,
1060 SpeedifySDK_EXPORT const char* SpeedifySDK_ErrorType_toString(SpeedifySDK_ErrorType error);
1061 
1064 SpeedifySDK_EXTERN typedef enum {
1074 SpeedifySDK_EXPORT const char* SpeedifySDK_ProxyMatchMode_toString(SpeedifySDK_ProxyMatchMode matchMode);
1075 
1079 
1082 SpeedifySDK_EXTERN typedef struct {
1088  bool enabled;
1102 
1105 SpeedifySDK_EXTERN typedef struct {
1108  bool enabled;
1117  uint16_t domainsCount;
1123  uint16_t ipv4Count;
1127  struct in_addr ipv4[SPEEDIFYSDK_MAX_PROXY_IPS];
1130  uint16_t ipv6Count;
1134  struct in6_addr ipv6[SPEEDIFYSDK_MAX_PROXY_IPS];
1137  uint16_t portsCount;
1149 
1150 
1154 
1157 SpeedifySDK_EXTERN typedef struct {
1160  uint16_t domainsCount;
1166  uint16_t ipv4Count;
1170  struct in_addr ipv4[SPEEDIFYSDK_MAX_STREAMING_IPS];
1173  uint16_t ipv6Count;
1177  struct in6_addr ipv6[SPEEDIFYSDK_MAX_STREAMING_IPS];
1180  uint16_t portsCount;
1186 
1189 SpeedifySDK_EXTERN typedef enum {
1202 SpeedifySDK_EXPORT const char* SpeedifySDK_FirewallMode_toString(SpeedifySDK_FirewallMode matchMode);
1203 
1207 
1210 SpeedifySDK_EXTERN typedef struct {
1216  uint16_t domainsCount;
1222  uint16_t ipv4Count;
1226  struct in_addr ipv4[SPEEDIFYSDK_MAX_FIREWALL_IPS];
1229  uint16_t ipv6Count;
1233  struct in6_addr ipv6[SPEEDIFYSDK_MAX_FIREWALL_IPS];
1236  uint16_t portsCount;
1242 
1243 
1246 SpeedifySDK_EXTERN typedef enum {
1261 SpeedifySDK_EXPORT const char* SpeedifySDK_StreamHealth_toString(SpeedifySDK_StreamHealth health);
1262 
1265 SpeedifySDK_EXTERN typedef struct {
1268  bool active;
1271  uint64_t duration;
1274  uint64_t id;
1277  uint64_t groupId;
1280  uint64_t startTime;
1283  double uploadSpeed;
1298  uint64_t speedModeSaves;
1301  uint64_t failoverSaves;
1313  uint16_t remotePort;
1322 
1323 
1326 SpeedifySDK_EXTERN typedef struct {
1332  uint32_t streamsCount;
1339  bool badLoss;
1347  bool badCpu;
1353 
1354 
1355 
1358 SpeedifySDK_EXTERN typedef enum {
1414 SpeedifySDK_EXPORT const char* SpeedifySDK_DisconnectReason_toString(SpeedifySDK_DisconnectReason reason);
1415 
1418 SpeedifySDK_EXTERN typedef struct {
1425  int64_t sessionEnd;
1428  int64_t sessionLength;
1430 
1431 
1434 SpeedifySDK_EXTERN typedef enum {
1448 SpeedifySDK_EXPORT const char* SpeedifySDK_LogLevel_toString(SpeedifySDK_LogLevel level);
1449 
1452 SpeedifySDK_EXTERN typedef struct {
1458  int32_t fileSize;
1470  int32_t totalFiles;
1478 
1479 
1482 SpeedifySDK_EXTERN typedef struct {
1494 
1497 SpeedifySDK_EXTERN typedef enum {
1538 SpeedifySDK_EXTERN typedef enum {
1548 
1551 SpeedifySDK_EXTERN typedef enum {
1556 SpeedifySDK_EXPORT const char*
1558 
1561 SpeedifySDK_EXTERN typedef enum {
1565 
1568 SpeedifySDK_EXPORT const char* SpeedifySDK_SpeedTestType_toString(SpeedifySDK_SpeedTestType type);
1569 
1572 SpeedifySDK_EXTERN typedef struct {
1575  int64_t testTime;
1584  uint16_t numConnections;
1590  double uploadSpeed;
1593  bool isError;
1596  char errorMessage[SPEEDIFYSDK_MAX_ERROR_STRING];
1605  uint16_t fps;
1608  uint16_t jitter;
1611  uint16_t latency;
1614  double loss;
1616 
1626 
1629 SpeedifySDK_EXTERN typedef enum {
1640 
1643 SpeedifySDK_EXTERN typedef enum {
1654 
1658 
1661 SpeedifySDK_EXTERN typedef struct {
1684 
1687 SpeedifySDK_EXTERN typedef enum {
1698 
1702 
1705 SpeedifySDK_EXTERN typedef enum {
1737 
1741 
1744 SpeedifySDK_EXTERN typedef struct {
1747  uint64_t bytesToday;
1750  uint64_t bytesLastWeek;
1753  uint64_t bytesLastMonth;
1756  uint64_t bytesTotal;
1758 
1759 
1762 SpeedifySDK_EXTERN typedef struct {
1771  bool allowed;
1776 
1779 SpeedifySDK_EXTERN typedef struct {
1802 
1803 
1804 #endif
const char * SpeedifySDK_SafeBrowsing_LogLevel_toString(SpeedifySDK_SafeBrowsingLogLevel level)
Unknown.
Definition: types.h:313
uint16_t watchedDomainsCount
Number of watched domains.
Definition: types.h:1091
An invalid argument was supplied.
Definition: types.h:1036
SpeedifySDK_AdapterUsageData dataUsage
Data usage and limit information for this adapter.
Definition: types.h:405
uint64_t packetWaits
Number of packet pool waits.
Definition: types.h:848
Always use websocket.
Definition: types.h:463
uint64_t bytesTotal
bytes used total
Definition: types.h:1756
uint16_t publicIPCount
How many public IPs are in the list. Only available on connected server calls.
Definition: types.h:176
uint16_t dnsAddressCount
Number of configured dns addresses to forward.
Definition: types.h:673
SpeedifySDK_NetworkType type
Type of the adapter.
Definition: types.h:390
SpeedifySDK_NetworkSharingPeerRole
peer role
Definition: types.h:1629
bool sameUserAutoPair
If devices from the same user are automatically paired.
Definition: types.h:1679
uint16_t remotePort
The remote port that this stream is connected to.
Definition: types.h:1313
#define SPEEDIFYSDK_MAX_PROXY_DOMAINS
Maximum number of domains returned.
Definition: sdkdefines.h:59
Definition: types.h:1520
always ask
Definition: types.h:1646
TCP.
Definition: types.h:483
SpeedifySDK_AccountPaymentType
Information on an account's payment type.
Definition: types.h:217
const char * SpeedifySDK_ProxyMatchMode_toString(SpeedifySDK_ProxyMatchMode matchMode)
String representation of a SpeedifySDK_ProxyMatchMode.
Settings for the local proxy.
Definition: types.h:1105
#define SPEEDIFYSDK_MAX_ADAPTER_NAME
Adapter name length.
Definition: sdkdefines.h:35
Network sharing settings.
Definition: types.h:1661
bool clientEnabled
if network sharing client is enabled
Definition: types.h:1664
int64_t bytesReceived
bytes received this period
Definition: types.h:916
Account out of data.
Definition: types.h:1406
SpeedifySDK_DisconnectReason
Reason for a disconnect.
Definition: types.h:1358
SpeedifySDK_NetworkSharingConnection peerAsHost
Status of the connection to the host peer.
Definition: types.h:1800
Always use TCP.
Definition: types.h:454
Contains stats regarding the TUN, for use in session stats.
Definition: types.h:830
const char * SpeedifySDK_FirewallMode_toString(SpeedifySDK_FirewallMode matchMode)
String representation of a SpeedifySDK_ProxyMatchMode.
Definition: types.h:1524
bool sleeping
is sleeping. Used on Cellular connections to improve battery life.
Definition: types.h:714
SpeedifySDK_ProtocolPortPair SpeedifySDK_FirewallPort
A firewall port.
Definition: types.h:1206
uint16_t port
Port number, or 0 for any port.
Definition: types.h:500
Statistics about a connection.
Definition: types.h:698
SpeedifySDK_NetworkSharingTunnelStatus
Status of a NetworkSharing tunnel.
Definition: types.h:1705
#define SPEEDIFYSDK_MAX_CITY_LEN
City id.
Definition: sdkdefines.h:26
Synchronous call used from within asynchronous callback. Not supported.
Definition: types.h:1048
#define SPEEDIFYSDK_MAX_HOSTNAME_LENGTH
Length of the hostname field.
Definition: sdkdefines.h:157
uint16_t perConnectionEncryptionCount
Number of configured per-connection encryption settings.
Definition: types.h:595
double priorityOverflowThreshold
Priority overflow threshold, in megabits per second.
Definition: types.h:618
uint64_t time
timestamp of the connection stats
Definition: types.h:819
const char * SpeedifySDK_StreamHealth_toString(SpeedifySDK_StreamHealth health)
String representation of a SpeedifySDK_StreamHealth.
Data on an account.
Definition: types.h:234
#define SPEEDIFYSDK_MAX_FIREWALL_PORTS
Maximum number of ports returned.
Definition: sdkdefines.h:74
SpeedifySDK_SafeBrowsingError
Safe browsing errors.
Definition: types.h:1497
Connected.
Definition: types.h:278
Automatic reconnect from setting change.
Definition: types.h:1397
bool encrypted
Whether all connections will be enabled.
Definition: types.h:565
Definition: types.h:1501
Host's VPN not connected.
Definition: types.h:1732
uint16_t numConnections
How many connections were used during this test.
Definition: types.h:1584
SpeedifySDK_AutoConnectMethod
Methods for automatic server selection.
Definition: types.h:115
double sendEstimateMbps
estimated maximum megabits per second send.
Definition: types.h:783
Paid, yearly contract.
Definition: types.h:226
Definition: types.h:1540
SpeedifySDK_FirewallMode mode
How matches are handled.
Definition: types.h:1213
DNS timeout.
Definition: types.h:1400
Statistics for a single stream.
Definition: types.h:1265
Paid, monthly contract.
Definition: types.h:223
uint16_t domainsCount
Number of domains.
Definition: types.h:1216
double overflowThreshold
Overflow threshold, in megabits per second.
Definition: types.h:615
const char * SpeedifySDK_Version_toString(SpeedifySDK_Version state)
String representation of a SpeedifySDK_Version.
uint16_t fps
supported streaming frames per second (fps), only valid for streaming tests
Definition: types.h:1605
Error.
Definition: types.h:1446
Software update.
Definition: types.h:1373
Firewall settings.
Definition: types.h:1210
int64_t bytesSent
bytes sent this period
Definition: types.h:919
uint64_t packetsOut
Number of packets written to TUN.
Definition: types.h:836
An error in the SDK.
Definition: types.h:1030
int32_t minutesUsed
Minutes used this data period (typically a month) for this account.
Definition: types.h:255
UDP.
Definition: types.h:486
int64_t totalBps
bits per second through this tunnel
Definition: types.h:767
Definition: types.h:1528
Timeout waiting for result.
Definition: types.h:1033
SpeedifySDK_SpeedTestType testType
type of test
Definition: types.h:1599
uint16_t sockets
Number of parallel sockets.
Definition: types.h:552
bool domainWatchlistEnabled
Boolean to turn domain watchlist enablement on or off.
Definition: types.h:1111
uint64_t bytesOut
Number of bytes leaving packethandler (download)
Definition: types.h:871
Combine for reliability.
Definition: types.h:440
#define SPEEDIFYSDK_MAX_PROXY_PORTS
Maximum number of ports returned.
Definition: sdkdefines.h:65
Connecting.
Definition: types.h:275
uint16_t minor
Minor version.
Definition: types.h:65
const char * SpeedifySDK_ServerInformation_toString(SpeedifySDK_ServerInformation server)
String representation of a SpeedifySDK_ServerInformation.
Definition: types.h:1554
Definition: types.h:1518
Definition: types.h:1498
Active but paused.
Definition: types.h:1735
char SpeedifySDK_HostnameString[SPEEDIFYSDK_MAX_HOSTNAME_LENGTH]
String representation of an IP address.
Definition: types.h:650
#define SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH
Length of the peer UUID field.
Definition: sdkdefines.h:144
#define SPEEDIFYSDK_MAX_LANGUAGE_LEN
Language id length.
Definition: sdkdefines.h:122
Cellular.
Definition: types.h:295
SpeedifySDK_ProxyMatchMode matchMode
How matches are handled.
Definition: types.h:1114
Transitional state as system automatically connects us to speed server.
Definition: types.h:92
Daemon stopped cleanly.
Definition: types.h:1388
Disconnected.
Definition: types.h:272
SpeedifySDK_StreamHealth health
Stream health.
Definition: types.h:1307
const char * SpeedifySDK_ServerInformationDetailed_toString(SpeedifySDK_ServerInformationDetailed server)
String representation of a SpeedifySDK_ServerInformationDetailed.
Tunnel timeout.
Definition: types.h:1394
SpeedifySDK_ConnectionPriority workingPriority
Effective priority of connections over this adapter.
Definition: types.h:408
uint16_t ipv6Count
Number of IPv6 addresses.
Definition: types.h:1130
Network Share Host.
Definition: types.h:310
double maxDownloadSpeed
maximum download speed this period, megabits per second
Definition: types.h:928
Definition: types.h:1509
An issue with the account being used.
Definition: types.h:1003
All networks are over data limit.
Definition: types.h:1729
uint16_t perConnectionExposeDscpCount
Number of configured per-connection expose DSCP settings. Only supported on Linux.
Definition: types.h:602
uint32_t period
period the time period this stat covers, in hours, SPEEDIFYSDK_STAT_PERIOD_CURRENT for current,...
Definition: types.h:913
Definition: types.h:1514
A grouping of ConnectionStats.
Definition: types.h:816
Ethernet.
Definition: types.h:292
Network related error.
Definition: types.h:991
SpeedifySDK_PortProtocol
Protocol for ports.
Definition: types.h:480
Speedify settings.
Definition: types.h:557
const char * SpeedifySDK_ConnectionState_toString(SpeedifySDK_ConnectionState state)
String representation of a SpeedifySDK_ConnectionState.
Always use Multi TCP.
Definition: types.h:466
double averageDownloadSpeed
Average download speed of this stream, in megabits per second.
Definition: types.h:1292
int64_t overlimitRatelimit
Rate limit used when this adapter hits a daily or monthly limit. If 0, this adapter is no longer used...
Definition: types.h:369
bool perConnectionEncryptionEnabled
If per-connection encryption is being used.
Definition: types.h:592
Definition: types.h:1516
uint64_t bytesLastWeek
bytes used this week
Definition: types.h:1750
uint64_t totalRedundantModeSaves
Total number of saves while in redundant mode.
Definition: types.h:899
uint64_t totalSpeedModeSaves
Total number of saves while in speed mode.
Definition: types.h:896
Definition: types.h:1500
Info.
Definition: types.h:1440
uint16_t ipv6Count
Number of IPv6 addresses.
Definition: types.h:1173
bool haveAuthToken
If we have exchanged an auth token with the peer.
Definition: types.h:1788
double maxUploadSpeed
maximum upload speed this period, megabits per second
Definition: types.h:931
double lossSend
send loss ratio (0.0-1.0)
Definition: types.h:738
const char * SpeedifySDK_SpeedTestType_toString(SpeedifySDK_SpeedTestType type)
String representation of a SpeedifySDK_SpeedTestType.
int32_t filesPerDaemon
Number of log files allowed per SDK service instance.
Definition: types.h:1464
Definition: types.h:1512
SpeedifySDK_ProtocolPortPair SpeedifySDK_ForwardedPort
A forwarded port.
Definition: types.h:508
uint64_t receiveBytes
bytes received
Definition: types.h:811
SpeedifySDK_TransportMode
Transport Protocol modes.
Definition: types.h:451
int32_t num
Chosen server number, if connectMethod is ACM_COUNTRYCITYSERVER or ACM_EXACT.
Definition: types.h:429
int64_t receiveBps
bits per second received through this tunnel.
Definition: types.h:777
const char * SpeedifySDK_TransportMode_toString(SpeedifySDK_TransportMode priority)
String representation of a SpeedifySDK_TransportMode.
uint64_t readQueue
Size of the read queue.
Definition: types.h:851
SpeedifySDK_BondingMode
Mode of the VPN tunnel.
Definition: types.h:434
SpeedifySDK_NetworkSharingPeerStatus peerStatus
status of this pure connection
Definition: types.h:1765
SpeedifySDK_ConnectionPriority priority
Priority of connections over this adapter.
Definition: types.h:393
Never use this connection.
Definition: types.h:337
SpeedifySDK_IPAddressString localIp
internet facing ip address of the adapter.
Definition: types.h:728
int64_t encryptedBytesSent
encrypted bytes sent this period
Definition: types.h:925
bool alwaysOnDiscovery
If discovery is always active.
Definition: types.h:1682
Unknown reason.
Definition: types.h:1361
A subnet.
Definition: types.h:513
Device reboot.
Definition: types.h:1370
Free/unpaid.
Definition: types.h:220
const char * SpeedifySDK_ServerInformation_GetCountryName(SpeedifySDK_ServerInformation server)
String representation of a SpeedifySDK_ServerInformation's country.
bool hostEnabled
if network sharing host is enabled
Definition: types.h:1667
bool ipLeakProtection
If IP Leak protection is enabled.
Definition: types.h:669
SpeedifySDK_AccountPaymentType paymentType
Payment status of this account.
Definition: types.h:258
int32_t jitterMs
Jitter, in milliseconds.
Definition: types.h:795
#define SPEEDIFYSDK_MAX_DATACENTER_LENGTH
Length of the data center field.
Definition: sdkdefines.h:154
SpeedifySDK_NetworkSharingConnectCode hostConnectCode
json data used for clients to manually connect to this host
Definition: types.h:1670
SpeedifySDK_BondingMode bondingMode
The current bonding mode.
Definition: types.h:571
#define SPEEDIFYSDK_MAX_APP_NAME_LENGTH
Maximum SDK App name length.
Definition: sdkdefines.h:131
#define SPEEDIFYSDK_MAX_FIREWALL_DOMAINS
Maximum number of domains returned.
Definition: sdkdefines.h:68
bool enabled
If the local proxy should be enabled.
Definition: types.h:1108
Bluetooth.
Definition: types.h:304
int32_t totalFiles
Total number of daemon log files to keep over all SDK service instances.
Definition: types.h:1470
Setting locked by server configuration.
Definition: types.h:1018
int64_t bytesAvailable
Bytes allowed per data period (typically a month) for this account. -1 for unlimited.
Definition: types.h:243
Definition: types.h:1505
int64_t usageMonthlyResetDay
Day of the month to reset monthly usage on. 0 for last 30 days.
Definition: types.h:360
uint64_t droppedIncoming
Number of incoming packets dropped.
Definition: types.h:854
SpeedifySDK_StreamHealth
Stream health indicator.
Definition: types.h:1246
Adapter setting for per-connection parallel sockets.
Definition: types.h:546
const char * SpeedifySDK_ServerInformationDetailed_GetCountryName(SpeedifySDK_ServerInformationDetailed server)
String representation of a SpeedifySDK_ServerInformationDetailed's country.
bool killswitch
If Internet Killswitch is enabled.
Definition: types.h:659
No error.
Definition: types.h:988
int64_t retransBytes
bytes retransmitted this period
Definition: types.h:943
int64_t bytesUsed
Bytes used this data period (typically a month) for this account.
Definition: types.h:246
int64_t testTime
time of the test, in seconds since epoch
Definition: types.h:1575
bool enableEsni
If ESNI is enabled for this domain.
Definition: types.h:1489
Domains and IP Addresses matched are sent over the VPN, all others are sent over the proxy.
Definition: types.h:1070
Use this connection if others are unavailable.
Definition: types.h:334
char SpeedifySDK_AppNameString[SPEEDIFYSDK_MAX_APP_NAME_LENGTH]
String representation of a SDK App name.
Definition: types.h:37
uint16_t domainWatchlistItemsCount
Number of watchlist items.
Definition: types.h:1144
uint16_t jitter
jitter during test in ms, only valid for streaming tests
Definition: types.h:1608
Transitional state as we log in.
Definition: types.h:86
#define SPEEDIFYSDK_MAX_DNS_COUNT
Maximum number of DNS addresses to configure.
Definition: sdkdefines.h:53
bool enableDefaultRoute
Whether the default route goes over the VPN tunnel.
Definition: types.h:624
Information about a network adapter.
Definition: types.h:375
Nothing to report.
Definition: types.h:1412
uint64_t bufferWaits
Number of buffer full waits.
Definition: types.h:845
uint16_t perConnectionParallelSocketsCount
Number of configured per-connection parallel socket settings.
Definition: types.h:609
uint64_t failoverSaves
Definition: types.h:1301
connected and authenticated
Definition: types.h:1696
const char * SpeedifySDK_ConnectionPriority_toString(SpeedifySDK_ConnectionPriority priority)
String representation of a SpeedifySDK_ConnectionPriority.
Server that supports P2P/BitTorrent.
Definition: types.h:130
Definition: types.h:1511
int64_t encryptedBytesReceived
encrypted bytes received this period
Definition: types.h:922
int64_t sessionEnd
Time of the disconnect, in seconds since epoch. If 0, there has been no disconnect event to report....
Definition: types.h:1425
double uploadSpeed
Current upload speed of this stream, in megabits per second.
Definition: types.h:1283
uint64_t bytesToday
bytes used today
Definition: types.h:1747
Adapter setting for per-connection expose DSCP.
Definition: types.h:535
uint16_t major
Major version.
Definition: types.h:62
#define SPEEDIFYSDK_MAX_WATCHLIST_ITEMS
Maximum number of domain watchlist items.
Definition: sdkdefines.h:77
Combine for speed.
Definition: types.h:437
Intelligently choose between available protocols.
Definition: types.h:460
Definition: types.h:1553
bool isPremium
Whether this is a premium-only server.
Definition: types.h:169
uint16_t domainsCount
Number of domains.
Definition: types.h:1117
uint16_t latency
baseline latency in ms
Definition: types.h:1611
bool allowed
If this connection is allowed.
Definition: types.h:1771
uint64_t packetsIn
Number of packets going into packethandler (upload)
Definition: types.h:862
User initiated.
Definition: types.h:1382
#define SPEEDIFYSDK_MAX_EMAIL
Email length.
Definition: sdkdefines.h:32
uint64_t bytesIn
Number of bytes going into packethandler (upload)
Definition: types.h:868
uint64_t packetsIn
Number of packets read from TUN.
Definition: types.h:833
SpeedifySDK_SafeBrowsingLogLevel
Log levels in the SDK.
Definition: types.h:1538
On a safe network, determined by safe browsing.
Definition: types.h:1409
Network sharing connection.
Definition: types.h:1762
uint64_t speedModeSaves
Number of saves while in speed mode.
Definition: types.h:1298
SpeedifySDK_DisconnectReason disconnectReason
Reason for the disconnect.
Definition: types.h:1421
#define SPEEDIFYSDK_MAX_WATCHLIST_TITLE
Maximum title length of domain watchlist item.
Definition: sdkdefines.h:80
Error opening or configuring the VPN adapter.
Definition: types.h:1012
bool startupConnect
If Speedify will automatically connect when the daemon starts.
Definition: types.h:574
All available adapters are overlimit, VPN still in connected state.
Definition: types.h:104
SpeedifySDK_NetworkSharingTunnelStatus tunnelStatus
status of the tunnel connection with this peer
Definition: types.h:1768
#define SPEEDIFYSDK_MAX_DOWNSTREAM_SUBNETS
Maximum number of subnets supported.
Definition: sdkdefines.h:41
Automatic server selection method settings.
Definition: types.h:417
Directory settings.
Definition: types.h:1482
Last server connected to.
Definition: types.h:127
Closest private server to user.
Definition: types.h:121
const char * SpeedifySDK_NetworkType_toString(SpeedifySDK_NetworkType type)
String representation of a SpeedifySDK_NetworkType.
const char * SpeedifySDK_ServerInformation_GetCityName(SpeedifySDK_ServerInformation server)
String representation of a SpeedifySDK_ServerInformation's city.
SpeedifySDK_IPAddressString remoteIp
The remote ip that this stream is connected to.
Definition: types.h:1310
char SpeedifySDK_NetworkSharingDisplayName[SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH]
The public display name for this device.
Definition: types.h:1622
#define SPEEDIFYSDK_MAX_DIRECTORY_DOMAIN
Length of directory server domain.
Definition: sdkdefines.h:47
#define SPEEDIFYSDK_MAX_STREAMS
Maximum number of streams returns in a stats result.
Definition: sdkdefines.h:86
Transitional state as we connect to speed server.
Definition: types.h:95
bool isAutoAccount
If this account is an automatically generated account.
Definition: types.h:240
Closest public or private server to user.
Definition: types.h:118
bool connected
is connected
Definition: types.h:711
#define SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH
Maxmimum size of network sharing connect code.
Definition: sdkdefines.h:138
bool badCpu
Indicator of high CPU usage on the system, greater than 90%. Only tracked while active streams are ru...
Definition: types.h:1347
SpeedifySDK_NetworkType
Type of network adapter.
Definition: types.h:286
SpeedifySDK_SafeBrowsingSafeNetworkOverride
Override safe network decisions.
Definition: types.h:1551
bool supportsHost
If this peer supports being a host.
Definition: types.h:1791
Fail open error.
Definition: types.h:1504
uint32_t maximumTransportRetry
maximum time between transport connection retries, in seconds
Definition: types.h:645
uint16_t bugfix
Bugfix version.
Definition: types.h:68
bool exposed
If DSCP is exposed.
Definition: types.h:541
not authenticated
Definition: types.h:1726
SpeedifySDK_NetworkSharingDisplayName displayName
The public display name for this device.
Definition: types.h:1673
bool enabled
If the domains in this watchlist should be added to the local proxy filter.
Definition: types.h:1088
Completely disconnected and unathenticated. Need to login() to do anything.
Definition: types.h:83
SpeedifySDK_IPAddressString address
IP address.
Definition: types.h:516
SpeedifySDK_ProtocolPortPair SpeedifySDK_StreamingPort
A streaming port.
Definition: types.h:1153
const char * SpeedifySDK_SafeBrowsing_SafeNetworkOverride_toString(SpeedifySDK_SafeBrowsingSafeNetworkOverride level)
active tunnels
Definition: types.h:1711
Definition: types.h:1526
#define SPEEDIFYSDK_MAX_STREAM_RESOLUTION_LENGTH
Maximum streaming resolution length.
Definition: sdkdefines.h:128
Connect using the current selection setting, but choose a different server instance than the one last...
Definition: types.h:145
int64_t usageDailyBoost
Extra Bytes allowed over this adapter today. This value resets to 0 every day.
Definition: types.h:366
VPN.
Definition: types.h:298
int64_t inFlight
bytes currently in flight
Definition: types.h:703
SpeedifySDK_ConnectionPriority
How a connection should be combined.
Definition: types.h:321
no networks available
Definition: types.h:1720
uint16_t ipv6Count
Number of IPv6 addresses.
Definition: types.h:1229
double mbpsUpBenefit
extra upload bandwidth acheived this period, in megabits per second
Definition: types.h:955
Always use this connection.
Definition: types.h:326
uint64_t totalStreams
Total number of streams seen.
Definition: types.h:902
double lossReceive
receive loss ratio (0.0-1.0)
Definition: types.h:733
Definition: types.h:1563
Streaming mode stats.
Definition: types.h:1326
Definition: types.h:1541
const char * SpeedifySDK_AutoConnectMethod_toString(SpeedifySDK_AutoConnectMethod method)
String representation of a SpeedifySDK_AutoConnectMethod.
SpeedifySDK_TransportMode transportMode
Currently used connection transport mode selection.
Definition: types.h:577
SpeedifySDK_NetworkSharingPeerStatus
Status of a NetworkSharing Peer Connection.
Definition: types.h:1687
SpeedifySDK_IPAddressString privateIp
local ip address of the adapter.
Definition: types.h:747
int64_t usageDailyLimit
Bytes allowed over this adapter in a single day. 0 for unlimited.
Definition: types.h:363
Transitional state as we disconnect from speed server.
Definition: types.h:98
Network Share Client.
Definition: types.h:307
SpeedifySDK_IPAddressString ip
IP address of the speedify daemon to connect to.
Definition: types.h:48
uint16_t ipv4Count
Number of IPv4 addresses.
Definition: types.h:1222
Let Speedify manage the priority.
Definition: types.h:340
SpeedifySDK_ErrorType
Type classification for errors.
Definition: types.h:985
SpeedifySDK_ProxyMatchMode
How local proxy treats matches.
Definition: types.h:1064
uint32_t maximumConnectRetry
maximum time between login/connect retries, in seconds
Definition: types.h:642
int64_t rateLimit
Speed limit, in bits per second. Or zero if unlimited.
Definition: types.h:402
int64_t periodStartTime
start time of this period, in seconds since epoch
Definition: types.h:946
int64_t usageDaily
Bytes used over this adapter today.
Definition: types.h:354
SpeedifySDK_TransportMode protocol
protocol used for the tunnel.
Definition: types.h:752
double downloadSpeed
tested download speed, bits per second
Definition: types.h:1587
uint64_t startTime
Time this stream started, seconds since epoch.
Definition: types.h:1280
SpeedifySDK_NetworkSharingPairRequestBehavior pairRequestBehavior
How pair requests are handled.
Definition: types.h:1676
const char * SpeedifySDK_ErrorType_toString(SpeedifySDK_ErrorType error)
String representation of a SpeedifySDK_ErrorType.
Stream may be encountering errors.
Definition: types.h:1254
#define SPEEDIFYSDK_MAX_STREAM_NAME_LEN
Maximum length of SpeedifySDK_StreamStats name field.
Definition: sdkdefines.h:89
SpeedifySDK_LogLevel logLevel
Minimim logging level to allow.
Definition: types.h:1476
By exact specific country/city/server.
Definition: types.h:139
uint16_t portsCount
Number of ports.
Definition: types.h:1180
bool torrentAllowed
Whether this server allows bittorrent/P2P.
Definition: types.h:172
const char * SpeedifySDK_State_toString(SpeedifySDK_State state)
String representation of a SpeedifySDK_State.
uint16_t portRangeEnd
End of port range. If this entry is a single port, then this is 0.
Definition: types.h:503
SpeedifySDK_NetworkSharingDisplayName displayName
The public display name.
Definition: types.h:1794
Domains and IP Addresses matched are sent over the proxy, all others are sent over the VPN.
Definition: types.h:1067
double uploadSpeed
tested upload speed, bits per second
Definition: types.h:1590
SpeedifySDK_LogLevel
Log levels in the SDK.
Definition: types.h:1434
general error
Definition: types.h:1723
SpeedifySDK_AppNameString name
Name of the SDK app, used for auto accounts.
Definition: types.h:45
SpeedifySDK_ProtocolPortPair SpeedifySDK_LocalProxyPort
A proxied port.
Definition: types.h:1078
bool isError
is this test errored
Definition: types.h:1593
char SpeedifySDK_NetworkSharingPeerUuid[SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH]
Peer UUID for network sharing peer data.
Definition: types.h:1625
double receiveEstimateMbps
estimated maximum megabits per second received.
Definition: types.h:789
unsigned long ulpReportIntervalSeconds
Represents the ULP reporting interval in seconds.
Definition: types.h:636
#define SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH
Maxmimum size a device's display name for pair and share discovery and advertisement.
Definition: sdkdefines.h:135
Firewall is disabled.
Definition: types.h:1192
Optimize for streaming.
Definition: types.h:443
const char * SpeedifySDK_BondingMode_toString(SpeedifySDK_BondingMode priority)
String representation of a SpeedifySDK_BondingMode.
const char * SpeedifySDK_NetworkSharingPeerStatus_toString(SpeedifySDK_NetworkSharingPeerStatus status)
String representation of a SpeedifySDK_NetworkSharingTunnelStatus.
bool jumboPackets
Whether to allow jumbo packets over the VPN tunnel.
Definition: types.h:560
uint16_t count
how many connections are in this group
Definition: types.h:822
uint16_t domainsCount
Number of domains.
Definition: types.h:1160
Matches are allowed through the VPN, all others are dropped.
Definition: types.h:1195
SpeedifySDK_ConnectionState
State of Speedify on a given connection (network adapter).
Definition: types.h:269
Network sharing usage data.
Definition: types.h:1744
uint64_t bytesLastMonth
bytes used this month
Definition: types.h:1753
uint16_t build
Build number.
Definition: types.h:71
#define SPEEDIFYSDK_MAX_COUNTRY_LEN
Country id length.
Definition: sdkdefines.h:23
Too many requests are being made by this device.
Definition: types.h:1006
Verbose.
Definition: types.h:1437
const char * SpeedifySDK_NetworkSharingTunnelStatus_toString(SpeedifySDK_NetworkSharingTunnelStatus status)
String representation of a SpeedifySDK_NetworkSharingTunnelStatus.
bool badLoss
Indicator of high loss, greater than 3%. Only tracked while active streams are running.
Definition: types.h:1339
uint16_t portsCount
Number of ports.
Definition: types.h:1236
uint64_t groupId
Group ID number of this stream.
Definition: types.h:1277
Setting locked by server configuration.
Definition: types.h:1052
host
Definition: types.h:1635
#define SPEEDIFYSDK_MAX_STREAMING_IPS
Maximum number of IPs returned.
Definition: sdkdefines.h:116
Stream has stopped.
Definition: types.h:1251
bool badMemory
Indicator of high memory usage on the system, greater than 90%. Only tracked while active streams are...
Definition: types.h:1351
uint8_t periodCount
Number of stat periods.
Definition: types.h:976
const char * SpeedifySDK_LogLevel_toString(SpeedifySDK_LogLevel level)
uint64_t duration
Time, in seconds, this stream has been active.
Definition: types.h:1271
Timeout initializing the connection.
Definition: types.h:1391
const char * SpeedifySDK_NetworkSharingPeerRole_toString(SpeedifySDK_NetworkSharingPeerRole role)
String representation of a SpeedifySDK_NetworkSharingPeerRole.
uint32_t numberOfSockets
Number of active sockets for this connection.
Definition: types.h:758
int64_t sessionLength
Length of the session in seconds.
Definition: types.h:1428
uint64_t totalFailoverSaves
Total number of saves from a failover.
Definition: types.h:893
Statistics for sessions over various time periods.
Definition: types.h:973
#define SPEEDIFYSDK_MAX_FORWARD_PORTS
Forwarded ports supported.
Definition: sdkdefines.h:38
uint64_t bytesOut
Number of bytes written to TUN.
Definition: types.h:842
The connection is disconnected.
Definition: types.h:1690
Stream is in good health.
Definition: types.h:1257
disallowed on host
Definition: types.h:1717
#define SPEEDIFYSDK_MAX_ERROR_STRING
Length of an error message.
Definition: sdkdefines.h:14
#define SPEEDIFYSDK_MAX_PROTOCOL_LENGTH
Length of the protocol field.
Definition: sdkdefines.h:160
The provided OAUTH token is expired.
Definition: types.h:1009
bool requestToDisableDoH
Whether DoH is requested to be disabled.
Definition: types.h:689
Definition: types.h:1562
SpeedifySDK_FirewallMode
How firewall treats matches.
Definition: types.h:1189
SpeedifySDK_PortProtocol protocol
Transport layer protocol.
Definition: types.h:497
SpeedifySDK_NetworkSharingUsage usage
usage over this connection
Definition: types.h:1774
SpeedifySDK_HostnameString hostname
The hostname of the service that this stream is connected to.
Definition: types.h:1320
char SpeedifySDK_NetworkSharingConnectCode[SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH]
Connect code for network sharing.
Definition: types.h:1619
uint64_t packetsOut
Number of packets leaving packethandler (download)
Definition: types.h:865
shared traffic. This is not valid for SpeedifySDK_SetConnectionTransportMode.
Definition: types.h:472
No network connectivity.
Definition: types.h:1364
bool enableAutomaticPriority
If automatic connection priorites are enabled.
Definition: types.h:633
Definition: types.h:1532
Connect by automatic connection method.
Definition: types.h:133
Setting locked by account configuration.
Definition: types.h:1021
const char * SpeedifySDK_PortProtocol_toString(SpeedifySDK_PortProtocol portProto)
String representation of a SpeedifySDK_PortProtocol.
SpeedifySDK_NetworkSharingConnection peerAsClient
Status of the connection to the client peer.
Definition: types.h:1797
const char * SpeedifySDK_AccountPaymentType_toString(SpeedifySDK_AccountPaymentType paymentType)
String representation of a SpeedifySDK_AccountPaymentType.
const char * SpeedifySDK_DisconnectReason_toString(SpeedifySDK_DisconnectReason reason)
int32_t fileSize
Size of individual daemon log files, in bytes.
Definition: types.h:1458
const char * SpeedifySDK_ServerInformationDetailed_GetCityName(SpeedifySDK_ServerInformationDetailed server)
String representation of a SpeedifySDK_ServerInformationDetailed's city.
Contains stats regarding the packet handler, for use in session stats.
Definition: types.h:859
A callback is required for this call.
Definition: types.h:1039
SpeedifySDK_AutoConnectMethod connectMethod
Type of automatic selection used.
Definition: types.h:420
const char * SpeedifySDK_NetworkSharingPairRequestBehavior_toString(SpeedifySDK_NetworkSharingPairRequestBehavior behavior)
String representation of a SpeedifySDK_SpeedTestType.
Definition: types.h:1522
double loss
packet loss percent during test, only valid for streaming tests
Definition: types.h:1614
Local-proxy only connection.
Definition: types.h:142
Use this connection if others are full.
Definition: types.h:331
#define SPEEDIFYSDK_MAX_PROXY_IPS
Maximum number of IPs returned.
Definition: sdkdefines.h:62
Unable to connect to the local Speedify daemon.
Definition: types.h:107
SpeedifySDK_HandlerStats handlerStats
Contains stats regarding the packet handler this period.
Definition: types.h:961
SDK creation settings structure.
Definition: types.h:42
double averageUploadSpeed
Average upload speed of this stream, in megabits per second.
Definition: types.h:1289
Invalid credentials.
Definition: types.h:997
Privacy settings.
Definition: types.h:654
uint8_t prefixLength
network prefix length
Definition: types.h:519
int64_t numSessions
total number of sessions this period
Definition: types.h:940
Proxy-only. This is not valid for SpeedifySDK_SetConnectionTransportMode.
Definition: types.h:469
Fully authenticated, but not using a speed server. Ready to connect()
Definition: types.h:89
Adapter setting for per-connection encryption.
Definition: types.h:524
Definition: types.h:1530
uint16_t proxiedDomainsCount
Number of proxied domains.
Definition: types.h:1097
uint16_t portsCount
Number of ports.
Definition: types.h:1137
Closest public server to user.
Definition: types.h:124
Statistics for a period.
Definition: types.h:910
disallowed on client
Definition: types.h:1714
#define SPEEDIFYSDK_MAX_DOMAIN_LENGTH
Maximum length of domain to proxy.
Definition: sdkdefines.h:56
#define SPEEDIFYSDK_MAX_STREAMING_PORTS
Maximum number of ports returned.
Definition: sdkdefines.h:119
void SpeedifySDK_InitializeCreateSettings(SpeedifySDK_CreateSettings *settings)
Initialize an SpeedifySDK_CreateSettings object to defaults.
uint16_t port
Port number of the speedify daemon to connect to.
Definition: types.h:51
SpeedifySDK_BondingMode bondingMode
Bonding mode in use.
Definition: types.h:1329
#define SPEEDIFYSDK_MAX_STREAMING_DOMAINS
Maximum number of domains returned.
Definition: sdkdefines.h:113
SpeedifySDK_State
State of the VPN.
Definition: types.h:80
SpeedifySDK_ConnectionState state
State of the connection over this adapter.
Definition: types.h:387
int num
Server number. Each specific server in an area is given a number unique to that region,...
Definition: types.h:163
The device limit has been reached.
Definition: types.h:1015
int64_t inFlightWindow
inflight window, bytes
Definition: types.h:708
int64_t totalConnectedMinutes
minutes connected, this period
Definition: types.h:949
int64_t numFailovers
connection failovers this period
Definition: types.h:937
automatically reject
Definition: types.h:1652
By specific country/city/server.
Definition: types.h:136
bool badLatency
Indicator of high latency, greater than 300ms. Only tracked while active streams are running.
Definition: types.h:1343
Definition: types.h:1510
bool dnsLeakProtection
If DNS Leak protection is enabled.
Definition: types.h:664
Definition: types.h:1543
Contains stats regarding the captive portal.
Definition: types.h:879
Version structure.
Definition: types.h:59
bool isTeam
If this user is a teams member.
Definition: types.h:249
int64_t latencyMs
latency, milliseconds
Definition: types.h:741
No active tunnels.
Definition: types.h:1708
uint16_t ipv4Count
Number of IPv4 addresses.
Definition: types.h:1123
SpeedifySDK_ServerInformation SpeedifySDK_ServerInformationDetailed
Information about a.
Definition: types.h:188
#define SPEEDIFYSDK_MAX_WATCHLIST_DOMAINS
Maximum number of domains in a watchlist item.
Definition: sdkdefines.h:83
Setting locked by account configuration.
Definition: types.h:1056
Information about a disconnect event.
Definition: types.h:1418
Contains session stats regarding streaming mode.
Definition: types.h:890
#define SPEEDIFYSDK_MAX_IP_STRING_LENGTH
IP string length.
Definition: sdkdefines.h:44
Result is an async call SDK. Not an error.
Definition: types.h:1027
char SpeedifySDK_DomainString[SPEEDIFYSDK_MAX_DOMAIN_LENGTH]
String representation of a domain or hostname.
Definition: types.h:32
Really connected to a speed server.
Definition: types.h:101
SpeedifySDK_CaptivePortalStats captivePortalStats
Contains stats regarding captive portals this period.
Definition: types.h:964
bool autoReconnect
If its peer will be automatically reconnected one seen on the network.
Definition: types.h:1785
int64_t sendBps
bits per second sent through this tunnel.
Definition: types.h:772
SpeedifySDK_NetworkSharingPeerUuid uuid
UUID of the peer.
Definition: types.h:1782
Wi-Fi.
Definition: types.h:289
Device sleep.
Definition: types.h:1379
Settings for the priority streaming.
Definition: types.h:1157
uint16_t downstreamSubnetsCount
Number of configured downstream subnets.
Definition: types.h:586
uint64_t id
ID number of this stream.
Definition: types.h:1274
Detailed information about a server.
Definition: types.h:154
Results of a speed test.
Definition: types.h:1572
uint32_t maxRedundant
The maximum number of connections used to send redundant packets.
Definition: types.h:639
uint32_t streamsCount
Number of streams in this result.
Definition: types.h:1332
uint64_t uniqueSaves
Unique streams saved.
Definition: types.h:905
Airplane mode activated, or no networks available.
Definition: types.h:1367
uint16_t ipv4Count
Number of IPv4 addresses.
Definition: types.h:1166
#define SPEEDIFYSDK_MAX_FIREWALL_IPS
Maximum number of IPs returned.
Definition: sdkdefines.h:71
int32_t daysSinceFirst
days since first connection
Definition: types.h:934
#define SPEEDIFYSDK_MAX_IP_COUNT
Maximum number of IPs on a server.
Definition: sdkdefines.h:50
Always use UDP.
Definition: types.h:457
#define SPEEDIFYSDK_MAX_STATS_PERIODS
Maximum number of stat periods requested.
Definition: sdkdefines.h:95
bool headerCompression
Whether header compression is enabled.
Definition: types.h:627
int32_t minutesAvailable
Minutes allowed per data period (typically a month) for this account. -1 for unlimited.
Definition: types.h:252
Local proxy domain watchlist item.
Definition: types.h:1082
An invalid argument was supplied.
Definition: types.h:1024
int64_t usageMonthly
Bytes used over this adapter in current month period.
Definition: types.h:351
uint16_t portsCount
Number of configured ports to forward.
Definition: types.h:580
Platform does not support this call.
Definition: types.h:1042
Definition: types.h:1507
uint64_t detections
Captive portal detections.
Definition: types.h:882
uint64_t bytesIn
Number of bytes read from TUN.
Definition: types.h:839
double downloadSpeed
Current download speed of this stream, in megabits per second.
Definition: types.h:1286
Definition: types.h:1539
client
Definition: types.h:1632
uint64_t redundantModeSaves
Number of saves while in redundant mode.
Definition: types.h:1295
uint64_t sendBytes
bytes sent
Definition: types.h:806
uint64_t successes
Successful captive portal logins.
Definition: types.h:885
VPN tunnel blocked.
Definition: types.h:1403
bool allowChaChaEncryption
Whether the use of ChaCha is allowed for connection encryption.
Definition: types.h:568
double mbpsDownBenefit
extra download bandwidth acheived this period, in megabits per second
Definition: types.h:952
SpeedifySDK_SpeedTestType
Internal speed test types.
Definition: types.h:1561
An error occurred on the server.
Definition: types.h:994
Automatic disconnect from torrent activity.
Definition: types.h:1385
A protocol/port pair.
Definition: types.h:494
int64_t usageMonthlyLimit
Bytes allowed over this adapter in current month period. 0 for unlimited.
Definition: types.h:357
Warning.
Definition: types.h:1443
Information about the data usage and limits of a network adapter.
Definition: types.h:348
Matches are dropped, all others are allowed through the VPN.
Definition: types.h:1198
SpeedifySDK_StreamingSessionStats streamingStats
Contains stats regarding streaming mode this period.
Definition: types.h:967
Represents a network share peer.
Definition: types.h:1779
float mos
Mean Opinion Score, 1-5.
Definition: types.h:801
Definition: types.h:1552
SpeedifySDK_NetworkSharingPairRequestBehavior
pair request behavior types
Definition: types.h:1643
bool doNotStoreCredentials
If credentials, including oauth tokens and passwords, are not stored locally.
Definition: types.h:684
Settings for logging in the daemon.
Definition: types.h:1452
Daemon crash.
Definition: types.h:1376
bool isPrivate
Whether this is a private or public server.
Definition: types.h:166
Definition: types.h:1545
SpeedifySDK_TunStats tunStats
Contains stats regarding the TUN this period.
Definition: types.h:958
connected, but not authenticated
Definition: types.h:1693
bool active
If this stream is currently active.
Definition: types.h:1268
#define SPEEDIFYSDK_MAX_ADAPTERS
Simultaneous adapters supported.
Definition: sdkdefines.h:17
automatically accept
Definition: types.h:1649
uint64_t retries
Number of packets retries.
Definition: types.h:874
Directory list was empty.
Definition: types.h:1000
bool encrypted
If encryption is enabled.
Definition: types.h:530
No connection to the Speedify daemon.
Definition: types.h:1045
Loopback.
Definition: types.h:301
bool packetAggregation
Whether packet aggregation is enabled.
Definition: types.h:621
SpeedifySDK_IPAddressString remoteIp
internet facing ip address of the tunnel.
Definition: types.h:764
char SpeedifySDK_IPAddressString[SPEEDIFYSDK_MAX_IP_STRING_LENGTH]
String representation of an IP address.
Definition: types.h:27